This repository was archived by the owner on Dec 22, 2021. It is now read-only.
Conversation
The new class behaves like any other solver but under the hood it runs the L-curve and finds the corner value when fit() is called.
The test of the residuals mean and stddev had too many significant digits
Also switched the model to a square. This way they don't have to download the tomo image all the time.
Uses multiprocessing when given `jobs` argument.
Member
Author
|
Note: There is a problem with multiprocessing and numpy liked against threaded BLAS (like in Anaconda Accelerate). See numpy/numpy#654 and numpy/numpy#4194. TL;DR: don't use multiprocessing if threaded or vice-versa. This is pertinent to #91 |
Scaling before estimating the corner in LCurve for better identification and added an option to not use a loglog scale.
Also fixed some issues with doc formats.
leouieda
added a commit
that referenced
this pull request
Apr 11, 2014
New LCurve class to estimate regularization parameters
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The new class was added to
fatiando.inversion.regularization. It behaves like any other solver but under the hood it runs the L-curve and finds the corner value whenfit()is called.The L-curve is built using user-specified values of the regularization parameter. The corner value is found using the "triangle method" of Castellanos et al (2002).
This gist was the first prototype developed.
Notes:
TODO: