Skip to content

Tag: xgboost

Perform incremental learning of XGBClassifier

After referring to this link I was able to successfully implement incremental learning using XGBoost. I want to build a classifier and need to check the predict probabilities i.e. predict_proba() method. This is not possible if I use XGBoost. While implementing XGBClassifier.fit() instead of XGBoost.train() I…

Input data cannot be a list XGBoost

Here is my code. and the error I’m getting is TypeError: Input data can not be a list. The data coming from test_data is a csv with a team name and obs which is a float like this NYY 0.324 Every way to solve it I’ve seen is just to put it in a 2d array like I did –