Repository logo
 
Loading...
Thumbnail Image
Publication

Interpreting Machine Learning Models with SHAP Values: Application to Crude Protein Prediction in Tamani Grass Pastures

Use this identifier to reference this record.
Name:Description:Size:Format: 
Interpreting Values.pdf1.76 MBAdobe PDF Download

Advisor(s)

Abstract(s)

Machine learning models such as XGBoost show strong potential for predicting pasture quality metrics like crude protein (CP) content in tamani grass (Panicum maximum). However, their 'black box' nature hinders practical adoption. To address this limitation, this study applied SHapley Additive exPlanations (SHAP) to interpret an XGBoost model and uncover how management practices (grazing interval, nitrogen fertilization, and pre- and post-grazing heights) and environmental factors (precipitation, temperature, and solar radiation) jointly influence CP predictions. Data were divided into 80% for training/validation and 20% for testing. Model performance was assessed with stratified 5-fold cross-validation, and hyperparameters were tuned via grid search. The XGBoost model yielded a Pearson correlation coefficient (r) of 0.78, a mean absolute error (MAE) of 1.45, and a coefficient of determination (R2) of 0.57. The results showed that precipitation in the range of 100-180 mm increased the predicted CP content. Application of 240 kg N ha-1 year-1 positively affected predicted CP, whereas a lower dose of 80 kg N ha-1 year-1 had a negative impact, reducing predicted levels of CP. These findings highlight the importance of integrated management strategies that combine grazing height, nitrogen fertilization, and grazing intervals to optimize crude protein levels in tamani grass pastures.

Description

Keywords

Algorithms SHapley additive exPlanations Pasture management Precision livestock farming Panicum maximum

Pedagogical Context

Citation

Monteiro, Gabriela Oliveira de Aquino; Difante, Gelson dos Santos; Montagner, Denise Baptaglin; Euclides, Valeria Pacheco Batista; Castro, Marina; Rodrigues, Jessica Gomes; Pereira, Marislayne de Gusmao; Itavo, Luis Carlos Vinhas; Campos, Jecelen Adriane; Da Costa, Anderson Bessa; Matsubara, Edson Takashi (2025). Interpreting Machine Learning Models with SHAP Values: Application to Crude Protein Prediction in Tamani Grass Pastures. Agronomy. ISSN 2073-4395. 15:12, p. 1-17

Research Projects

Organizational Units

Journal Issue