-
Notifications
You must be signed in to change notification settings - Fork 2
Add a log for the minimizers #59
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
d1cfb45
Minor type hint updates
santisoler 3b84e30
Add a `callback` argument to `GaussNewtonConjugateGradient`
santisoler f7b6509
Add a Log protocol
santisoler 175813f
Keep drafting a few ideas
santisoler 45e1944
Merge branch 'main' into minimizer-log
santisoler 20be4e2
Add a `get_minimizer_callback` method to Log
santisoler 2097582
Extend MinimizerLog and add a __rich__ method to it
santisoler 6ba91cd
Merge branch 'main' into minimizer-log
santisoler d62cc30
Merge branch 'main' into minimizer-log
santisoler 3488c21
Merge branch 'main' into minimizer-log
santisoler b87bc4f
Keep allocating the Rich table
santisoler b81e869
Add option to not log the minimzer
santisoler ab49b00
Make MinimizerResult a child of dict
santisoler acd1429
Clunky implementation of nested logs
santisoler ee856ed
Fix bug in how minimizer was creating the MinimizerResult
santisoler d6c63e5
Move minimizer logs to the Inversion
santisoler 68c697c
Remove panel from minimizer log tables
santisoler 43d1162
Merge branch 'main' into minimizer-log
santisoler bd63125
Merge branch 'main' into minimizer-log
santisoler f566b99
Fix style
santisoler 0af847d
Fix log_minimizers when minimizer is not a Minimizer
santisoler 1e5b92d
Merge branch 'main' into minimizer-log
santisoler b4ec61b
Merge branch 'main' into minimizer-log
santisoler 426c282
Add `cg_iters` to `MinimizerResult` in `GaussNewtonConjugateGradient`
santisoler 731c788
Hide model columns in MinimizerLog table
santisoler d2b13ad
Move success/failure comment in Inversion to rich renderable
santisoler f8dcb5c
Remove commented lines
santisoler 53c8876
Merge branch 'main' into minimizer-log
santisoler 3faf383
Fix wording in docstring
santisoler ab23180
Add TODO comment
santisoler b248c4d
Simplify return
santisoler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
453 changes: 310 additions & 143 deletions
453
notebooks/21_dc-resistivity-inversion-w-beta-cooling.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.