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

feat(breaking): update to Manopt 0.5 #40

Merged
merged 7 commits into from
Nov 21, 2024
Merged

feat(breaking): update to Manopt 0.5 #40

merged 7 commits into from
Nov 21, 2024

Conversation

Nimrais
Copy link
Member

@Nimrais Nimrais commented Oct 28, 2024

No description provided.

@Nimrais Nimrais requested a review from bvdmitri October 28, 2024 12:30
Copy link
Member

@bvdmitri bvdmitri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use new API from Manopt where we no longer need to pass manifold as an argument + tests are failing

@@ -518,7 +518,7 @@ end
nothing,
)
initialpoint = rand(manifold)
direction = MomentumGradient(manifold, initialpoint)
direction = Manopt.MomentumGradientRule(manifold; p=initialpoint)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the new Manopt doesn't require manifold as an argument? I think we can use the better improved API

@Nimrais Nimrais changed the title fead(breaking): update to Manopt 0.5 feat(breaking): update to Manopt 0.5 Nov 21, 2024
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.23%. Comparing base (a368d5a) to head (10cfbd9).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
- Coverage   99.24%   99.23%   -0.01%     
==========================================
  Files           7        7              
  Lines         264      263       -1     
==========================================
- Hits          262      261       -1     
  Misses          2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@@ -557,5 +557,6 @@ end

@test approximated isa MvNormalMeanCovariance
@test kldivergence(approximated, true_dist) < 0.01 # Ensure good approximation
@test projection.parameters.direction isa MomentumGradient
@show typeof(projection.parameters.direction)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@show typeof(projection.parameters.direction)

@bvdmitri bvdmitri merged commit bc21474 into main Nov 21, 2024
4 checks passed
@bvdmitri bvdmitri deleted the update-deps branch November 21, 2024 20:15
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