text_plain_output_1.png
from sklearn.model_selection import train_test_split,cross_val_score

from sklearn.tree import DecisionTreeRegressor

from sklearn.tree import DecisionTreeRegressor
dt = DecisionTreeRegressor()
cross_val_score(dt, X, y, cv=5).mean()