# scikit-learn version warning

**URL:** https://forum.qiime2.org/t/scikit-learn-version-warning/15206
**Category:** User Support
**Tags:** feature-classifier
**Created:** [June 2, 2020, 3:19pm UTC](https://forum.qiime2.org/t/scikit-learn-version-warning/15206 "2020-06-02T15:19:25Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![ChrisKeefe](https://forum.qiime2.org/user_avatar/forum.qiime2.org/chriskeefe/32/1907_2.png) [@ChrisKeefe](https://forum.qiime2.org/u/ChrisKeefe)
#### Post date: [June 2, 2020, 4:49pm UTC](https://forum.qiime2.org/t/scikit-learn-version-warning/15206/3 "2020-06-02T16:49:16Z")

</div>

Hi @Irshad!

> The scikit-learn version (0.21.2) used to generate this artifact does not match the current version of scikit-learn installed (0.20.2).

Scikit-learn requires you to use a classifier that was trained with the same version as scikit-learn that you're using to run your command. This protects your analysis from unexpected behavior. If you are using a pre-trained classifier from the [QIIME 2 docs](https://docs.qiime2.org/2020.2/data-resources/), make sure that the version of QIIME 2 you're using is the same as the version of the docs you downloaded your classifier from.

`qiime info` will let you get the version of QIIME 2 you're using, and you can get the correct version of the docs by using the correct version number in this URL:  
`https://docs.qiime2.org/{version-number}/data-resources/`

For example:  
`https://docs.qiime2.org/2020.2/data-resources/`

Even better, ask your sysadmin to install the latest version of QIIME 2, and then you can use the classifier from the current docs. 🙂

Best,  
Chris

---

_[View the full topic](https://forum.qiime2.org/t/scikit-learn-version-warning/15206)._
