diff --git a/examples/plot_fpca.py b/examples/plot_fpca.py index 7e74a56f6..9b4740cc9 100644 --- a/examples/plot_fpca.py +++ b/examples/plot_fpca.py @@ -122,3 +122,9 @@ fpca = FPCA(n_components=2, components_basis=MonomialBasis(n_basis=4)) fpca.fit(basis_fd) fpca.components_.plot() + +# %% +# References +# ---------- +# +# .. footbibliography:: diff --git a/skfda/preprocessing/dim_reduction/_fpca.py b/skfda/preprocessing/dim_reduction/_fpca.py index f5bd57caa..3200d3093 100644 --- a/skfda/preprocessing/dim_reduction/_fpca.py +++ b/skfda/preprocessing/dim_reduction/_fpca.py @@ -32,7 +32,8 @@ class FPCA( # noqa: WPS230 (too many public attributes) when fitting a FDataBasis or FDataGrid, except for ``components_basis``. For more information about the implementation of the computation of the - first principal components see :footcite:ts:`silverman_2005_basisfuncexp`. + first principal components see + :footcite:ts:`ramsay+silverman_2005_basisfuncexp`. Parameters: n_components: Number of principal components to keep from