text_plain_output_1.png
from sklearn.ensemble import RandomForestRegressor

from sklearn.ensemble import RandomForestRegressor

from sklearn.ensemble import RandomForestRegressor
Begging = RandomForestRegressor(max_depth=30, n_estimators=300)
Begging.fit(X_train, Y_train)
print('train score', Begging.score(X_train, Y_train))
print('test score', Begging.score(X_test, Y_test))