Hi! any recommended library to calculate distributions (in particular the CDF of the Normal distribution)?
Well, I've been using https://clojars.org/distributions/versions/0.1.3-SNAPSHOT and so far so good, but still happy with any recommendation
Thanks, I just checked, that's the same underlying java library this clojure library is using
You can try fastmath https://generateme.github.io/fastmath/fastmath.random.html
So, just trying things out, and I immediately hit upon a stumbling block 😞
user=> Python path configuration:
PYTHONHOME = '/home/david/tmp/kevin2/.direnv/python-3.9.5'
PYTHONPATH = (not set)
program name = '/home/david/tmp/kevin2/.direnv/python-3.9.5/bin/python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/home/david/tmp/kevin2/.direnv/python-3.9.5/bin/python3'
sys.base_prefix = '/home/david/tmp/kevin2/.direnv/python-3.9.5'
sys.base_exec_prefix = '/home/david/tmp/kevin2/.direnv/python-3.9.5'
sys.platlibdir = 'lib'
sys.executable = '/home/david/tmp/kevin2/.direnv/python-3.9.5/bin/python3'
sys.prefix = '/home/david/tmp/kevin2/.direnv/python-3.9.5'
sys.exec_prefix = '/home/david/tmp/kevin2/.direnv/python-3.9.5'
sys.path = [
'/home/david/tmp/kevin2/.direnv/python-3.9.5/lib/python39.zip',
'/home/david/tmp/kevin2/.direnv/python-3.9.5/lib/python3.9',
'/home/david/tmp/kevin2/.direnv/python-3.9.5/lib/python3.9/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
My deps.edn is just this:
{:paths ["src"]
:deps {clj-python/libpython-clj {:mvn/version "2.00-beta-22"}
org.clojure/clojure {:mvn/version "1.10.3"}}}
eval'ing a buffer causes the jvm to crash out
Is there advice on what the issue could be?