older version of scikit-learn code example Example: version of scikit learn In [3]: import sklearn In [4]: sklearn.__version__ Out[4]: '0.19.0'