How to train a classifier with scikit-learn 0.24.1?

I observed errors related to scikit-learn version mismatches showing " The scikit-learn version (0.23.1) used to generate this artifact does not match the current version of scikit-learn installed (0.24.1). Please retrain your classifier for your current deployment to prevent data-corruption errors."So what should I do ? or,is there any pre-trained classifiers trained with scikit-learn 0.24.1 available?

Hi,

it's a matter of dependencies, therefore I'd better keep qiime2 in a separate environment and ML-tools (like, newer scikit-learn version) in another one.

So if you have a qiime2-dedicated environment just run:
conda install scikit-learn==0.23.1

Cheers

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