Chapter 3, Building a Decision Tree Classifier
ronedmeades opened this issue · 1 comments
ronedmeades commented
Page 67
from sklearn import cross_validation
Get an import error, looks like it is deprecated.
chewychompy commented
It was moved to model_selection.
replace the line
from sklearn import cross_validation
with
from sklearn import model_selection as cross_validation