Recommendations for Low Discrepancy (e.g. Sobol) q

2019-02-06 23:52发布

I would like to use a quasi-random sequence, specifically Sobol, within a SciPy based simulation. Any recommendations on existing, efficient packages?

3条回答
在下西门庆
2楼-- · 2019-02-07 00:15

In the context of sensivity analysis SALib library seems interesting It has a Sobol sample generator and uses SciPy. Link here : http://jdherman.github.io/SALib/

查看更多
小情绪 Triste *
3楼-- · 2019-02-07 00:15

For Sobol Sequences try sobol_seq.

Generally speaking the best package I've found for dealing with quasirandom sequences is diversipy.

There are also packages that focus on specific implementations, for example sudoku_lhs deals with Latin Hypercubes and the Sudoku-type Constraint variant.

pyDOE implements at least Latin Hypercube (maybe more).

The most interesting package I found is py-design, which creates a wrapper for Fortran 90 codes on 15 or so methods. Unfortunately it does not seem to work (some assets seem to be missing).

查看更多
Juvenile、少年°
4楼-- · 2019-02-07 00:28

Is this project any use? If not, the relevant Wikipedia article mentions C and Fortran routines in NAG and Numerical Recipes, which probably shouldn't be difficult to wrap or reimplement in Python. There are also C routines in GSL.

查看更多
登录 后发表回答