-
Notifications
You must be signed in to change notification settings - Fork 18
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
👌 More robust covariance_matrix calculation #706
Conversation
Codecov Report
@@ Coverage Diff @@
## main #706 +/- ##
=====================================
Coverage 81.7% 81.7%
=====================================
Files 79 79
Lines 3921 3921
Branches 689 689
=====================================
Hits 3206 3206
Misses 595 595
Partials 120 120
Continue to review full report at Codecov.
|
Also if we would refactor |
We will have to dive a little deeper this time and not only check if the examples run, but how they run (minimization pathway) and compare the two. |
The parameters needed to run the benchmark were extracted from a previous run of IntegrationTwoDatasets.time_optimize()
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 1.97%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Benchmark is done. Checkout the benchmark result page. Benchmark diff
|
Kudos, SonarCloud Quality Gate passed! |
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.
Tested ok!
Upgraded Development Status to Beta Standardized Glotaran and pyglotaran spelling - GloTarAn (*Glo*bal *Tar*get *An*alysis) -> Glotaran - pyGloTarAn -> pyglotaran - pyglotaran_examples -> pyglotaran-examples (the repo) Clean up references on Authors page Changed URLs from http to https where possible Moved some notes on robust covarience matrix calculation to PR glotaran#706
* 🩹 Fixed old/broken link to docs * ⬆️ Removed '.dev' from __version__ Note for tests to work locally you need to reinstall pyglotaran (pip install -e .) * 👌 Changed HISTORY.rst to changelog.md and added myst-parser For the docs to build locally you ned to install the updated requirements (pip install -r docs/requirements.txt) * 👌 Updated changelog * Polish up for 0.4.0 release Upgraded Development Status to Beta Standardized Glotaran and pyglotaran spelling - GloTarAn (*Glo*bal *Tar*get *An*alysis) -> Glotaran - pyGloTarAn -> pyglotaran - pyglotaran_examples -> pyglotaran-examples (the repo) Clean up references on Authors page Changed URLs from http to https where possible Moved some notes on robust covarience matrix calculation to PR #706 Co-authored-by: Joris Snellenburg <jsnel@users.noreply.github.com>
Follow up PR for #704 , which implements a more robust calculation of the
covariance_matrix
for results.Change summary
glotaran.analysis.optimize._create_result
covariance_matrix
Not sure what was up with the calculation of the mask in the original StackOverflow answer
So I changed it to
which should be sufficient to prevent
ZeroDivisionError
.If any of you can think of a reason why the biggest singular value and the shape of the jacobian might be of importance to create a filter mask please tell me 😄
Checklist