Created
December 3, 2019 14:12
-
-
Save caiobvilar/1581720d41a7850d3ee171b5aeb8bc0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cv_params = {"objective":"reg:squarederror", "max_depth":4} | |
cv_results = xgb.cv(dtrain=DM_train, params=cv_params,nfold=10,num_boost_round=5, metrics="rmse",as_pandas=True,seed=42) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment