MATLAB Answers

Is there any implementation of XGBoost algorithm for decision trees in Matlab?

124 views (last 30 days)
Roberto
Roberto on 13 Oct 2018
Edited: Walter Roberson on 18 Apr 2019
I've found other boosting algos available in fitensemble and fitcensemble options but not XGBoost. Any chance to find it somewhere else? Thanks
Roberto

Answers (1)

Redha Almahdi
Redha Almahdi on 19 Oct 2018
Hi Roberto,
I am looking for XGBoost matlab based implementation as well. PLease if you get any let me know.
Thanks

  3 Comments

Roberto
Roberto on 20 Oct 2018
Hi Redha, unfortunately I didn't find any matlab implementation of xgboost so far. But I'm replacing it with the "Method" "AdaBoostM1" that you can find here: https://www.mathworks.com/help/stats/fitcensemble.html#namevaluepairarguments In my tests matlab adaptive boost is outperforming R xgboost in almost any scenario so I'm pretty satisfied. Give it a try!
Walter Roberson
Walter Roberson on 20 Oct 2018
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5563301/ talks about preprocessing in MATLAB and about using Python scikit libraries for xgboost. It does not actually state that they call Python from MATLAB but that approach would sound plausible.

Sign in to comment.

Sign in to answer this question.