Skip to content

Instantly share code, notes, and snippets.

@risenW
Created July 10, 2019 21:48
Show Gist options
  • Save risenW/01871b0816762de92daf70ccef2a4af0 to your computer and use it in GitHub Desktop.
Save risenW/01871b0816762de92daf70ccef2a4af0 to your computer and use it in GitHub Desktop.
import lightgbm as lgb
lgb_model = lgb.LGBMRegressor(n_estimators=100)
print("MAE Sccore: ", cross_validate(lgb_model, 10, X_train, y_train))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment