-
Notifications
You must be signed in to change notification settings - Fork 82
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
Fix heat scaling #481
Fix heat scaling #481
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #481 +/- ##
=======================================
Coverage 90.53% 90.53%
=======================================
Files 60 60
Lines 6549 6549
Branches 933 933
=======================================
Hits 5929 5929
Misses 472 472
Partials 148 148
|
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.
Thanks a lot @guillaumehu , just minor comments!
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.
Thanks @guillaumehu , merging this!
Perfect @michalk8 , thank you for reviewing the PR! |
* scale for the eigval * eigval for comb. Lap. * add test for heat kernel * `t=eps/4.0` * formatting * atol rtol test `test_geometry_differentiability` * formatting & test `order` and `t`
@MUCDK noticed that the Chebyshev approximation was producing results different than another library.
This PR fixes the scaling of the eigenvalue needed to compute the coefficients of the polynomials. There was also a problem with the eigenvalue of the rescaled Laplacian; we computed the coefficients with the eigenvalue prior to the rescaling. We now use the eigenvalue of the rescaled Laplacian (always equal to
2.0
) .Now we also test if the approximated heat kernel is close to the ground truth one.