Generating low discrepancy quasi-random sequences in python/numpy/scipy?

前端 未结 3 370
不知归路
不知归路 2021-01-31 21:15

There is already a question on this but the answer contains a broken link, and being over two years old, I\'m hoping there\'s a better solution now :)

Low discrepancy qu

3条回答
  •  粉色の甜心
    2021-01-31 21:31

    I think the best alternative for Low Discrepancy sequences in Python is Sensitivity Analysis Library (SALib):

    https://github.com/SALib/SALib

    I think this is an active project and you can contact the author to check if the functionalities you need are already implemented. If that doesn't solve your problem, Corrado Chisari ported a SOBOL version made in Matlab (by John Burkardt) to Python, you can access it here:

    http://people.sc.fsu.edu/~jburkardt/py_src/sobol/sobol.html

    Someone cleaned up the comments in these sources and put them in the format of docstrings. It's much more readable and you can access it here:

    https://github.com/naught101/sobol_seq

提交回复
热议问题