Closed joy13975 closed 2 years ago
For issue #962. Switch parallelism backend to multiprocessing, and fix the passing of kwargs for log_probability() and predict_proba().
log_probability()
predict_proba()
The following has succeeded:
python -m build python setup.py test
Test environment:
EC2 Amazon Linux (m5.2xlarge) Python 3.8.8 (Cython) pomegranate 0.14.8
Performance check (5,236 test instances):
m = max_iterations n = n_jobs
m
max_iterations
n
n_jobs
I've modified the function using this code and it works great for my usecase
For issue #962. Switch parallelism backend to multiprocessing, and fix the passing of kwargs for
log_probability()
andpredict_proba()
.The following has succeeded:
Test environment:
Performance check (5,236 test instances):
m
=max_iterations
n
=n_jobs