scikit-learn-contrib / scikit-matter

A collection of scikit-learn compatible utilities that implement methods born out of the materials science and chemistry communities
https://scikit-matter.readthedocs.io/en/v0.2.0/
BSD 3-Clause "New" or "Revised" License
70 stars 18 forks source link

Add random state to svd in _compute_pi function #210

Closed agoscinski closed 10 months ago

agoscinski commented 10 months ago

In one example we got nondeterministic behavior because of the random state in sparse linalg. We set the random state there now. The temporary fix to set np.random.seed is removed.


:books: Documentation preview :books:: https://scikit-matter--210.org.readthedocs.build/en/210/