MrUrq / LatinHypercubeSampling.jl

Julia package for the creation of optimised Latin Hypercube Sampling Plans
Other
36 stars 8 forks source link

User interface point for random number generator #15

Closed ablaom closed 4 years ago

ablaom commented 4 years ago

Is there a way the user can specify an RNG different from GLOBAL_RNG for the sampling (important for reproducibility)?

MrUrq commented 4 years ago

Thank you for bringing this to my attention. The master branch now has the possibility to set RNG with the rng keyword and accepts any rng <: AbstractRNG. Please let me know if this works for you and I will work on releasing this soon.

MrUrq commented 4 years ago

The update is now available in the tagged version 1.7.0 and is accessible with the rng keyword.

ablaom commented 4 years ago

Wow. That was a fast response!

We should have an MLJ integration very soon. Any comment on the PR very welcome.