text_plain_output_1.png
from sklearn.ensemble import RandomForestRegressor

from sklearn.model_selection import train_test_split,cross_val_score

from sklearn.ensemble import RandomForestRegressor
rf = RandomForestRegressor(max_depth=6, random_state=73, n_estimators=90)
print(cross_val_score(rf, X, y, cv=5).mean())