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

solve tests for soft-sort / unb. Bures + add xlim/ylim options in plot #610

Merged
merged 7 commits into from
Feb 12, 2025

Conversation

marcocuturi
Copy link
Contributor

@marcocuturi marcocuturi commented Feb 11, 2025

minor fixes to solve some of the tests failing due to errors, notable test_ranks and test_bures_point_cloud

test_ranks fixed due to overzealous tolerance (soft ranks are reals in [0,n-1] for a vector of size n, that should look like corresponding integers, but cannot in general, due to regularization and in other scenarios where there is a number of targets that's different from n, be that close)

test_bures_point_cloud : the order of magnitude of covariance matrices was too large, with dets in the thousands, which resulted in numerical instability.

also adds ability to set static xlim and ylim in plot tool to set a scale when using animations.

@marcocuturi marcocuturi changed the title solve tests for soft-sort / add xlim/ylim options in plot solve tests for soft-sort / unb. Bures + add xlim/ylim options in plot Feb 12, 2025
@marcocuturi
Copy link
Contributor Author

a few more tests are failing, but merging for now.

@marcocuturi marcocuturi merged commit 80b4e00 into main Feb 12, 2025
4 of 12 checks passed
@marcocuturi marcocuturi deleted the tests branch February 12, 2025 22:24
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.

1 participant