Issue with incompatible scikit-learn versions installed

Hi I am having similar problem with incompatible versions of scikit-learn & classifiers.

we are running a QIIME2 analysis on a CyVerse App modeled on the Moving Pictures tutorial.
Error:
qiime feature-classifier classify-sklearn
–i-classifier gg-13-8-99-515-806-nb-classifier.qza
–i-reads rep-seqs.qza
–o-classification taxonomy.qza

Plugin error from feature-classifier:

The scikit-learn version (0.22.1) used to generate this artifact does not match the current version of scikit-learn installed (0.21.2). Please retrain your classifier for your current deployment to prevent data-corruption errors.

Debug info has been saved to /tmp/qiime2-q2cli-err-0wywm1lw.log

My question is which classifier (greengenes) would work in this environment?

thanks
Charles

Hi @Charles_Hauser,
I moved this topic to a new thread as the previous one was from quite some time ago and this is technically a separate (though related issue).

This issue has been previously answered a few times on the forum, so please do a quick search if you want a more thorough answer, but in short you need to either update your QIIME 2 version installed or if that's not an option use a classifier that was trained using the older version of scikit-learn.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.