Error with util performance
Hi Oriol. When, inside /aloy/home/mduran/myscripts/chemical_checker/package/scripts/preprocess/D2.001
, I run:
python run.py -o /aloy/home/mduran/myscripts/mosaic/manuscript/revisions/nbt/data/D2.001_sign0.h5
I get the following error.
Traceback (most recent call last):
File "run.py", line 14, in <module>
from chemicalchecker.util.performance import gaussian_scale_impute
File "/aloy/home/mduran/myscripts/chemical_checker/package/chemicalchecker/util/performance/__init__.py", line 1, in <module>
from .linkprediction import LinkPrediction
File "/aloy/home/mduran/myscripts/chemical_checker/package/chemicalchecker/util/performance/linkprediction.py", line 6, in <module>
from .performance import PerformanceBinary
File "/aloy/home/mduran/myscripts/chemical_checker/package/chemicalchecker/util/performance/performance.py", line 6, in <module>
from sklearn.metrics import davies_bouldin_score, calinski_harabaz_score
ImportError: cannot import name 'davies_bouldin_score' from 'sklearn.metrics' (/opt/miniconda3/envs/py37/lib/python3.7/site-packages/sklearn/metrics/__init__.py)