borenstein-lab / MUSiCC

MUSiCC: A marker genes based framework for metagenomic normalization and accurate profiling of gene abundances in the microbiome
BSD 3-Clause "New" or "Revised" License
15 stars 5 forks source link

core.py error #3

Closed cwzkevin closed 4 years ago

cwzkevin commented 7 years ago

From http://scikit-learn.org/stable/modules/classes.html, it shows the ConvergenceWarning is under Exceptions instead of utils.

Need to change something below in the core.py to pass the test_musicc.py

from sklearn.utils import ConvergenceWarning

from sklearn.exceptions import ConvergenceWarning

gavinmdouglas commented 6 years ago

I ran into this same problem, but it was revolved when I used an earlier version of scikit-learn.

Microbiology commented 6 years ago

I ran into the same problem using the installation from pip. I just changed the line to sklearn.exceptions from sklearn.utils in the module file core.py and now it seems to be working okay with the other up-to-date modules.

engal commented 5 years ago

I just released an update that should address this issue.