GAA-UAM / scikit-fda

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

PLS dimensionality reduction and regression implementation #538

Closed Ddelval closed 1 year ago

Ddelval commented 1 year ago

PLS implementation based on NIPALS that accepts functional or multivariate data both as the regressor and as the response. Additionally, regularisation has been implemented for both the dimensionality reduction method and the regression. However, it is not available in the regression with functional response.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 96.65% and project coverage change: +0.37 :tada:

Comparison is base (c40e372) 85.77% compared to head (beeb58c) 86.15%.

:exclamation: Current head beeb58c differs from pull request most recent head 0dab123. Consider uploading reports for the commit 0dab123 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #538 +/- ## =========================================== + Coverage 85.77% 86.15% +0.37% =========================================== Files 145 149 +4 Lines 11500 11908 +408 =========================================== + Hits 9864 10259 +395 - Misses 1636 1649 +13 ``` | [Impacted Files](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM) | Coverage Δ | | |---|---|---| | [skfda/inference/anova/\_anova\_oneway.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvaW5mZXJlbmNlL2Fub3ZhL19hbm92YV9vbmV3YXkucHk=) | `89.15% <ø> (ø)` | | | [skfda/misc/metrics/\_fisher\_rao.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvbWlzYy9tZXRyaWNzL19maXNoZXJfcmFvLnB5) | `98.78% <ø> (ø)` | | | [skfda/misc/operators/\_srvf.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvbWlzYy9vcGVyYXRvcnMvX3NydmYucHk=) | `95.91% <ø> (ø)` | | | [skfda/ml/classification/\_logistic\_regression.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvbWwvY2xhc3NpZmljYXRpb24vX2xvZ2lzdGljX3JlZ3Jlc3Npb24ucHk=) | `86.41% <ø> (ø)` | | | [skfda/preprocessing/registration/\_fisher\_rao.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvcHJlcHJvY2Vzc2luZy9yZWdpc3RyYXRpb24vX2Zpc2hlcl9yYW8ucHk=) | `96.96% <ø> (ø)` | | | [skfda/preprocessing/registration/validation.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvcHJlcHJvY2Vzc2luZy9yZWdpc3RyYXRpb24vdmFsaWRhdGlvbi5weQ==) | `98.78% <ø> (ø)` | | | [skfda/representation/basis/\_custom\_basis.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvcmVwcmVzZW50YXRpb24vYmFzaXMvX2N1c3RvbV9iYXNpcy5weQ==) | `86.25% <ø> (ø)` | | | [skfda/preprocessing/dim\_reduction/\_fpls.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvcHJlcHJvY2Vzc2luZy9kaW1fcmVkdWN0aW9uL19mcGxzLnB5) | `93.02% <93.02%> (ø)` | | | [skfda/ml/regression/\_fpls\_regression.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvbWwvcmVncmVzc2lvbi9fZnBsc19yZWdyZXNzaW9uLnB5) | `100.00% <100.00%> (ø)` | | | [skfda/preprocessing/missing/\_interpolate.py](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM#diff-c2tmZGEvcHJlcHJvY2Vzc2luZy9taXNzaW5nL19pbnRlcnBvbGF0ZS5weQ==) | `100.00% <100.00%> (ø)` | | | ... and [3 more](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM) | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/GAA-UAM/scikit-fda/pull/538/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GAA-UAM)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.