from sklearn.ensemble import RandomForestRegressor
model = RandomForestRegressor()
model.fit(x_train, y_train)
pred = model.predict(x_test)
mean_squared_error(y_test, pred)
from xgboost import XGBRegressor
model = XGBRegressor()
model.fit(x_train, y_train)
pred = model.predict(x_test)
mean_squared_error(y_test, pred)