I am trying to use
from sklearn.model_selection import train_test_split
ImportError: No module named model_selection
I guess you have the wrong version of
scikit-learn, a similar situation was described here on GitHub. Previosly, you had to use
To upgrade to at least version
pip install -U scikit-learn
Hope this helps!