a guest Oct 14th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- from xgboost import XGBClassifier
- # Create a classifier
- xgb = XGBClassifier(booster='gbtree', objective='multi:softprob', random_state=42, eval_metric="auc", num_class=num_of_classes)
- # Fit the classifier with the training data
RAW Paste Data