XGBoost is a powerful tool for classification and regression. The metric you choose depends on your goal.
For classification, common metrics are Accuracy, Precision, Recall, and F1-score. These tell you how well the model predicts classes.
For regression, metrics like Mean Squared Error (MSE) or Root Mean Squared Error (RMSE) show how close predictions are to actual values.
Choosing the right metric helps you understand if the model is good for your specific problem.