Release v0.2.0 — aligned_lambdas (#94) + version bump + changelog - #161
Merged
Merged
Conversation
Adds proxy-eigenvalue correspondence for Procrustes-aligned gradients, the last unaddressed item from #94: - procrustes() gains return_transform=True - procrustes_alignment() gains return_transforms=True - ProcrustesAlignment now exposes transforms_ - New helper aligned_lambdas(lambdas, transform) using the largest |transform[i,j]| heuristic suggested by @OualidBenkarim - GradientMaps.aligned_lambdas_ exposes the per-dataset proxy lambdas Bumps version to 0.2.0 and writes a detailed CHANGELOG entry covering every change since 0.1.22 (issues, packaging, CI, docs, tests, MATLAB fix). 165 tests passing, 76% line coverage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Final release PR. Closes #94 with a real API and bumps the version.
What's new in this PR
Resolves #94
The MATLAB sqrt(N) cap mentioned in #94 was already fixed in #142. This PR adds the second piece — proxy lambdas for aligned gradients:
procrustes(..., return_transform=True)returns the rotation matrix.procrustes_alignment(..., return_transforms=True)returns per-dataset rotations.ProcrustesAlignmentnow exposestransforms_.aligned_lambdas(lambdas, transform)implements the largest-|transform[i,j]| heuristic suggested by @OualidBenkarim in the issue thread.GradientMaps.aligned_lambdas_is populated automatically whenalignment='procrustes'is used.Release v0.2.0
_version.py→ 0.2.0CHANGELOG.txtrewritten with a full inventory of changes since 0.1.22: issues [Python] Workaround for plotting on remote server. #66, How can I obtain the lambda values corresponding to the aligned gradient map #94, Use diffusion_mapping in MATLAB and got complex number in the eigvalue #98, removed valueError for nonzero eigenvalues #112, feat: enable Qt backend for image rendering #136, Support path-like inputs in GradientMaps.fit() #140 plus packaging refresh, CI modernization, validation consistency, Dockerfile, community files, MATLAB diffusion fix..gitignoreignores coverage artifacts.System recheck
pytest --cov=brainspace).python -m buildproduces a clean sdist + wheel.Test plan
brainspace-0.2.0.tar.gz,brainspace-0.2.0-py3-none-any.whl).v0.2.0after merge to triggertagged_release.yml(publishes to PyPI).