Closed sumau closed 4 years ago
it finishes for m
python3 run.py
/opt/py/py/lib/python3.7/site-packages/sklearn/externals/joblib/__init__.py:15: DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib. If this warning is raised when loading pickled models, you may need to re-serialize those models with scikit-learn 0.21+.
warnings.warn(msg, category=DeprecationWarning)
---------------------------------------------
Launching simulation using SimuHawkesMulti...
--------------------------------------------------
Launching simulation using SimuHawkesExpKernels...
Done simulating using SimuHawkesExpKernels in 4.56e-01 seconds.
Done simulating using SimuHawkesMulti in 7.09e-01 seconds.
python3 -V
Python 3.7.6
How bizarre... Maybe because I'm using python 3.6.10? Anyway I have a workaround so happy to close this bug.
This is a very strange bug! SimuHawkesMulti.simulate() hangs if I try to use numpy's matrix_power(). However SimuHawkesExpKernels.simulate() works fine:
I'm not sure if this is related but SimuHawkesMulti.simulate() also hangs if you first try to call SimuHawkesExpKernels.simulate().