From 436c23af8e7538ee90e7a1bbca3afba525c6e914 Mon Sep 17 00:00:00 2001 From: aleexarias Date: Fri, 15 Nov 2024 11:20:01 +0100 Subject: [PATCH] New commit --- examples/plot_fpca.py | 6 ++++++ skfda/preprocessing/dim_reduction/_fpca.py | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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