Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FPCA grid implementation with regularization #485

Merged
merged 8 commits into from
Jan 10, 2023

Conversation

Ddelval
Copy link
Contributor

@Ddelval Ddelval commented Oct 12, 2022

It has not been fixed completely, as there seems to be an issue with the penalization factor. However, now the components obtained are not orthogonal.

This was achieved by performing Cholesky decomposition. In doing this Cholesky decomposition, we can change the data to a new basis before fitting it and undo the change after calling the multivariate PCA.

In doing this Cholesky decomposition, we can change the
data to a new basis before fitting it and undo the change
after calling to multivariate PCA.
@Ddelval Ddelval linked an issue Nov 18, 2022 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Jan 8, 2023

Codecov Report

Base: 85.52% // Head: 85.53% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (de0f768) compared to base (5250ecf).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #485   +/-   ##
========================================
  Coverage    85.52%   85.53%           
========================================
  Files          141      141           
  Lines        11277    11280    +3     
========================================
+ Hits          9645     9648    +3     
  Misses        1632     1632           
Impacted Files Coverage Δ
skfda/preprocessing/dim_reduction/_fpca.py 91.20% <100.00%> (+0.21%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vnmabus
Copy link
Member

vnmabus commented Jan 10, 2023

Is this still a draft?

@Ddelval Ddelval marked this pull request as ready for review January 10, 2023 10:33
@Ddelval
Copy link
Contributor Author

Ddelval commented Jan 10, 2023

@vnmabus, I just forgot to mark it as ready for review.

Copy link
Member

@vnmabus vnmabus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vnmabus vnmabus merged commit 05a35df into develop Jan 10, 2023
@vnmabus vnmabus deleted the feature/FPCA_grid_regularization_fixes branch August 17, 2023 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix regularized FPCA with FDataGrid
2 participants