conda upgrade sklearn code example

Example 1: conda install scikit-learn

conda install -c anaconda scikit-learn

Example 2: conda install sklearn 0.20

conda install scikit-learn=0.20

Example 3: how to update sklearn using conda

# Anaconda comes with the conda package manager which is designed to handle these kinds of upgrades
# Start by updating conda itself to get the most recent package lists:
conda update conda

# And then install the version of scikit-learn you want
conda install scikit-learn=0.17