Skip to content

fix(cross): correct saving and loading of CPCCA and Rotator models#225

Merged
nicrie merged 3 commits intodevelopfrom
fix-mca-load
Sep 12, 2024
Merged

fix(cross): correct saving and loading of CPCCA and Rotator models#225
nicrie merged 3 commits intodevelopfrom
fix-mca-load

Conversation

@nicrie
Copy link
Copy Markdown
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
@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