The current example is for classification, but xgboost can also be used for regression. In this case the evaluation criterion has to be changed from AUC to MSE or MAE. Cite As Jeffrey van Prehn (2025).Functions to run xgboost in Matlab(https://www.mathworks.com/matlabcentral/fileexchange/...