GAA-UAM / scikit-fda

Functional Data Analysis Python package
https://fda.readthedocs.io
BSD 3-Clause "New" or "Revised" License
301 stars 54 forks source link

FPCA import statement in gallery example #468

Closed fabian-sp closed 2 years ago

fabian-sp commented 2 years ago

Hi,

this is rather an FYI than a real issue, but in your example

https://fda.readthedocs.io/en/latest/auto_examples/plot_fpca_inverse_transform_outl_detection.html#sphx-glr-auto-examples-plot-fpca-inverse-transform-outl-detection-py

the import of FPCA , i.e.

from skfda.preprocessing.dim_reduction import FPCA

does not work with the current version from pip ( have version 0.7.1 installed). I had to run

from skfda.preprocessing.dim_reduction.feature_extraction import FPCA

instead. But the package is great to use and awesomely documented, thanks you!

Cheers, Fabian

vnmabus commented 2 years ago

This is similar to #448. You are looking at the "latest" documentation, that contains changes not yet released in PyPI, only available in the develop branch. You can look at the "stable" version for the last uploaded version.

That said, I plan to do a release in a few weeks, so the stable documentation will be updated accordingly.

vnmabus commented 2 years ago

BTW, thank you for reporting it anyway, rereading my comment it sounds a bit dry 😅.