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

Unable to import musicc.core using sklearn 0.20.0 #5

Closed dchandran closed 4 years ago

dchandran commented 6 years ago

sklearn appears to have changed its module structure. I am able to import musicc.core by changing the import lines at the top of core.py to the following:

from sklearn.model_selection import cross_validate as cross_validation
from sklearn.linear_model import LinearRegression as linear_model  # for the LASSO
from sklearn.exceptions import ConvergenceWarning
engal commented 4 years ago

Hi,

This issue should be resolved as of MUSiCC version 1.0.3, which addressed deprecated scikit-learn usages.

Thanks for your interest in MUSiCC!