simpeg icon indicating copy to clipboard operation
simpeg copied to clipboard

Add LogisticSigmoidMap

Open ckohnke opened this issue 1 year ago • 0 comments

Summary

Add a simple bounded Logistic-Sigmoid Mapping as an alternative to the Exponential Map.

PR Checklist

  • [x] If this is a work in progress PR, set as a Draft PR
  • [x] Linted my code according to the style guides.
  • [x] Added tests to verify changes to the code. (link 404s)
  • [x] Added necessary documentation to any new functions/classes following the expect style. (also 404s)
  • [x] Marked as ready for review (if this is was a draft PR), and converted to a Pull Request
  • [x] Tagged @simpeg/simpeg-developers when ready for review.

What does this implement/fix?

Implements a simple bounded Logistic-Sigmoid Mapping as an alternative to the Exponential Map. Math details: https://mc-stan.org/docs/reference-manual/logit-transform-jacobian.html Can be useful for simple bounded inversions and sigmoids also appear in many ML models.

Additional information

Currently limited in the ways I can interact with github/simpeg codebase. No linting or specific test implemented, did add to the non-linear maps tests. Not sure if anything else needs to be done with tests. Ran the internal derivate test on the map and passed in 1D and 3D during development.

Probably ready for review @simpeg/simpeg-developers. Nothing super exciting in here :)

ckohnke avatar Feb 06 '24 20:02 ckohnke