Open enzedonline opened 2 years ago
The following will fail as the cross_validation module was deprecated some years ago (how old are these lectures?!)
from sklearn.cross_validation import train_test_split
Replace with:
from sklearn.model_selection import train_test_split
The following will fail as the cross_validation module was deprecated some years ago (how old are these lectures?!)
from sklearn.cross_validation import train_test_split
Replace with:
from sklearn.model_selection import train_test_split