For regression tasks like Gradient Boosting, we want to measure how close the model's predictions are to the actual numbers.
Common metrics include:
- Mean Squared Error (MSE): It measures the average squared difference between predicted and actual values. Squaring makes big errors count more.
- Root Mean Squared Error (RMSE): The square root of MSE. It is in the same units as the target, making it easier to understand.
- Mean Absolute Error (MAE): It measures the average absolute difference, treating all errors equally.
- R-squared (R²): It shows how much of the variation in the data the model explains. Closer to 1 means better fit.
We choose these because regression predicts continuous numbers, so accuracy means closeness, not categories.