Skip to content

Commit

Permalink
New commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aleexarias committed Nov 15, 2024
1 parent 0ea1472 commit 436c23a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions examples/plot_fpca.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,9 @@
fpca = FPCA(n_components=2, components_basis=MonomialBasis(n_basis=4))
fpca.fit(basis_fd)
fpca.components_.plot()

# %%
# References
# ----------
#
# .. footbibliography::
3 changes: 2 additions & 1 deletion skfda/preprocessing/dim_reduction/_fpca.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 436c23a

Please sign in to comment.