-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
There was a problem hiding this 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) |
There was a problem hiding this comment.
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. 🚨 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@show typeof(projection.parameters.direction) |
No description provided.