how to check version of sklearn code example
Example 1: how to know the version of sklearn
conda list scikit
scikit-learn 0.22.1 py37h6288b17_0
Example 2: how to check sklearn version in cmd
#from cmd
sklearn_version = sklearn.__version__
print(sklearn_version)