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

Deprecate 3 as the default number of components in FPCA #510

Merged
merged 4 commits into from
Feb 20, 2023

Conversation

Ddelval
Copy link
Contributor

@Ddelval Ddelval commented Feb 1, 2023

As outlined in #507, when the number of components is not specified, all components should be extracted. A deprecation warning has been added to alert the users that were relying on the default value of components being 3. The documentation has also been updated accordingly.

This change is only to circunvent the deprecation warning
added to the constructor of FPCA regarding the default
number of components
@codecov
Copy link

codecov bot commented Feb 1, 2023

Codecov Report

Base: 85.53% // Head: 85.51% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (911ec84) compared to base (e69154b).
Patch coverage: 71.42% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #510      +/-   ##
===========================================
- Coverage    85.53%   85.51%   -0.02%     
===========================================
  Files          141      141              
  Lines        11280    11284       +4     
===========================================
+ Hits          9648     9650       +2     
- Misses        1632     1634       +2     
Impacted Files Coverage Δ
skfda/preprocessing/dim_reduction/_fpca.py 89.92% <60.00%> (-1.28%) ⬇️
skfda/tests/test_fpca.py 99.32% <100.00%> (ø)

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.

skfda/preprocessing/dim_reduction/_fpca.py Outdated Show resolved Hide resolved
skfda/preprocessing/dim_reduction/_fpca.py Outdated Show resolved Hide resolved
@Ddelval Ddelval requested a review from vnmabus February 17, 2023 22:13
@vnmabus vnmabus merged commit a3e8e0c into develop Feb 20, 2023
@vnmabus vnmabus deleted the hotfix/n_componentsFPCA branch August 17, 2023 10:57
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.

2 participants