Have you seen the QIIME 2 tutorials? There is one about training a feature classifier.
That is your other option: to downgrade scikit-learn to the correct version. Something like this should work from within your activated QIIME 2 environment (but see the conda documentation if this does not work):
conda install scikit-learn=0.21.2
then confirm that you have the desired version installed with this command:
conda list 'scikit-learn'