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(cross): correct saving and loading of CPCCA and Rotator models #225

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

nicrie
Copy link
Contributor

@nicrie nicrie commented Sep 12, 2024

Add sample_name and feature_name to the serialization attributes of CPCCA and CPCCARotator models which are needed for some methods (e.g. squared_covariance_fraction()).

Additionally, fix a bug that resulted in an error when components_amplitude() was called on a saved model which was loaded lazily.

Closes #224

@nicrie nicrie changed the base branch from main to develop September 12, 2024 23:33
@nicrie nicrie merged commit 7cba749 into develop Sep 12, 2024
11 checks passed
@nicrie nicrie deleted the fix-mca-load branch September 12, 2024 23:47
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.

AttributeError: 'HilbertMCARotator' object has no attribute 'sample_name'
1 participant