XGBoost scoring in "if .... then" format


#1

Instead of using predict_proba() or predict() in xgboost, I would like to get the the logics in “IF… THEN…” format to calculate the predicted probability, Just wondering if there is a way to do this ?


#2

Try dump_model() to get a human readable dump.