update scikit learn from 0.21.3 to 0.22 code example Example: version of scikit learn In [3]: import sklearn In [4]: sklearn.__version__ Out[4]: '0.19.0'