xgb=XGBRegressor(*xgb_params)
xgb_model=xgb.fit(X_train[features],y_train,
sample_weight=X_train['dataweight'])
”’error incurred during prediction”’
xgb_predict=xgb.predict(X_test[features])
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
xgb=XGBRegressor(*xgb_params)
xgb_model=xgb.fit(X_train[features],y_train,
sample_weight=X_train['dataweight'])
”’error incurred during prediction”’
xgb_predict=xgb.predict(X_test[features])