uqfoundation / mystic

constrained nonlinear optimization for scientific machine learning, UQ, and AI
http://mystic.rtfd.io
Other
464 stars 50 forks source link

specify Distribution generator and rng as strings #202

Closed mmckerns closed 1 year ago

mmckerns commented 1 year ago

Summary

enable Distribution objects to be created by providing string of 'module.object' as an alternate to passing the module object itself. Similarly for random_state objects with the rng keyword.

Checklist

Documentation and Tests