Abstract
Estimating leaf chlorophyll under deficit irrigation can support irrigation management. In this study, the CatBoost, XGBoost, and random forest (RF) algorithms were compared with support vector regression (SVR). The analyses were based on daily data (n = 1460) from eggplant plants in northern Turkey between 2015 and 2017, covering five different irrigation levels and three growing seasons, as well as nine different datasets (M1–M9) created using five key variables. Models were validated using stratified hold-out testing (n = 452), leave-one-series-out (LOSO; 15 series), and leave-one-year-out (LOYO; 3 seasons) cross-validation with nested hyperparameter tuning. Parsimonious CatBoost-M5 (irrigation level, cumulative growing degree days, cumulative solar radiation, plant height) achieved RMSE = 0.044 mg g−1 FW on hold-out testing and 0.111 mg g−1 FW (NSE = 0.87) under LOSO, outperforming the best simple benchmark (0.246 mg g−1 FW). Under LOYO cross-season extrapolation, performance degraded to mean RMSE = 0.319 mg g−1 FW (mean NSE = −0.48), matching baseline limits. Linear mixed-effects modeling of hold-out errors confirmed CatBoost achieved the lowest mean error (0.070 vs. 0.082–0.094 mg g−1 FW; p < 0.001). SHAP and LIME identified irrigation level and thermal time as the main contributors; these are model attributions, not causal effects. Transfer to unseen seasons remains limited.
Keywords: Solanum melongena, CatBoost, photosynthetic pigments, irrigation level, Explainable AI
1. Introduction
Global climate change and accompanying abiotic stresses, particularly drought and water deficits, severely constrain plant physiological functions and crop yields worldwide [1,2]. In this context, non-destructive, early-stage monitoring of crop stress under deficit irrigation is critical for sustainable freshwater management. Eggplant (Solanum melongena L.) is a globally vital solanaceous crop that experiences substantial yield and biomass losses under restricted water availability [3,4,5], where water stress induces stomatal closure and accelerates leaf chlorophyll degradation [6].
Leaf chlorophyll dynamics directly reflect canopy photosynthetic capacity and leaf nitrogen status, serving as a reliable early-warning bio-indicator prior to visible morpho-physiological stress symptoms [7,8]. However, conventional destructive spectrophotometric assays are time-consuming and labor-intensive, limiting high-throughput field applications [9]. Machine learning (ML) architectures provide a robust framework for non-destructive, high-precision modeling of complex non-linear agronomic relationships [10]. Prior studies have demonstrated the efficacy of ML algorithms (e.g., RF, XGBoost, CatBoost) in quantifying chlorophyll dynamics across various crops using remote sensing and biophysical datasets [9,11,12,13,14]. Nevertheless, evaluating tree-based gradient boosting models across multi-season deficit irrigation trials while providing transparent decision rules through Explainable Artificial Intelligence (XAI) requires further investigation.
Despite their predictive power, the inherent “black-box” nature of advanced ML models obscures their internal decision-making processes, rendering predictions difficult to align with established physiological mechanisms and thus constraining stakeholder trust [10]. XAI frameworks directly mitigate this limitation. Game-theory-based SHapley Additive exPlanations (SHAP) [15] and Local Interpretable Model-agnostic Explanations (LIME) [16] describe how opaque models use their input variables at both global and local levels. These methods rank the importance of input variables and quantify the direction and magnitude of their contributions to model predictions, which allows model behavior to be compared with agronomic knowledge; such explanations describe the fitted model, not plant processes. Recent studies underline that embedding SHAP and LIME into agricultural ML workflows enhances model accountability and facilitates field deployment [17].
A holistic synthesis of the literature indicates that the vast majority of ML-based leaf chlorophyll estimation schemes rely heavily on high-cost hyperspectral or multispectral remote sensing streams [18,19,20]. Conversely, predictive frameworks utilizing readily accessible, low-cost biophysical and micrometeorological indicators—such as irrigation level (IL), cumulative growing degree days (CGDD), cumulative solar radiation (cRs), canopy temperature (Tc), and plant height (PH)—remain sparse. Specifically, no integrated framework exists for predicting eggplant chlorophyll content under deficit irrigation based on multi-year (3-year) empirical field trials via a comparative assessment of top-tier ML algorithms. Furthermore, existing studies focus almost exclusively on statistical accuracy metrics, omitting XAI diagnostic tools to examine whether model behavior is consistent with current agronomic and physiological knowledge. This critical methodology–agronomy gap limits the reproducibility, reliability, and operational transferability of predictive models to real-world precision agriculture.
To address these limitations, this study utilizes empirical multi-season field data collected from eggplant crops subjected to five distinct deficit irrigation regimes across the 2015–2017 growing seasons. The primary objectives of this study were: (i) to compare the predictive performance and spatiotemporal generalizability (evaluated via LOYO and LOSO validation schemes) four machine learning models (CatBoost, XGBoost, RF and SVR, the latter as a non-tree comparator) trained to estimate laboratory-analyzed leaf chlorophyll content based on nine feature combinations (M1–M9) of biophysical and micrometeorological indicators (IL, CGDD, Tc, cRs, and PH); and (ii) to apply an explainable artificial intelligence framework (SHAP and LIME) to the best-performing model configuration in order to describe the relative importance of the inputs and the direction of their contributions to the model’s predictions.
2. Results
2.1. The Effect of Different Irrigation Levels on Total Chlorophyll Content
Figure 1 shows the mean leaf chlorophyll content (Chl, mg g−1 FW) of eggplant under different irrigation levels (full and deficit irrigation) in 2015, 2016, and 2017. Data are presented as the mean ± standard error (SE) of three plots and include statistical comparisons among irrigation levels and years.
Figure 1.

Effect of different irrigation levels on the mean chlorophyll content of eggplants. The same letter above each bar indicates that the differences between the irrigation levels are not statistically significant at p ≤ 0.05.
A two-way analysis of variance (Type III ANOVA) based on seasonal plot-level means (n = 45) revealed that total leaf chlorophyll content (Chltotal, mg g−1 FW) was significantly affected by growing season (Year; F(2,6) = 81.48, p < 0.001), irrigation treatment (Treatment; F(4,24) = 264.96, p < 0.001), and their interaction (Year × Treatment; F(8,24) = 4.97, p = 0.001) (Table 1). Chltotal decreased markedly and progressively with increasing water deficit. When averaged across years, Chltotal declined from 1.078 mg g−1 FW under IL1 to 0.591 mg g−1 FW under IL5, and all pairwise differences among irrigation levels were statistically significant (Tukey’s HSD, p < 0.001) (Table 2). The statistically significant Year × Treatment interaction indicates that the magnitude of the chlorophyll reduction induced by water deficit varied across growing seasons. More specifically, the absolute difference between IL1 and IL5 was 0.39 mg g−1 FW in 2015, increasing to 0.47 mg g−1 FW in 2016 and 0.60 mg g−1 FW in 2017. Nevertheless, the hierarchical ranking of irrigation treatments remained identical across all three seasons (IL1 > IL2 > IL3 > IL4 > IL5), indicating that the interaction was quantitative (magnitude-dependent) rather than qualitative, with no crossover in treatment rankings. The block effect within each year was also statistically significant (p = 0.002). Reference [21] reported that total chlorophyll content in eggplant ranged from 0.975 to 1.75 mg g−1 FW under different water deficit regimes, with a decreasing trend in chlorophyll content as water deficit intensity increased. This finding is consistent with the results of the present study.
Table 1.
Analysis of variance for leaf chlorophyll content (Chltotal) of eggplant as affected by year, block (nested within year) and irrigation level.
| Source of Variation | df (Numerator, Denominator) | Sum of Squares | Mean Square | F | p |
|---|---|---|---|---|---|
| Year (Y) | 2, 6 | 0.933 | 0.467 | 81.48 | <0.001 |
| Block (Y) | 6, 24 | 0.034 | 0.006 | 4.88 | 0.002 |
| Irrigation level (IL) | 4, 24 | 1.243 | 0.311 | 264.96 | <0.001 |
| Y × IL | 8, 24 | 0.047 | 0.006 | 4.97 | 0.001 |
| Error | 24 | 0.028 | 0.001 |
Type III sums of squares; Year was tested against Block (Year), the other effects against the residual. Corrected total: 44 df (plot-level means, n = 45).
Table 2.
Effects of year and irrigation level on leaf chlorophyll content (Chltotal, mg g−1 FW) of eggplant (plot-level seasonal means, n = 45).
| Effects and Levels | Chltotal |
|---|---|
| Year (Y) | *** |
| 2015 | 0.809 |
| 2016 | 0.666 |
| 2017 | 1.016 |
| Irrigation level (IL) | *** |
| IL1 | 1.078 a |
| IL2 | 0.923 b |
| IL3 | 0.834 c |
| IL4 | 0.725 d |
| IL5 | 0.591 e |
| Y × IL | ** |
Means followed by different letters within an effect differ significantly based on Tukey’s HSD test (p < 0.05). ** and *** denote statistical significance at p < 0.01 and p < 0.001, respectively. Values are averages of plot-level seasonal means (3 independent plots per treatment per year; block was nested within year as a random factor).
2.2. Descriptive Statistics of Measured Variables
Table 3 summarizes the descriptive statistics of the physical (e.g., PH) and environmental parameters (Tc and cRs) used as inputs in the models, along with the total chlorophyll content measurements obtained from field studies. Table 3 outlines the numerical framework of the dataset by summarizing the central tendency (mean), the spread of the data distribution (standard deviation), and the observed extreme values (minimum-maximum) for each variable. Descriptive statistics indicate a significant variation in the photosynthetic capacity and physiological condition of the plant population in the study area. Chlorophyll content (Chltotal) showed a significant variation ranging from 0.22 to 1.53 mg g−1 depending on irrigation level and phenology. The CGDD values, which ranged from 314.20 to 1654.30 °C·d throughout the vegetative period, successfully represented the thermal accumulation of all phenological stages. On the other hand, Tc, which exhibited a marked increase in response to water deficit treatments, fluctuated within the boundaries of 15.83 and 34.08 °C; higher values were consistently associated with more severe water deficit applications. Throughout the process, cRs varied between 572.18 and 2650.34 MJ m−2, and PH ranged from 14.36 to 127.98 cm (Table 3). Detailed graphical representations of the frequency distributions of total chlorophyll concentrations for the sample groups are presented in Figure 2.
Table 3.
Descriptive statistics of all measured variables across three experimental years.
| Training Dataset | Testing Dataset | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Variable | Chltotal | IL | CGDD | Tc | cRs | PH | Chltotal | IL | CGDD | Tc | cRs | PH |
| Unit | mg g−1 FW | °C·d | °C | MJ m−2 | cm | mg g−1 FW | °C·d | °C | MJ m−2 | cm | ||
| Min | 0.22 | 0.00 | 314.20 | 15.83 | 572.18 | 14.36 | 0.26 | 0.00 | 366.40 | 16.61 | 672.64 | 21.18 |
| Max | 1.47 | 1.00 | 1654.30 | 34.08 | 2650.34 | 127.87 | 1.53 | 1.00 | 1631.80 | 30.26 | 2614.46 | 127.98 |
| Mean | 0.86 | 0.49 | 1006.61 | 24.52 | 1659.25 | 61.46 | 0.86 | 0.51 | 1007.90 | 24.63 | 1636.44 | 61.68 |
| SD | 0.30 | 0.36 | 388.09 | 2.95 | 580.68 | 27.89 | 0.32 | 0.35 | 375.59 | 2.64 | 542.14 | 26.23 |
| CV (%) | 35.25 | 71.99 | 38.55 | 12.02 | 35.00 | 45.38 | 36.92 | 68.02 | 37.26 | 10.71 | 33.13 | 42.54 |
Chltotal: total chlorophyll content; IL: irrigation level; CGDD: cumulative growing degree days; Tc: canopy temperature; cRs: cumulative solar radiation; PH: plant height; SD: standard deviation; CV: coefficient of variation.
Figure 2.

Statistical distribution of actual chlorophyll (Chltotal) values across the (A) training and (B) testing datasets.
A Spearman rank correlation analysis was conducted to evaluate the relationships between total leaf chlorophyll content and input variables (Figure 3). The analysis revealed a strong negative correlation between IL and Tc (ρ = −0.75). Increased irrigation enhances stomatal conductance, thereby promoting transpiration and reducing Tc through evaporative cooling [22,23]. This relationship indicates that although Tc is a meaningful physiological indicator, it largely overlaps with the information provided by IL in multivariate modelling. Additionally, strong positive correlations were observed between CGDD and cRs (ρ = 0.89), and between CGDD and PH (ρ = 0.83), both of which are time-dependent cumulative variables.
Figure 3.

Spearman’s rank correlation correlogram of the predictor variables (IL, CGDD, Tc, cRs, PH) and the response variable (Chltotal). The color scale and circle sizes indicate the strength and direction of the correlation (red denotes positive correlations, blue denotes negative correlations).
2.3. Performance of the Selected Machine Learning Algorithms in Predicting Chlorophyll Content
The performance of the CatBoost, XGBoost, and RF algorithms across nine different input combinations was evaluated using the r2, RMSE, MAE, NSE, WI, and KGE metrics for both the training and test datasets (Table 4). SVR was evaluated as an additional comparator on the same dataset (Table 4).
Table 4.
Performance metrics of the CatBoost, XGBoost, RF and SVR algorithms across different input combinations for training and testing datasets.
| Training | Testing | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| r2 | RMSE | MAE | NSE | WI | KGE | r2 | RMSE | MAE | NSE | WI | KGE | ||
| M1 | CatBoost | 0.999 | 0.006 | 0.005 | 0.999 | 1.000 | 0.998 | 0.981 | 0.044 | 0.030 | 0.981 | 0.995 | 0.965 |
| XGBoost | 0.999 | 0.005 | 0.004 | 0.999 | 1.000 | 0.999 | 0.931 | 0.084 | 0.045 | 0.930 | 0.981 | 0.929 | |
| RF | 0.997 | 0.016 | 0.009 | 0.997 | 0.999 | 0.986 | 0.941 | 0.079 | 0.051 | 0.938 | 0.983 | 0.919 | |
| SVR | 0.982 | 0.041 | 0.035 | 0.982 | 0.995 | 0.991 | 0.965 | 0.061 | 0.049 | 0.963 | 0.991 | 0.964 | |
| M2 | CatBoost | 0.698 | 0.172 | 0.129 | 0.681 | 0.885 | 0.665 | 0.633 | 0.195 | 0.147 | 0.621 | 0.862 | 0.628 |
| XGBoost | 0.805 | 0.143 | 0.108 | 0.780 | 0.927 | 0.758 | 0.522 | 0.219 | 0.161 | 0.522 | 0.831 | 0.621 | |
| RF | 0.721 | 0.162 | 0.120 | 0.715 | 0.904 | 0.728 | 0.577 | 0.207 | 0.155 | 0.571 | 0.855 | 0.663 | |
| SVR | 0.622 | 0.188 | 0.135 | 0.617 | 0.880 | 0.744 | 0.643 | 0.190 | 0.147 | 0.641 | 0.888 | 0.751 | |
| M3 | CatBoost | 0.997 | 0.015 | 0.011 | 0.997 | 0.999 | 0.991 | 0.955 | 0.067 | 0.041 | 0.955 | 0.988 | 0.960 |
| XGBoost | 0.991 | 0.028 | 0.021 | 0.991 | 0.998 | 0.987 | 0.930 | 0.084 | 0.054 | 0.930 | 0.981 | 0.944 | |
| RF | 0.981 | 0.043 | 0.022 | 0.980 | 0.995 | 0.960 | 0.838 | 0.128 | 0.085 | 0.837 | 0.954 | 0.874 | |
| SVR | 0.912 | 0.090 | 0.058 | 0.912 | 0.977 | 0.940 | 0.841 | 0.128 | 0.078 | 0.837 | 0.957 | 0.914 | |
| M4 | CatBoost | 0.958 | 0.064 | 0.044 | 0.956 | 0.988 | 0.927 | 0.887 | 0.107 | 0.080 | 0.885 | 0.967 | 0.883 |
| XGBoost | 0.962 | 0.060 | 0.040 | 0.961 | 0.989 | 0.942 | 0.829 | 0.131 | 0.096 | 0.829 | 0.951 | 0.872 | |
| RF | 0.992 | 0.028 | 0.016 | 0.991 | 0.998 | 0.977 | 0.817 | 0.136 | 0.094 | 0.816 | 0.948 | 0.868 | |
| SVR | 0.951 | 0.068 | 0.048 | 0.950 | 0.987 | 0.975 | 0.930 | 0.087 | 0.061 | 0.924 | 0.981 | 0.941 | |
| M5 | CatBoost | 0.998 | 0.015 | 0.011 | 0.998 | 0.999 | 0.995 | 0.980 | 0.044 | 0.033 | 0.980 | 0.995 | 0.979 |
| XGBoost | 0.997 | 0.018 | 0.013 | 0.997 | 0.999 | 0.994 | 0.960 | 0.064 | 0.045 | 0.959 | 0.989 | 0.943 | |
| RF | 0.998 | 0.015 | 0.008 | 0.998 | 0.999 | 0.988 | 0.943 | 0.078 | 0.051 | 0.940 | 0.984 | 0.917 | |
| SVR | 0.982 | 0.041 | 0.036 | 0.982 | 0.995 | 0.990 | 0.980 | 0.047 | 0.039 | 0.978 | 0.995 | 0.964 | |
| M6 | CatBoost | 0.998 | 0.013 | 0.010 | 0.998 | 1.000 | 0.992 | 0.954 | 0.070 | 0.045 | 0.952 | 0.987 | 0.935 |
| XGBoost | 0.992 | 0.027 | 0.019 | 0.992 | 0.998 | 0.982 | 0.937 | 0.080 | 0.057 | 0.936 | 0.983 | 0.928 | |
| RF | 0.990 | 0.031 | 0.018 | 0.990 | 0.997 | 0.973 | 0.801 | 0.143 | 0.078 | 0.796 | 0.942 | 0.839 | |
| SVR | 0.964 | 0.057 | 0.045 | 0.964 | 0.991 | 0.980 | 0.954 | 0.069 | 0.055 | 0.952 | 0.988 | 0.973 | |
| M7 | CatBoost | 0.881 | 0.107 | 0.076 | 0.877 | 0.964 | 0.861 | 0.786 | 0.148 | 0.109 | 0.783 | 0.933 | 0.793 |
| XGBoost | 0.822 | 0.130 | 0.094 | 0.818 | 0.945 | 0.818 | 0.708 | 0.172 | 0.125 | 0.706 | 0.905 | 0.739 | |
| RF | 0.851 | 0.119 | 0.087 | 0.848 | 0.955 | 0.845 | 0.666 | 0.183 | 0.131 | 0.664 | 0.893 | 0.733 | |
| SVR | 0.799 | 0.136 | 0.105 | 0.799 | 0.942 | 0.860 | 0.790 | 0.146 | 0.116 | 0.789 | 0.939 | 0.846 | |
| M8 | CatBoost | 0.971 | 0.054 | 0.040 | 0.968 | 0.991 | 0.932 | 0.808 | 0.140 | 0.105 | 0.804 | 0.941 | 0.812 |
| XGBoost | 0.981 | 0.044 | 0.030 | 0.979 | 0.995 | 0.949 | 0.734 | 0.164 | 0.116 | 0.732 | 0.920 | 0.796 | |
| RF | 0.893 | 0.103 | 0.073 | 0.885 | 0.966 | 0.842 | 0.698 | 0.175 | 0.126 | 0.696 | 0.905 | 0.756 | |
| SVR | 0.711 | 0.163 | 0.110 | 0.711 | 0.911 | 0.784 | 0.680 | 0.181 | 0.126 | 0.675 | 0.904 | 0.793 | |
| M9 | CatBoost | 0.999 | 0.009 | 0.007 | 0.999 | 1.000 | 0.996 | 0.967 | 0.061 | 0.042 | 0.963 | 0.990 | 0.923 |
| XGBoost | 0.993 | 0.025 | 0.017 | 0.993 | 0.998 | 0.985 | 0.933 | 0.083 | 0.058 | 0.931 | 0.981 | 0.920 | |
| RF | 0.994 | 0.024 | 0.011 | 0.994 | 0.998 | 0.979 | 0.813 | 0.138 | 0.074 | 0.810 | 0.947 | 0.856 | |
| SVR | 0.964 | 0.059 | 0.045 | 0.963 | 0.990 | 0.975 | 0.926 | 0.088 | 0.065 | 0.923 | 0.980 | 0.955 | |
The relative performance of the four algorithms varied with the input combination (Table 4). CatBoost achieved the highest test r2 in M1, M3, M8, and M9 and shared the highest reported r2 with SVR in M5 and M6. SVR achieved the highest test r2 and the lowest test RMSE in M2, M4, and M7. Across the nine combinations, test r2 ranged from 0.633 to 0.981 for CatBoost, 0.522 to 0.960 for XGBoost, 0.577 to 0.943 for RF, and 0.643 to 0.980 for SVR. The strongest SVR performance was obtained with M5 (test r2 = 0.980, RMSE = 0.047 mg g−1 FW), matching CatBoost-M5 in r2 at the reported precision, although CatBoost-M5 had a lower RMSE (0.044 mg g−1 FW) and MAE (0.033 versus 0.039 mg g−1 FW). Rankings also depended on the evaluation metric: SVR achieved the highest test KGE in M2, M4, M6, M7, and M9. Training–test differences varied among algorithms and input combinations. For example, RF r2 decreased from 0.990 to 0.801 in M6, whereas XGBoost r2 decreased from 0.805 to 0.522 in M2. These differences suggest potential overfitting in some configurations, but do not establish a uniform tendency across all input combinations.
The five-predictor CatBoost-M1 configuration (IL, CGDD, Tc, PH, cRs) and the four-predictor CatBoost-M5 configuration (IL, CGDD, PH, cRs) were further compared using 10-fold cross-validation (Supplementary Table S1). Mean cross-validation r2 values were 0.992 ± 0.009 for M1 and 0.991 ± 0.007 for M5, with corresponding RMSE values of 0.025 ± 0.010 and 0.027 ± 0.008 mg g−1 FW. These results indicate similar cross-validation performance. In the hold-out evaluation reported in Table 4, M1 and M5 also performed similarly, with test r2 values of 0.981 and 0.980, respectively, and identical RMSE values at the reported precision (0.044 mg g−1 FW). M5 was retained for subsequent interpretation because it omitted canopy temperature measurements while maintaining comparable predictive accuracy, providing a more parsimonious input configuration.
M2 (IL, CGDD, Tc) yielded the lowest test r2 for each of the four algorithms, with values ranging from 0.522 to 0.643 (Table 4). Substituting cRs for Tc in M3 (IL, CGDD, cRs) notably improved the CatBoost test r2 to 0.955 (Δr2 = 0.322; ΔRMSE = −0.128 mg g−1 FW), though this enhancement reflects both the addition of cRs and the removal of Tc. SVR also showed higher test accuracy with M3 than with M2, with r2 increasing from 0.643 to 0.841 and RMSE decreasing from 0.190 to 0.128 mg g−1 FW. However, SVR performance varied across input combinations: it outperformed CatBoost in M4 (test r2 = 0.930 versus 0.887; RMSE = 0.087 versus 0.107 mg g−1 FW), whereas CatBoost performed better in M3 (test r2 = 0.955 versus 0.841; RMSE = 0.067 versus 0.128 mg g−1 FW). These comparisons indicate that the relative performance of the algorithms depended on the predictor combination. Similar contrasts support this trend: introducing cRs to the M4 baseline (IL, CGDD, PH) to form M5 raised the CatBoost test r2 from 0.887 to 0.980, and including PH in the M3 set likewise boosted it from 0.955 to 0.980. In contrast, omitting Tc from the complete input set (M1 versus M5) caused negligible differences in accuracy. These results suggest that cRs and PH capture the majority of the predictive signal, while Tc contributes little added benefit when these variables are accounted for. It should be noted, however, that these observations are based on a single train–test split and cannot fully decouple individual feature effects.
To conduct a comparative evaluation of algorithm and input combinations, six performance metrics from the test dataset were visualized via radar charts (Figure 4). In the RMSE and MAE radar charts, a narrow polygon located closer to the center indicates a lower prediction error and thus superior model performance; conversely, in the r2, NSE, WI, and KGE radar charts, an outwardly expanding polygon points to higher model accuracy. In this context, it is observed that the CatBoost algorithm generally demonstrates top-tier performance across the majority of input combinations, while SVR achieves competitive accuracy, notably outperforming CatBoost in terms of r2 and RMSE under scenarios M2, M4, and M7.
Figure 4.


Comparative performance of CatBoost, XGBoost, RF and SVR models across nine input combinations for the testing dataset visualized via radar charts: (A) RMSE, (B) MAE, (C) r2, (D) NSE, (E) WI, and (F) KGE.
Figure 5 presents the relationship between the measured and predicted Chltotal contents for the testing dataset of seven selected model configurations via marginal histogram scatter plots. Each scatter plot reflects the individual prediction points, where the red diagonal line represents the perfect fit. The concentration of data points along this diagonal line demonstrates that the models possess high predictive accuracy.
Figure 5.


Measured versus predicted eggplant leaf chlorophyll content (Chltotal, mg g−1 FW) across the testing dataset (n = 452). (A) CatBoost-M5, (B) RF-M5, (C) XGBoost-M5, (D) SVR-M5, (E) CatBoost-M1, (F) CatBoost-M2, and (G) CatBoost-M3. The dashed red line denotes the 1:1 line, and the solid black line represents the fitted linear regression.
Among the evaluations conducted across different input combinations and algorithms, the model that achieved the highest testing performance was identified as M5-CatBoost (Figure 5A). When the marginal histogram scatter plot of the CatBoost model within the M5 input combination (IL, CGDD, cRs, PH) is examined, it is observed that the data points are densely clustered along the 1:1 line. Furthermore, the marginal histograms located on the top and right sections of the plot display the frequency distributions of the measured and predicted chlorophyll contents, respectively. The similar shape and dispersion in these histograms indicate that the model successfully learned not only the central tendency but also the overall width of the data distribution.
When the effect of the algorithms is investigated while keeping the same input scenario (M5) constant, the CatBoost algorithm was found to be superior to the other tree-based models. Notably, SVR-M5 (Figure 5D)—serving as a non-tree kernel comparator—matched CatBoost-M5 in test r2 (0.980) with a closely comparable error (RMSE = 0.047 mg g−1 FW), exhibiting a similarly tight clustering of data points along the 1:1 line. In contrast, the other tree-based comparators under M5 exhibited wider scatter; specifically, in the M5-RF model (Figure 5B), the dispersion increases, and the data points deviate further from the 1:1 line. Although XGBoost (Figure 5C) exhibited an acceptable accuracy during the testing phase (r2 = 0.959, RMSE = 0.064, KGE = 0.943), more pronounced deviations are observed in the prediction of high values compared to CatBoost and SVR.
An examination of the scatter plot for the CatBoost model incorporating only three input variables (M3) (Figure 5G) reveals that, despite its relatively constrained input structure, the data points exhibit a satisfactory clustering around the 1:1 line. This constitutes a highly valuable finding for field studies burdened by substantial data collection costs, as it demonstrates that the model can explain 95.5% of the variance utilizing a relatively limited dataset. Furthermore, when compared to other models and combinations employing limited datasets, this result indicates that the cRs parameter within the M3 combination largely compensates for the explanatory variance otherwise provided to the model by the canopy temperature (Tc) and plant height (PH) variables.
To assess whether the differences in predictive performance among the algorithms and input scenarios were statistically significant, the absolute errors (|e|) of the 452 test observations were analysed with a linear mixed-effects model (LMM; Section 4.7.3) that includes the four algorithms (CatBoost, XGBoost, RF and SVR) and the nine input scenarios. The model accounts for the repeated predictions of each test observation by all 36 models and allows the error variance to differ among them, which avoids the independence assumption of rank-based tests applied across overlapping scenarios. It does not represent the clustering of the observations within series.
Algorithm (F(3, 4598.8) = 67.29), scenario (F(8, 2751.0) = 409.81) and their interaction (F(24, 2431.9) = 7.59) were all significant (p < 0.001; Table 5), i.e., the differences among the algorithms depended on the input scenario. The residual variance differed by a factor of about 34 among the 36 algorithm × scenario cells (0.00056–0.01901), which supports the heterogeneous residual structure, and the random intercept of the test observation had a variance of 0.000974 (SE 0.000071; Supplementary Table S12).
Table 5.
Type III tests of fixed effects of the observation-level linear mixed-effects model for the absolute test error.
| Source | Num. df | Den. df | F | p |
|---|---|---|---|---|
| Algorithm | 3 | 4598.8 | 67.29 | <0.001 |
| Scenario | 8 | 2751.0 | 409.81 | <0.001 |
| Algorithm × scenario | 24 | 2431.9 | 7.59 | <0.001 |
Dependent variable: absolute error |observed − predicted| (mg g−1 FW); n = 16,272 values (452 test observations × 9 scenarios × 4 algorithms). REML; random intercept for the test observation (Sample_ID); separate residual variance for each of the 36 algorithm × scenario cells (diagonal); Satterthwaite denominator degrees of freedom.
Averaged over the algorithms, M5 and M1 had the lowest estimated marginal mean (EMM) absolute error (0.042 and 0.044 mg g−1 FW; no difference, p = 1.000), followed by M3, M6 and M9 (0.059–0.064), M4 (0.083), M7 and M8 (0.118–0.120) and M2 (0.152) (Table 6; Supplementary Table S8). RMSE values are given in Supplementary Table S13. Within scenarios, the algorithms differed in all scenarios except M2 (simple-effect F tests, Table 6; M2: p = 0.264). CatBoost had a lower error than RF in eight of the nine scenarios (all except M2) and then both XGBoost and SVR in M1, M3, M5, M6 and M9 (Bonferroni-adjusted p ≤ 0.016; Supplementary Tables S9 and S10). The only scenario in which another algorithm was significantly better than CatBoost was M4, where SVR had a lower error by 0.019 mg g−1 FW (p < 0.001).
Table 6.
Estimated marginal means (EMM, 95% CI; mg g−1 FW) of the absolute test error by input scenario and algorithm from the observation-level linear mixed model (n = 16,272 errors from 452 test observations), scenario means with comparison groups, and simple effect of algorithm within each scenario.
| Scenario | CatBoost EMM [95% CI] | XGBoost EMM [95% CI] | RF EMM [95% CI] | SVR EMM [95% CI] | Scenario Mean (Group) | Algorithm Effect: F (p) |
|---|---|---|---|---|---|---|
| M1 | 0.030 (0.026–0.033) | 0.045 (0.040–0.051) | 0.051 (0.046–0.056) | 0.049 (0.045–0.054) | 0.044 a | 47.10 (<0.001) |
| M2 | 0.147 (0.135–0.158) | 0.161 (0.148–0.174) | 0.155 (0.143–0.167) | 0.147 (0.137–0.158) | 0.152 e | 1.33 (0.264) |
| M3 | 0.041 (0.035–0.046) | 0.054 (0.048–0.060) | 0.085 (0.076–0.094) | 0.078 (0.069–0.088) | 0.064 b | 35.60 (<0.001) |
| M4 | 0.080 (0.074–0.086) | 0.096 (0.089–0.104) | 0.094 (0.085–0.102) | 0.061 (0.055–0.067) | 0.083 c | 27.27 (<0.001) |
| M5 | 0.033 (0.029–0.036) | 0.045 (0.040–0.049) | 0.051 (0.046–0.055) | 0.039 (0.034–0.043) | 0.042 a | 24.31 (<0.001) |
| M6 | 0.045 (0.040–0.049) | 0.057 (0.052–0.062) | 0.078 (0.068–0.088) | 0.055 (0.050–0.060) | 0.059 b | 16.97 (<0.001) |
| M7 | 0.109 (0.101–0.117) | 0.125 (0.115–0.135) | 0.131 (0.121–0.142) | 0.116 (0.108–0.123) | 0.120 d | 4.91 (0.002) |
| M8 | 0.105 (0.096–0.113) | 0.116 (0.106–0.126) | 0.126 (0.116–0.137) | 0.126 (0.115–0.138) | 0.118 d | 5.37 (0.001) |
| M9 | 0.042 (0.038–0.046) | 0.058 (0.053–0.063) | 0.074 (0.064–0.084) | 0.065 (0.059–0.070) | 0.060 b | 37.07 (<0.001) |
| Algorithm mean | 0.070 (0.066–0.073) | 0.084 (0.080–0.088) | 0.094 (0.090–0.098) | 0.082 (0.078–0.086) | 67.29 (<0.001) |
EMM: estimated marginal mean of the absolute error |e|; CI: 95% confidence interval (unadjusted). Scenario means sharing a letter do not differ (Bonferroni-adjusted p > 0.05, 36 comparisons). Last column: F test (3 numerator df, about 730–1010 denominator df) of the algorithm effect within the scenario. Contrasts among algorithms within each scenario are given in Supplementary Table S10.
Averaged over the scenarios, CatBoost had the lowest EMM absolute error (0.070 mg g−1 FW; 95% CI 0.066–0.073), followed by SVR (0.082; 0.078–0.086), XGBoost (0.084; 0.080–0.088) and RF (0.094; 0.090–0.098) (Figure 6A). After Bonferroni adjustment, CatBoost was lower than RF (difference −0.024; 95% CI −0.029 to −0.019), XGBoost (−0.014; −0.018 to −0.010) and SVR (−0.012; −0.016 to −0.008; all p < 0.001; Figure 6B), corresponding to about 26%, 17% and 15% lower mean absolute errors. XGBoost and SVR did not differ (p = 1.000), and both were lower than RF (p < 0.001).
Figure 6.

Observation-level linear mixed model of the absolute test error: (A) estimated marginal means (EMM) with 95% CI of each algorithm, averaged over the scenarios; (B) pairwise differences between algorithms with Bonferroni-adjusted 95% CI (dashed line = no difference; negative values favour the first algorithm; grey = not significant); (C) EMM with 95% CI of each algorithm within each input scenario (n = 16,272 errors from 452 test observations).
These p-values treat the 452 test observations as independent units and ignore their clustering within the 15 seasons × irrigation-level series (Section 4.7.3), so they are probably optimistic. With the series as the clustering unit (Supplementary Table S11), the EMMs were almost identical and CatBoost remained lower than XGBoost, RF and SVR (adjusted p = 0.011, 0.004 and 0.037), but XGBoost, RF and SVR could not be distinguished (p ≥ 0.94), and the within-scenario contrasts of M5 were not confirmed (CatBoost versus XGBoost, RF and SVR: adjusted p = 0.39, 0.17 and 1.00). The within-scenario results (54 contrasts, Bonferroni adjustment within scenarios only) are therefore exploratory. All comparisons refer to the single hold-out test set and do not address transfer to new sea-sons (Section 2.6 and Section 2.7).
2.4. SHAP Value Analysis
A local explanation method called SHapley Additive exPlanations (SHAP) was used to quantify the contributions of various features to the estimates of total leaf chlorophyll content. SHAP is a widely utilized technique for interpreting the predictive processes of tree-based machine learning models. Figure 7 presents the beeswarm plot illustrating the feature contributions for the highest-performing CatBoost-M5 model (IL, CGDD, cRs, PH). Each dot in the plot represents an individual observation. The color of the dots encodes the magnitude of the corresponding feature value (blue = low, red/magenta = high). The horizontal position of the dots indicates the magnitude and direction of the SHAP contribution to the chlorophyll prediction. Dots located to the right of the central gray vertical line contribute positively to the model predictions, whereas those to the left contribute negatively. Furthermore, the vertical ordering of the predictors in the plot presents a hierarchical ranking of importance; the lower a feature is positioned, the smaller its contribution to the model output. Global feature attributions for CatBoost-M5 (Figure 7) demonstrated that IL and CGDD were the primary drivers governing total chlorophyll predictions, followed by cRs and PH. Higher IL values generally yielded positive SHAP contributions, whereas deficit regimes contributed negatively, indicating that the model associated increased water availability with higher predicted chlorophyll content within the analyzed dataset. CGDD emerged as the second most influential predictor, where lower thermal accumulations contributed positively to predictions and advanced thermal time exerted negative SHAP values (ranging approximately from −0.15 to −0.30 mg g−1 FW). This trend aligns with expected seasonal chlorophyll dynamics across phenological stages, reflecting learned statistical feature dependencies rather than specific biochemical mechanisms such as leaf senescence or nitrogen remobilization. Feature contributions from cRs and PH exhibited bi-directional impacts, varying according to specific observation contexts. Due to strong collinearity among time-dependent growth indicators (CGDD, cRs, and PH), these attributions represent shared variance structures within the fitted model architecture rather than isolated physical effects.
Figure 7.

SHAP beeswarm plot illustrating global contributions of predictors (IL, CGDD, cRs, and PH) in the CatBoost-M5 model (n = 452). Each point corresponds to an individual test observation, with color encoding relative value and x-position indicating SHAP effect on total chlorophyll (mg g−1 FW). Full variable definitions and metric units are given in Table 3.
2.5. LIME Analysis
The Local Interpretable Model-Agnostic Explanations (LIME) was used to examine how individual predictors contributed locally to CatBoost-M5 predictions. Four test observations were selected as described in Section 4.6: low chlorophyll, high chlorophyll, average conditions, and the largest absolute prediction error (Figure 8). Green and red bars show positive and negative weights in the local surrogate model; bar length shows the weight magnitude. The explanations describe model behavior around each selected observation. The numerical boundaries are predictor intervals produced by LIME discretization, not experimentally established thresholds or optimal agronomic ranges.
Figure 8.

LIME explanation plots showing local decision rules of the CatBoost-M5 model for four selected test cases: (A) low chlorophyll, (B) high chlorophyll, (C) average condition, and (D) maximum prediction error. Values of observed and predicted Chltotal are expressed in mg g−1 FW. Bar lengths represent local feature weights (green: positive, red: negative). Complete input combinations and parameter units are defined in Table 3.
Low chlorophyll (Figure 8A). The largest negative weights were assigned to CGDD > 1338.77 °C d (≈−0.31 mg g−1 FW) and PH > 76.82 cm (≈−0.16 mg g−1 FW). The intervals 0.25 < IL ≤ 0.50 and 1663.71 < cRs ≤ 2176.85 MJ m−2 received positive weights, that of IL being small. The low prediction was thus associated mainly with negative contributions from CGDD and PH, partly offset by IL and cRs.
High chlorophyll (Figure 8B; observed 1.2781, predicted 1.2680 mg g−1 FW). IL > 0.75 received the largest positive weight, followed by a positive contribution from 669.80 < CGDD ≤ 1025.00 °C d.
Average conditions (Figure 8C; observed 0.8637, predicted 0.8710 mg g−1 FW). IL ≤ 0.25 received the largest negative weight, partly offset by positive weights of 669.80 < CGDD ≤ 1025.00 °C d (≈+0.17) and 1663.71 < cRs ≤ 2176.85 MJ m−2 (≈+0.10 mg g−1 FW).
Largest error (Figure 8D; observed 1.0946, predicted 1.2806 mg g−1 FW; overestimation ≈ 0.186 mg g−1 FW). IL > 0.75 and CGDD ≤ 669.80 °C d received strong positive weights, whereas cRs ≤ 1166.76 MJ m−2 received a negative weight of ≈−0.25 mg g−1 FW. This single case does not indicate systematic overestimation under these conditions.
Across the four observations, IL and CGDD intervals had the most prominent weights, while cRs and PH contributed to individual explanations; this agrees with the global SHAP ranking. Because CGDD, cRs and PH are strongly correlated (ρ = 0.74–0.89), the weights of individual intervals should not be read as independent effects. The explanations apply to the selected observations and the fitted model only, and do not by themselves indicate physiological mechanisms or interactions.
2.6. Leave-One-Year-Out Validation (LOYO)
To evaluate the cross-seasonal transferability of the models, each season (2015, 2016, and 2017) was sequentially held out from the dataset. Hyperparameters were re-tuned using only the remaining two seasons, and the resulting models were evaluated on the withheld season using a LOYO validation strategy. Compared with the random stratified split, a substantial deterioration in predictive performance was observed (Table 7). The LOYO validation results, which assess temporal transferability (Table 7 and Supplementary Table S6), indicate that the traditional benchmark models struggled to capture interannual environmental and climatic variability (Benchmark a: mean NSE = −0.170; Benchmark b: mean NSE = −0.393). Observed versus predicted values are shown in Supplementary Figure S1. Under these challenging temporal transfer conditions, the SVR-M1 model was the only configuration to achieve a positive mean NSE, with a mean RMSE of 0.218 mg g−1 FW and a mean NSE of 0.227. An examination of Supplementary Table S6 reveals that 2017 was the most challenging season to predict across all input configurations (M1–M5) and algorithms. Tree-based ensemble models, including CatBoost, XGBoost, and Random Forest, which demonstrated reasonable performance when 2015 and 2016 were used as test years, exhibited a marked decline in performance on the 2017 test set, with NSE values ranging from −1.287 to −2.292 (Table 7). This finding suggests that under years characterized by extreme environmental conditions, shifts in feature distributions between training and test sets may limit the generalization capacity of machine learning models. In particular, decision-tree-based architectures may be more susceptible to such distributional shifts when predicting previously unseen extreme conditions [24]. Nevertheless, given that the evaluation was based on three LOYO folds and a single deterministic run, these results are insufficient to establish the reliable cross-seasonal generalizability of SVR.
Table 7.
Leave-one-year-out (LOYO) performance of the benchmarks and models with hyperparameters tuned inside each training fold (RMSE in mg g−1 FW/NSE/bias in mg g−1 FW). Bias = mean predicted − observed.
| Model | 2015 Held Out | 2016 Held Out | 2017 Held Out | Mean |
|---|---|---|---|---|
| Benchmark a: IL mean | 0.269/0.209/+0.023 | 0.353/−0.214/+0.223 | 0.252/−0.506/−0.243 | 0.291/−0.170/+0.001 |
| Benchmark b: IL + CGDD polynomial | 0.196/0.581/+0.016 | 0.315/0.037/+0.224 | 0.344/−1.797/−0.228 | 0.285/−0.393/+0.004 |
| CatBoost M1 | 0.279/0.149/+0.054 | 0.366/−0.302/+0.252 | 0.317/−1.374/−0.180 | 0.320/−0.509/+0.042 |
| CatBoost M3 | 0.307/−0.032/+0.103 | 0.390/−0.480/+0.268 | 0.333/−1.635/−0.169 | 0.344/−0.716/+0.067 |
| CatBoost M5 | 0.278/0.153/+0.053 | 0.367/−0.313/+0.255 | 0.311/−1.287/−0.184 | 0.319/−0.482/+0.041 |
| XGBoost M5 | 0.282/0.132/+0.060 | 0.342/−0.137/+0.235 | 0.373/−2.292/−0.226 | 0.332/−0.766/+0.023 |
| RF M5 | 0.267/0.221/+0.027 | 0.387/−0.460/+0.290 | 0.367/−2.200/−0.222 | 0.341/−0.813/+0.032 |
| SVR M1 | 0.182/0.639/+0.078 | 0.224/0.511/−0.129 | 0.249/−0.468/−0.138 | 0.218/0.227/−0.063 |
| SVR M5 | 0.175/0.664/+0.074 | 0.354/−0.217/−0.260 | 0.260/−0.598/−0.177 | 0.263/−0.051/−0.121 |
NSE was calculated relative to the mean of the held-out season; NSE < 0 indicates that the model performed worse than predicting that season’s own mean. Benchmark a: the mean Chltotal value for each irrigation level across the training seasons; Benchmark b: a quadratic polynomial regression on IL and CGDD (including their interaction) fitted to the training seasons (Supplementary Table S4). For each held-out season, the hyperparameters of CatBoost, XGBoost, RF, and SVR were tuned exclusively within the two training seasons (Section 4.5). A single random seed (42) was used throughout the analysis, whereas SVR is deterministic. Results for all input sets (M1–M5) are provided in Supplementary Table S6, and the hyperparameters selected in each fold are reported in Supplementary Data S1.
Cluster-bootstrap intervals (Supplementary Table S2) showed that XGBoost-M5 and RF-M5 had higher RMSE than benchmark b (differences 0.043 [95% CI 0.012, 0.072] and 0.053 [0.023, 0.078] mg g−1 FW), whereas CatBoost-M5 did not differ from it (0.029 [−0.004, 0.066]). SVR-M1 had lower RMSE than benchmark b (−0.072 [−0.095, −0.041]), and SVR-M5 had lower RMSE than CatBoost-M5 (−0.048 [−0.079, −0.015]).
2.7. Leave-One-Series-Out Validation (LOSO)
When a single series (one season × one irrigation level; 15 series in total) was held out, while the remaining 14 series, including those from other irrigation levels within the same season, were used for model tuning and training (LOSO; Table 8), the resulting predictive performance was higher than that obtained using the LOYO approach. For the M1 and M5 input sets, CatBoost, XGBoost, and SVR achieved pooled NSE values ranging from 0.83 to 0.87, with RMSE values of 0.111–0.128 mg g−1 FW. In contrast, benchmark models a and b achieved NSE values of only 0.09 and 0.36, with corresponding RMSE values of 0.294 and 0.246 mg g−1 FW, respectively. The RF model achieved an NSE of 0.70. CatBoost-M1 and CatBoost-M5 yielded comparable results, with NSE values of 0.867 and 0.871, respectively. The M2 input set exhibited the weakest performance across all algorithms (NSE = 0.30–0.59), whereas the results obtained with the M3 input set varied considerably among algorithms (NSE = 0.92 for CatBoost, 0.84 for XGBoost, 0.40 for RF, and 0.36 for SVR). According to the results presented in Supplementary Table S7, the CatBoost (NSE = 0.871), SVR (NSE = 0.843), and XGBoost (NSE = 0.841) models trained using the M5 input set also provided strong and consistent alternatives for capturing inter-series variability, with median within-series NSE values exceeding 0.77.
Table 8.
Leave-one-series-out (LOSO) performance of the benchmarks and models with hyperparameters tuned inside each training fold (pooled RMSE in mg g−1 FW/pooled NSE/median of the within-series NSE; 15 held-out series, n = 1460).
| Model | M1 | M2 | M3 | M5 |
|---|---|---|---|---|
| Benchmark a: IL mean | 0.294/0.086/−0.87 | 0.294/0.086/−0.87 | 0.294/0.086/−0.87 | 0.294/0.086/−0.87 |
| Benchmark b: IL + CGDD polynomial | 0.246/0.360/−0.04 | 0.246/0.360/−0.04 | 0.246/0.360/−0.04 | 0.246/0.360/−0.04 |
| CatBoost | 0.112/0.867/0.80 | 0.196/0.594/0.36 | 0.086/0.923/0.84 | 0.111/0.871/0.79 |
| XGBoost | 0.122/0.842/0.80 | 0.228/0.453/0.18 | 0.124/0.838/0.79 | 0.123/0.841/0.78 |
| RF | 0.169/0.699/0.25 | 0.257/0.303/−0.11 | 0.238/0.400/0.06 | 0.169/0.698/0.37 |
| SVR | 0.128/0.827/0.75 | 0.243/0.375/0.05 | 0.246/0.364/−0.17 | 0.122/0.843/0.80 |
Cluster-bootstrap intervals (Supplementary Table S2) indicated that CatBoost-M5 had lower RMSE than benchmark b (difference −0.136 [−0.178, −0.087] mg g−1 FW) and than RF-M5 (0.058 [0.036, 0.084] higher for RF), a borderline lower RMSE than XGBoost-M5 (0.012 [0.000, 0.026]), and no distinguishable difference from SVR-M5 (0.011 [−0.008, 0.027]). Within each algorithm, M1 and M5 did not differ (CatBoost: −0.001 [−0.005, 0.003]). RMSE by season and irrigation level is given in Supplementary Table S3.
3. Discussion
3.1. Predictive Efficacy of ML Models for Total Chlorophyll Content
Although direct techniques for measuring leaf chlorophyll content are well established, predicting chlorophyll content from readily available agronomic and environmental variables may provide a complementary tool for crop monitoring and irrigation management, particularly when direct measurements are limited. In this study, the predictive efficacy of four distinct machine learning architectures (CatBoost, XGBoost, RF, and SVR) was systematically evaluated for estimating eggplant leaf total chlorophyll content (Chltotal) under deficit irrigation. Across the baseline hold-out evaluation, the observation level linear mixed-effects model (LMM) demonstrated that algorithm choice exerted a statistically significant main effect on absolute prediction error (F(3, 4598.8) = 67.29, p < 0.001). Averaged across all nine input scenarios (M1–M9), CatBoost achieved the lowest estimated marginal mean (EMM) absolute error of 0.070 mg g−1 FW (95% CI: 0.066–0.073), outperforming SVR (0.082 mg g−1 FW), XGBoost (0.084 mg g−1 FW), and RF (0.094 mg g−1 FW) by approximately 15%, 17%, and 26%, respectively (Bonferroni-adjusted p < 0.001).
CatBoost had the lowest mean absolute error of the four algorithms in the hold-out split (Table 6) and the highest pooled accuracy under leave-one-series-out (LOSO) validation. The advantage was not uniform: SVR had lower error in M2, M4 and M7 in the hold-out split, and under LOSO the RMSE difference between CatBoost-M5 and SVR-M5 could not be distinguished from zero (Supplementary Table S2). This superiority can be attributed to the ‘ordered boosting’ mechanism proposed by [13] within the gradient boosting framework to alleviate the gradient bias problem. As reported by [13], standard gradient boosting implementations suffer from target leakage and prediction shift, resulting from reusing data points to compute target statistics and gradients within the same iteration. By computing gradients over target values using unbiased random permutations of the data, CatBoost effectively mitigates structural overfitting in tabular datasets. In contrast, the RF algorithm exhibited marked performance discrepancies between training (r2 ≥ 0.990) and test sets (e.g., test r2 = 0.801 in M6), pointing to localized overfitting. This susceptibility stems from RF’s structural reliance on deep, unpruned decision trees trained via bootstrap aggregation [14]. When applied to continuous time-series agronomic observations, individual unpruned decision trees tend to memorize high-frequency noise and site-specific anomalies rather than learning underlying physiological trends.
A central insight emerging from this study is the sharp performance contrast between within-dataset interpolation and cross-season extrapolation. Under the baseline random stratified split, top-performing models achieved near-perfect accuracy (r2 ≈ 0.98, RMSE= 0.044 mg g−1 FW). However, this random split inherently evaluates interpolation across daily time-series records that share strong temporal autocorrelation resulting from linear interpolation between sampling dates (n = 1460 daily records derived from 15 treatment-by-season series). When evaluated under LOYO cross-validation the predictive performance of all tree-based ensemble models collapsed, yielding negative mean NSE (mean NSE < 0; e.g., CatBoost-M5 mean NSE = −0.482, RMSE = 0.319 mg g−1 FW). In fact, tree-based models failed to surpass simple empirical baseline benchmarks (IL mean benchmark mean RMSE = 0.291 mg g−1 FW, NSE = −0.170; IL + CGDD polynomial benchmark mean RMSE = 0.285 mg g−1 FW, NSE = −0.393).
This breakdown highlights a fundamental architectural limitation of tree-based ensemble methods: decision trees construct piecewise-constant decision boundaries bounded strictly within the feature ranges of the training data. Consequently, decision trees cannot extrapolate smooth functional trends when exposed to out-of-domain environmental shifts or unobserved seasonal climate regimes [25]. Inter-annual variations in total seasonal precipitation (83 mm in 2015, 323 mm in 2016, and 157 mm in 2017) created distinct baseline chlorophyll levels across years. Tree-based models were incapable of shifting their step-function outputs to accommodate these inter-annual baseline shifts, leading to systematic seasonal biases (e.g., +0.05 mg g−1 FW in 2015, +0.26 mg g−1 FW in 2016, and −0.18 mg g−1 FW in 2017 for CatBoost-M5).
In contrast to tree-based approaches, SVR—used as a non-tree kernel comparator—had lower RMSE than the tree-based ensembles under LOYO with the M1 feature set and than benchmark b (difference −0.072 [−0.095, −0.041] mg g−1 FW; Supplementary Table S2), achieving a positive mean NSE of 0.227 and an RMSE of 0.218 mg g−1 FW. SVR maps input features into a high-dimensional Hilbert space via a continuous RBF kernel and optimizes a global continuous hyper-plane constrained by an ε-insensitive loss function [26,27]. This continuous formulation allows SVR to maintain smoother functional gradients across unseen feature spaces. Nevertheless, SVR also experienced accuracy deterioration during the climatically extreme 2017 season (NSE = −0.468), suggesting that static biophysical inputs alone may be insufficient for robust multi-year transferability without explicit soil water dynamic indicators.
Conversely, under leave-one-series-out (LOSO) validation—where an entire treatment series (1 season × 1 irrigation level) was withheld while training on the remaining 14 series within the same seasons—CatBoost, XGBoost, and SVR maintained high predictive accuracy (pooled NSE = 0.83–0.87, RMSE = 0.111–0.128 mg g−1 FW under M1 and M5). These results demonstrate that machine learning models can reliably interpolate missing irrigation regimes within known climatic seasons, whereas extrapolating to entirely unobserved growing seasons remains a primary bottleneck.
3.2. Impact of Input Combinations on Model Performance
Systematic evaluation across the nine input feature scenarios (M1–M9) demonstrated that predictive performance was driven by specific biophysical feature combinations rather than sheer predictor quantity (LMM main effect of scenario: F(8, 2751.0) = 409.81, p < 0.001). The four-predictor scenario M5 (comprising IL, CGDD, cRs, and PH) was established as the optimal parsimonious input configuration. In the hold-out evaluation, CatBoost-M5 achieved similar accuracy to the full five-predictor M1 scenario (r2 = 0.980 vs. 0.981, RMSE = 0.044 mg g−1 FW for both; EMM absolute error 0.033 vs. 0.030 mg g−1 FW). Under LOSO validation, CatBoost-M5 and CatBoost-M1 yielded similar pooled performance (NSE = 0.871 vs. 0.867), as did SVR-M5 and SVR-M1 (NSE = 0.843 vs. 0.827); the cluster-bootstrap intervals of the RMSE differences included zero (Supplementary Table S2).
The equivalence of M5 and M1 justifies omitting Tc. Spearman rank correlation analysis revealed a strong negative correlation between IL and Tc (ρ = −0.75). Increased water availability facilitates stomatal opening, driving transpirational cooling and lowering canopy temperature [23,28]. Because Tc primarily acts as a physiological proxy for plant water deficit, its information content substantially overlaps with the prescribed irrigation level. Omitting Tc simplifies field data requirements without sacrificing predictive precision.
Conversely, scenario M2 (IL, CGDD, Tc) consistently produced the poorest test performance across all four algorithms (r2 = 0.522–0.643, EMM |e|= 0.152 mg g−1 FW). Replacing Tc with cRs and adding PH (M5 versus M2) was associated with markedly lower prediction errors (CatBoost test r2 0.633 in M2 versus 0.980 in M5). These variables are physiologically plausible correlates of chlorophyll status: Solar radiation provides the fundamental energy input driving photosynthetic activity and chlorophyll maintenance [9], while plant height captures cumulative biomass allocation and canopy structural development over time [29].
Evaluating scenario M3 (IL, CGDD, cRs) revealed nuanced algorithm-dependent and validation-dependent behaviors. In the hold-out evaluation, CatBoost-M3 achieved a high-test coefficient of determination (r2 = 0.955). In M3, cRs takes the place of Tc used in M2 (r2 = 0.633), and M3 omits PH relative to M5 (r2 = 0.980); the information carried by cRs therefore appears to cover part of what Tc and PH contribute in the other combinations. Under LOSO validation, CatBoost-M3 achieved the highest pooled accuracy among all combinations (NSE = 0.923, RMSE = 0.086 mg g−1 FW). However, this parsimonious benefit did not hold universally across algorithms: under LOSO, RF-M3 (NSE = 0.400) and SVR-M3 (NSE = 0.364) degraded severely compared to their M5 counterparts. Furthermore, under LOYO validation, CatBoost-M3 exhibited poorer cross-season transferability than CatBoost-M5 (mean NSE = −0.716 vs. −0.482). These discrepancies underscore that minimal feature configurations can exhibit high sensitivity to the choice of learning algorithm and spatial-temporal validation split.
The stark contrast between weak bivariate rank correlations (e.g., IL vs. Chltotal, ρ = 0.56) and high multivariate model performance (r2 > 0.98) highlights the power of machine learning in modeling complex, non-linear feature interactions. As established by [30], individually weak or non-monotonic predictors can significantly boost multivariate predictive power when combined within non-linear tree architectures. Seasonal thermal accumulation (CGDD) exhibits a non-monotonic relationship with chlorophyll: thermal heat drives vegetative pigment accumulation during early phenology, but triggers ontogenetic senescence towards late growth stages [31]. Multivariate models successfully integrate these non-linear thermal dynamics with radiation and water stress inputs to map canopy chlorophyll trajectory accurately.
3.3. Application of XAI Approaches in Chlorophyll Prediction
To resolve the “black-box” opacity inherent in ensemble machine learning, XAI diagnostics—specifically global SHAP and LIME—were applied to the optimal CatBoost-M5 model evaluated on the baseline stratified hold-out test dataset (69%/31% split, Ntest = 452).
The SHAP beeswarm plot identifies irrigation level (IL) as the largest contributor to the CatBoost-M5 predictions. Higher IL values generally had positive SHAP contributions, whereas lower values had negative contributions. This predictive association is compatible with literature describing relationships among water stress, stomatal closure, photosynthetic activity, and chlorophyll dynamics [21,32]. However, the SHAP analysis does not establish which physiological processes account for the observed pattern; these mechanisms provide possible biological context rather than experimental explanations validated by the model.
When interpreting the primary contribution of the irrigation level (IL), a distinction should be made between the prescribed irrigation application and the actual root-zone water availability. In this study, five irrigation levels (IL = 0.0 to 1.0) were applied. Because the full irrigation amounts (487, 310 and 416 mm in 2015, 2016 and 2017, respectively) and the seasonal precipitation (83, 323 and 157 mm) differed substantially among years, the same proportional irrigation level may not have corresponded to the same total water amount or the same soil water availability in each year. The high SHAP importance of IL should therefore be interpreted not as evidence that the prescribed irrigation ratio alone determines the actual water status of the plant, but rather as an indication of its strong predictive contribution within the experimental dataset. Accordingly, in practical applications, particularly when the model is adapted to seasons or regions whose climatic conditions differ from those represented in the training data, it should be complemented with metrics of precipitation, soil moisture and evaporative demand.
Thermal accumulation (CGDD) emerged as the second most influential driver. Early-season thermal accumulation (CGDD < 600 °C.d) contributed positively to predicted chlorophyll, capturing vegetative growth and canopy development. Conversely, advanced thermal time (CGDD > 1300 °C.d) generated substantial negative SHAP attributions (−0.15 to −0.30 mg g−1 FW). This negative impact reflects natural leaf senescence and nitrogen remobilization towards developing reproductive sinks [31,33]. However, this correspondence does not demonstrate that senescence caused the model’s attribution pattern, because CGDD also covaries with other seasonal and developmental predictors. Meanwhile, cRs and PH exhibited contextual, secondary-level attributions, modulating predictions based on local canopy light interception and structural capacity.
LIME local surrogate models further elucidated specific decision rules across key test instances. For high chlorophyll conditions (Chlobserved = 1.28 mg g−1 FW), the prediction was dominated by strong positive weights associated with optimal irrigation supply (IL > 0.75) combined with mid-season thermal accumulation (670 < CGDD ≤ 1025 °C.d), effectively capturing peak vegetative activity. Conversely, low chlorophyll predictions (Chlobserved = 0.26 mg g−1 FW) were driven by heavy negative attributions assigned to late-season thermal time (CGDD > 1338 °C.d) and advanced plant height (PH > 76.8 cm), reflecting advanced canopy senescence. In the maximum error case (overestimation of +0.186 mg g−1 FW), high irrigation (IL > 0.75) coincided with low early-season solar radiation (cRs ≤ 1166 MJ m−2), causing the model to over-rely on water availability while failing to capture the light-limiting constraint—a pattern illustrating performance degradation when evaluating rare feature combinations under-represented in the training space [34].
Crucially, XAI diagnostic tools quantify mathematical feature attributions within a trained algorithmic architecture; they do not establish direct biological causality or measure unobserved metabolic pathways (e.g., enzymatic chlorophyllase activity). Furthermore, because time-dependent growth variables (CGDD, cRs, PH) exhibit strong mutual collinearity (ρ = 0.74–0.89), tree-based models partition importance across correlated inputs sharing joint variance. XAI outputs should therefore be viewed as plausible explanatory hypotheses that bridge data-driven predictions with agronomic principles [35].
3.4. Limitations of the Study and Future Directions
While this study establishes the viability of explainable machine learning for in-season chlorophyll estimation under deficit irrigation, several methodological and theoretical limitations warrant consideration.
First, the experimental dataset was derived from a single eggplant cultivar (Solanum melongena L. cv. Aykara F1) cultivated at a single geographical location in northern Türkiye across three growing seasons. Genotypic variation significantly influences stomatal regulation, leaf anatomy, and drought stress tolerance mechanisms [22,36]. Consequently, the empirical decision boundaries learned by these models cannot be directly generalized to disparate cultivars or contrasting soil-climate zones without recalibration. Additionally, benchmark chlorophyll values were obtained via destructive spectrophotometric laboratory assays [37], which are labor-intensive and constrain high-throughput field scaling.
Second, validation design highlights important extrapolation constraints. The baseline hold-out split (r2 = 0.980, RMSE = 0.044 mg g−1 FW for CatBoost-M5) provides an optimistic performance estimate due to temporal autocorrelation introduced by daily linear interpolation between sampling dates within the same series. When evaluated across unseen seasons via LOYO validation, tree-based ensemble models suffered severe breakdown (mean NSE < 0, breakdown in the extreme year 2017 with NSE < −1.28), failing to outperform simple empirical reference benchmarks. Although SVR-M1 achieved positive mean cross-season transferability (NSE = 0.227, RMSE = 0.218 mg g−1 FW) due to smooth kernel regularization, its accuracy also degraded in 2017 (NSE = −0.468). This confirms that static biophysical predictors alone cannot fully resolve inter-annual climatic baseline shifts. Furthermore, statistical inference from observation-level linear mixed models treats test points as independent units, potentially underestimating standard errors due to nested daily clustering within treatment series (Supplementary Table S11). The bootstrap intervals of the validation results (Supplementary Table S2) were obtained by resampling the 15 series; with only three seasons, between-season uncertainty cannot be quantified.
To overcome these methodological and theoretical constraints, future research efforts must focus on expanding field trials across diverse soil types, climatic zones, and eggplant genotypes evaluated under site- and season-blocked validation schemes [36]. Replacing labor-intensive spectrophotometric laboratory assays with non-destructive, high-throughput remote sensing streams—such as UAV-borne multispectral or hyperspectral imaging, satellite platforms, and ground IoT sensors—will be essential for scaling predictions to field-level operational monitoring [18,19]. Furthermore, explicitly incorporating dynamic environmental and soil water indicators, including real-time soil moisture tension, and root-zone depletion rates, can decouple inter-annual rainfall fluctuations from nominal irrigation ratios. Moving beyond static tabular ML algorithms towards deep temporal time-series architectures—such as Convolutional Long Short-Term Memory (ConvLSTM) and CNN-LSTM models—will enable explicit modeling of sequential phenological dependencies and cumulative physiological stress [38], ultimately enhancing operational robustness in deficit-irrigated agricultural systems.
4. Materials and Methods
4.1. Experimental Site and Climate
Field experiments were carried out over three consecutive growing seasons (2015, 2016, 2017) at the experimental station of the Black Sea Agricultural Research Institute (41°36′10″ N, 35°55′09″ E and 17 m height) located in the central Black Sea region of northern Türkiye. According to the Thornthwaite classification system, the region’s climate is characterized by the C2, B’2, s, b’4 typology; this indicates that the area has a semi-humid and mesothermal character and experiences moderate water deficiency in summer [39]. During the eggplant growing season (May–September), monthly average air temperatures ranged from 16.4 to 25.4 °C in 2015, from 16.6 to 24.7 °C in 2016, and from 15.7 to 24.5 °C in 2017 (Figure 9). Seasonal total precipitation amounts of 83 mm, 323 mm, and 157 mm in 2015, 2016, and 2017, respectively, are obtained from the Türkiye General Directorate of Meteorology. The soil texture was identified as clay/clay loam, with bulk density ranging from 1.26 to 1.35 g cm−3, field capacity ranging from 27.7% to 30.8%, and the permanent wilting point ranging from 16.3% to 19.7%. Prior to each growing season, three samples were collected from the soil profile of each block at 30 cm depth intervals to determine the physicochemical properties of the soil using standard laboratory procedures [40,41].
Figure 9.

Monthly temperatures and total precipitation during the growing seasons (2015, 2016, and 2017) and the long-term period (1987–2018).
4.2. Experimental Design and Irrigation Treatments
A randomized complete block design with three replications was employed across three consecutive cropping seasons (2015–2017). The study comprised 15 plots (5 irrigation treatments × 3 blocks), each measuring 7.0 × 7.2 m (50.4 m2), covering a total area of 990 m2. The three blocks were the independent replicates; plants sampled within a plot were treated as subsamples and averaged to a single value per plot and sampling date and the three block values were then averaged to give one treatment-level value per sampling date. Eggplant (Solanum melongena L.) cv. Aykara F1 was used. Seeds were sown in seedling trays in early April, and seedlings with three true leaves and a height of 15–18 cm were transplanted on 16 May 2015, 22 May 2016 (delayed because of rainfall) and 15 May 2017, at 60 × 70 cm spacing. Border plants were excluded from sampling. Fertilization was based on soil analyses of samples taken at 0–20 and 20–40 cm depths. Ammonium sulfate (21% N) was applied at 13.4 g per plant at transplanting and again one month later (16 June 2015, 22 June 2016 and 15 June 2017), corresponding to approximately 2.8 g N per plant per application.
In the study, five different irrigation scenarios were designed to evaluate the plants’ responses to various water-deficit conditions. Irrigation applications to the plots were scheduled twice a week throughout the experiment. Soil moisture values in the effective root zone were monitored using a neutron probe (Model 503 DR, Campbell Pacific Nuclear, Martinez, CA, USA) via aluminum access tubes placed 10 cm away from the plant rows. For the full irrigation treatment (IL1, 100%), which served as the control group, water was applied in a volume sufficient to restore the depleted soil moisture to field capacity. Accordingly, full-irrigation plots received 487 mm (2015), 310 mm (2016), and 416 mm (2017) of irrigation water, respectively, throughout the growing season [42]. The restricted irrigation treatments, on the other hand, are based on proportionally limiting the amount of water applied to the control group (IL1). Within this framework, irrigation levels were defined as mild water deficit (IL2: IL1 × 75%), moderate water deficit (IL3: IL1 × 50%), and severe water deficit (IL4: IL1 × 25%). The final treatment, IL5, represents conditions where no irrigation is performed and the plant is entirely reliant on natural rainfall (rain-fed).
4.3. Measured Variables and Predictor Parameters
4.3.1. Total Leaf Chlorophyll Content
Leaf samples were collected at approximately two-week intervals, starting from the emergence of the first shoots, on eight dates in 2015 and 2016, and on seven dates in 2017 (2015: June 26, July 9 and 31, August 14 and 21, September 8 and 21, October 1; 2016: June 24, July 15 and 29, August 12 and 26, September 6, 20, and 27; 2017: June 23, July 7, 26, August 9 and 23, and September 6 and 28). In each plot, samples were collected by following a Z-shaped pattern and taking 1–2 young, fully developed, normal-sized leaves located closest to the growing tip of each of the three plants. The collected samples were weighed and transferred to Erlenmeyer flasks containing 40 mL of 80% acetone solution, then left to stand overnight at room temperature under light-protected conditions to allow for complete pigment extraction. After the incubation period, the suspension was filtered through Whatman No. 1 filter paper to obtain a clear extraction filtrate. The absorbance values of the prepared filtrate were measured spectrophotometrically at wavelengths of 663 and 645 nm using a UV-Vis spectrophotometer (UV-1800, Shimadzu Corp., Kyoto, Japan), using 80% acetone (Merck, Darmstadt, Germany) as the reference solution. Total chlorophyll (Chltotal) content was calculated using the equation defined by [37]; results are expressed in mg g−1 of fresh leaf weight:
| (1) |
where the chlorophyll content is expressed in mg g−1 of fresh weight, where D represents the absorbance value measured at the relevant wavelength, V represents the total volume of the extraction solution (mL), and W represents the fresh weight of the extracted leaves (g).
Destructive leaf chlorophyll determinations were conducted periodically at bi-weekly intervals throughout each growing season. To align these discrete physiological measurements with continuous daily environmental and biophysical predictors (such as CGDD, cRs, and Tc), daily total leaf chlorophyll values were calculated via linear time-series interpolation between consecutive sampling dates, following the methodology described by [43]. Interpolation was performed only between consecutive dates within the same growing season; no interannual extrapolation or blending was applied. For the 5 irrigation treatments (means of three blocks) and three growing seasons (2015–2017), this procedure yielded n = 1460 daily treatment-level records (2015: 98 days, 2016: 96 days, 2017: 98 days across 5 irrigation series).
4.3.2. Predictor Variables
In this study, five different input variables were used in the models developed to estimate leaf chlorophyll content. (1) Irrigation level (IL): Five different irrigation levels were applied based on specific ratios of the amount of irrigation water applied to the fully irrigated (control) plot, and these levels were expressed as decimal fractions (IL = 0.00, 0.25, 0.50, 0.75, and 1.00). (2) Canopy temperature (Tc, °C) was measured between 10:00 and 14:00 under clear-sky conditions using a handheld thermal imager (Testo 875-2i, Testo, Testo SE & Co. KGaA, Titisee-Neustadt, Germany; 8–14 µm spectral range, ≤0.08 °C thermal resolution). The measurements were obtained in four primary directions: perpendicular and parallel to the plant row, at an approximate zenith angle of 60°. A minimum of three readings were recorded from each direction, and the mean was calculated. Each thermal image was processed separately using IRSoft software (version 4.8 SP1), in which background soil pixels were masked to isolate the plant canopy and calculate the mean canopy temperature [28]. (3) Cumulative solar radiation (cRs, MJ m−2) was determined by calculating the cumulative total of daily solar radiation data obtained from the meteorological station at the experimental site for the same period. (4) Plant height (PH, cm) was determined by measuring at least three plants representative of the vegetation level in each plot, from the soil surface to the tip of the uppermost shoot, at weekly intervals, and calculating the average. Finally, (5) Cumulative growing degree-days (CGDD, °C·d) were calculated using the following equation, based on a threshold temperature of 10 °C for eggplant:
| (2) |
where Tmax and Tmin represent the daily maximum and minimum air temperatures, respectively, while Tbase denotes the base temperature [44]. Cumulative growing degree-day (CGDD) values were calculated as the sum of the daily GDD values accumulated from the planting date through each measurement period.
4.3.3. Input Combinations
The predictive success of machine learning models depends largely on the selection of input variables used in the model. Since it is known that unnecessary inputs or those highly correlated with one another can negatively affect the model’s generalization ability, including all variables in the model may not always yield the highest performance [30]. In this context, the comparative testing of different combinations of input variables is an effective method for both identifying the set of variables with the highest information content and quantitatively determining the marginal contribution of each variable to model performance.
In this study, input combinations were designed based on physiological rationale and literature reviews, consisting of different subsets of five predictor variables. To this end, nine different input combinations (M1-M9) were created by gradually excluding variables from the full input set (Table 9). These combinations were not selected at random but were designed by considering specific physiological rationale and the gradual effects of environmental factors. In this context, the M1 scenario forms the baseline by including all five predictors (IL, CGDD, Tc, cRs, and PH). On the other hand, the M2, M3, and M4 scenarios are sub-combinations that differ in whether canopy temperature (Tc), cumulative solar radiation (cRs) or plant height (PH) is included, in addition to IL and CGDD. The M6–M9 scenarios, on the other hand, represent 3- and 4-input combinations designed to evaluate the complex interactions between plant development and environmental stress (Table 9).
Table 9.
Summary of input combinations for the applied models.
| Scenario | IL | CGDD | Tc | cRs | PH |
|---|---|---|---|---|---|
| M1 | ✓ | ✓ | ✓ | ✓ | ✓ |
| M2 | ✓ | ✓ | ✓ | ||
| M3 | ✓ | ✓ | ✓ | ||
| M4 | ✓ | ✓ | ✓ | ||
| M5 | ✓ | ✓ | ✓ | ✓ | |
| M6 | ✓ | ✓ | ✓ | ||
| M7 | ✓ | ✓ | ✓ | ||
| M8 | ✓ | ✓ | ✓ | ||
| M9 | ✓ | ✓ | ✓ | ✓ |
Note: IL: irrigation level; CGDD: cumulative growing degree days; Tc: canopy temperature; cRs: cumulative solar radiation; PH: plant height. ✓ indicates the presence of the corresponding factor in each scenario.
4.4. Machine Learning Modeling
In this study, four different machine learning algorithms were used to estimate total chlorophyll content in eggplant plants: Categorical Boosting (CatBoost), Extreme Gradient Boosting (XGBoost), Random Forest (RF), and Support Vector Regression (SVR). These algorithms were trained and evaluated independently using nine different input combinations (M1-M9). Tree-based models, particularly the XGBoost and RF algorithms, were selected for this study because they consistently demonstrate higher accuracy and generalization capacity compared to deep learning architectures on structured (tabular) datasets [45] and their effectiveness in agricultural forecasting applications has been extensively documented in the literature [46]. All analyses were run in Python 3.10.9. The models were implemented with CatBoost 1.2.8, XGBoost 1.7.6 and scikit-learn 1.2.1 [47] (RF and SVR), and the explanations were obtained with SHAP 0.48.0 and LIME 0.2.0.1; data handling used NumPy 1.26.0 and pandas 1.5.3. The linear mixed-effects models were fitted in SPSS 27.0 (IBM Corp., Armonk, NY, USA) (Section 4.7.3). The random seed was fixed (random_state = 42) wherever the libraries allowed it. The nested LOYO/LOSO validation and the cluster bootstrap were run in a separate environment (Python 3.13.16, scikit-learn 1.9.1, CatBoost 1.2.10, XGBoost 3.4.1).
4.4.1. Categorical Boosting (CatBoost)
CatBoost is a gradient boosting algorithm based on the ordered boosting mechanism, developed by [13]. Unlike traditional gradient boosting methods, CatBoost eliminates the prediction shift issue caused by data reuse during training by using a technique called Ordered Boosting, which relies on random permutations of the training data. Additionally, thanks to the Ordered Target Statistics method, the algorithm can process categorical features directly without requiring costly data preprocessing steps such as one-hot encoding, and without causing target leakage. With its innovative and symmetric structure, CatBoost demonstrates high accuracy and strong generalization performance on complex data.
4.4.2. Extreme Gradient Boosting (XGBoost)
XGBoost is an advanced gradient boosting framework proposed by [12] that incorporates a second-order Taylor series expansion into the optimization objective function. The integration of L1 and L2 regularization terms into the loss function limits the model’s tendency toward overfitting, while the algorithm’s unique sparsity-aware partitioning structure enables effective learning on sparse datasets. The feature (column)-level parallel computing strategy during the node splitting phase enhances computational efficiency, while the subsampling and column subsampling parameters contribute to variance control. More detailed information on the XGBoost model can be found in [12].
4.4.3. Random Forest (RF)
First introduced to the literature by [14], RF is a highly adaptable and powerful ensemble learning algorithm that essentially consists of a large number of decision or regression trees. Each tree is grown independently on a random subset of the training data; during the prediction phase, the majority vote of the trees is used for classification problems, while the average of the tree outputs is used for regression problems. This approach balances the high-variance nature of individual decision trees within an integrated model and offers interpretability based on feature importance. Thanks to its practicality, superior predictive ability, and functionality in data analysis, RF is a versatile machine learning algorithm successfully adopted in agricultural research [34].
4.4.4. Support Vector Regression (SVR)
Support vector regression (SVR) is an adaptation of support vector machines to regression problems and is a learning method based on the ε-insensitive loss function, designed to predict continuous-valued outputs [26]. The objective is to obtain a function that closely approximates the training data while keeping prediction errors within an ε-insensitive margin and minimizing deviations exceeding this margin. In this model framework, jointly tuning the penalty parameter C, which penalizes deviations outside the ε-tube, and the ε parameter, which defines the error tolerance, allows a balance to be established between model fit and model simplicity [27]. The C parameter determines the penalty assigned to deviations, whereas ε defines the range of errors accepted without penalty; increasing ε generally reduces the number of support vectors used to construct the regression function. Since SVR is sensitive to the scale of its input variables, both predictors and the response variable were scaled to the 0–1 range using only the training data. The resulting predictions were subsequently transformed back to the original unit of mg g−1 FW. Implemented using the Scikit-learn library, SVR was included as a non-tree-based benchmark algorithm in the hold-out evaluations involving nine different input scenarios and in the LOYO (M1–M5) and LOSO (M1, M2, M3, and M5) validation procedures. The SVR hyperparameters (kernel, C, γ, and ε) were determined using grid search, as detailed in Section 4.5.
4.5. Hyperparameter Optimization
The hyperparameters of each algorithm were optimized using the grid search method (GridSearchCV) configured with 10-fold cross-validation, using negative root mean squared error (scoring = ‘neg_root_mean_squared_error’) as the evaluation criterion and a fixed random seed (random_state = 42). The complete discrete hyperparameter search space evaluated across all algorithms is detailed in Supplementary Table S5, while the identified optimal hyperparameter configurations across all input scenarios (M1-M9) are summarized in Table 10. In the LOYO and LOSO validations the hyperparameters were instead tuned within each outer training fold (nested validation; Section 4.7.2).
Table 10.
Hyperparameter search space and optimal values for CatBoost, XGBoost, RF, and SVR.
| ML Models | Hyper-Parameter | Range | Optimal Value | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| M1 | M2 | M3 | M4 | M5 | M6 | M7 | M8 | M9 | |||
| CatBoost | iterations | 100–2000 | 1000 | 700 | 1000 | 500 | 1000 | 1000 | 800 | 1000 | 1000 |
| learning_rate | 0.01–0.30 | 0.05 | 0.05 | 0.05 | 0.03 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | |
| depth | 4–104--10 | 7 | 7 | 6 | 7 | 4 | 6 | 10 | 5 | 8 | |
| l2_leaf_reg | 1–10 | 5 | 3 | 3 | 3 | 5 | 5 | 3 | 3 | 5 | |
| bagging_temperature | 0–1 | 0.8 | 1 | 1 | 1 | 0.8 | 0.8 | 1 | 1 | 0.8 | |
| random_strength | 0–2 | 1.5 | 1 | 1 | 1 | 1.5 | 1.5 | 1 | 1 | 1.5 | |
| loss_function | RMSE | RMSE | RMSE | RMSE | RMSE | RMSE | RMSE | RMSE | RMSE | RMSE | |
| XGBoost | n_estimators | 100–2000 | 500 | 100 | 1000 | 700 | 1000 | 1000 | 800 | 1000 | 1000 |
| learning_rate | 0.01–0.30 | 0.05 | 0.05 | 0.05 | 0.04 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | |
| max_depth | 3–10 | 5 | 5 | 3 | 4 | 3 | 3 | 3 | 3 | 3 | |
| subsample | 0.5–1.0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| loss_function | MSE | MSE | MSE | MSE | MSE | MSE | MSE | MSE | MSE | MSE | |
| RF | n_estimators | 100–1000 | 1000 | 100 | 1000 | 200 | 200 | 1000 | 500 | 1000 | 100 |
| max_depth | 5–None | 15 | 5 | 10 | 10 | 10 | 8 | 5 | 8 | 10 | |
| min_samples_split | 2–20 | 5 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | |
| min_samples_leaf | 1–10 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| max_features | sqrt, log2 | log2 | log2 | log2 | log2 | log2 | log2 | log2 | log2 | log2 | |
| bootstrap | True/False | True | True | True | True | True | True | True | True | True | |
| SVR | kernel | rbf, linear | rbf | rbf | rbf | rbf | rbf | rbf | rbf | rbf | rbf |
| C | 0.1–500 | 500 | 10 | 500 | 500 | 500 | 500 | 500 | 500 | 100 | |
| gamma | scale, auto, 0.001–0.1 | scale | scale | scale | scale | scale | scale | scale | scale | scale | |
| epsilon (ε) | 0.01–0.5 | 0.05 | 0.1 | 0.05 | 0.05 | 0.05 | 0.05 | 0.01 | 0.05 | 0.05 | |
Optimal values were selected by GridSearchCV (10-fold cross-validation, scoring: negative RMSE) on the training set of the random split. For the LOYO and LOSO analyses the hyperparameters were re-selected within each training fold (Section 4.5).
4.6. Explainable Artificial Intelligence (XAI)
Although advanced machine learning algorithms exhibit high predictive performance owing to their capacity to model complex and non-linear relationships, they are frequently criticized due to their “black-box” nature, where decision processes lack transparency [48,49]. XAI encompasses a suite of methods aimed at comprehensively elucidating the specific variables and relationship patterns upon which the predictions generated by these algorithms are based [49]. XAI techniques are implemented through two complementary perspectives: global and local explainability. Global explainability summarizes the model’s overall trends and feature importance rankings across the entire dataset, whereas local explainability explains at an individual level how a prediction generated for a specific data point is shaped by individual variables [48]. In this study, the SHAP method was applied for global explainability, and the LIME method was implemented for local explainability. Within the scope of SHAP analyses, the TreeExplainer module, which is available in the Python programming language and specifically designed for tree-based algorithms, was executed; within the framework of LIME analyses, the LimeTabularExplainer tool was utilized to derive local explanations for individual predictions. The XAI analyses were concentrated on the CatBoost-M5 model, which demonstrated the highest generalization capacity as a result of statistical validation. This approach aligns with the established methodological framework suggesting that XAI interpretations should be performed on the model possessing the highest predictive accuracy [15].
Based on cooperative game theory, SHAP frames the input variables as “players” in the game and the model’s final prediction as the resulting “payoff” [15]. To calculate the effect of each feature in the model (climatic variables, etc.) on the model’s prediction, this method determines the average marginal contributions across all possible combinations of variables. SHAP values report the positive or negative effects of variables on the prediction consistently and independently of the model type, both at the individual prediction (local) level and at the overall model performance (global) level.
LIME, on the other hand, focuses on local interpretability using a model-agnostic approach. This method simulates the local neighborhood in which the prediction is made by generating random synthetic data points around a specific target [35]. Using this generated data, a simpler and more interpretable surrogate model (such as linear regression) is constructed to mimic the local behavior of the complex model. Through this surrogate model, the specific variables to which the original model assigns weight for a given prediction are concretely explained.
Local interpretability analyses were conducted on four representative observations selected from the test dataset using purposive sampling. This selection included an observation representing the lower end of the prediction distribution (the bottom 10% percentile, Chltotal ≤ 0.38 mg g−1), an observation representing the upper end of the distribution (top 10% percentile, Chltotal ≥ 1.25 mg g−1), an observation reflecting the central trend (within the mean ± 0.5 SD band and closest to the median), and the observation where the model produced the highest absolute prediction error [50]. This strategy is consistent with LIME’s local accuracy principle [16] and aims to enhance interpretability at the individual prediction level by distinguishing model behavior both at the distribution boundaries and in the central region.
Nevertheless, it should be noted that XAI methods (SHAP and LIME) are not tools that establish absolute causal relationships. Rather than performing direct causal inference, these algorithms allow for the interpretation of how well the statistical patterns learned by the model align with established agricultural and physiological mechanisms [51].
4.7. Model Development and Statistical Evaluation
4.7.1. Data Split and Performance Metrics
To evaluate the within-dataset (interpolation) performance of the models developed within the scope of the study, the entire dataset was partitioned using a stratified splitting strategy based on the year (2015, 2016, 2017) and irrigation level (IL = 0.00, 0.25, 0.50, 0.75, 1.00) variables, allocating 69% for training (n = 1008) and 31% for testing (n = 452). This stratified sampling strategy guaranteed that each growing season and irrigation level was proportionally represented in both the training and testing subsets, thereby preventing inter-annual climatic variations (total precipitation of 83 mm in 2015, 323 mm in 2016, and 157 mm in 2017) from systematically biasing the model training and evaluation processes.
In addition to the random stratified split, two leave-group-out validation schemes were used to evaluate transferability [52]. In leave-one-year-out (LOYO) validation, each of the three seasons (2015, 2016, 2017) was withheld in turn and the models were trained on the remaining two seasons (970–980 observations). In leave-one-series-out (LOSO) validation, each of the 15 series (one season × one irrigation level; 96–98 observations) was withheld in turn and the models were trained on the other 14 series, which include the other irrigation levels of the same season. In both schemes the hyperparameters were selected only from the training data of the respective fold (nested validation; Section 4.5) [53]. CatBoost, XGBoost, RF and SVR were evaluated with the input sets M1–M5 under LOYO and M1, M2, M3 and M5 under LOSO. The tree-based models used one random seed (42); SVR is deterministic.
Two benchmarks were included: (a) the mean Chltotal of each irrigation level in the training data, and (b) a second-order polynomial regression on IL and CGDD (including the IL × CGDD interaction) fitted to the training data. CGDD was used as a thermal-time proxy for phenological progress. LOYO performance was summarised by root mean square error (RMSE), Nash–Sutcliffe efficiency coefficient (NSE) (computed relative to the mean of the held-out season) and bias (mean predicted minus observed). LOSO performance was summarised by the RMSE and NSE of the pooled predictions of the 15 held-out series (n = 1460) and by the median of the NSE computed within each held-out series; because the within-series standard deviation of Chltotal is only 0.04–0.06 mg g−1 FW in the 2017 series, the within-series NSE is very sensitive to small absolute errors in these series.
The predictive performance of the models developed in this study was evaluated using six complementary metrics: the squared Pearson correlation coefficient (r2), root mean square error (RMSE), mean absolute error (MAE), Nash–Sutcliffe efficiency coefficient (NSE) [54], Willmott index (WI), and Kling–Gupta efficiency coefficient (KGE). The mathematical formulations of these metrics are defined in Equations (3)–(10).
| (3) |
| (4) |
| (5) |
| (6) |
| (7) |
| (8) |
| (9) |
| (10) |
where Zi is the observed value, is the predicted value, is the mean observed value, is the mean estimated value, and n is the total number of observations. ED is the Euclidean distance from the point of optimal performance, ∝ is the variance ratio between the field-measured and estimated total chlorophyll levels, ξ is the ratio between the mean estimated and mean measured total chlorophyll values, representing the bias.
Statistical analyses were performed using SPSS 27.0, with the significance level set at p < 0.05. The effects of irrigation treatments, growing seasons, and their interaction on leaf chlorophyll content were evaluated using a two-way Analysis of Variance (Type III ANOVA) based on plot-level seasonal means (n = 45), with Block nested within Year as a random factor, followed by Tukey’s HSD post hoc test for pairwise comparisons. Spearman’s rank correlation analysis was used to assess relationships among predictor variables. To compare the predictive performance of machine learning algorithms across overlapping feature scenarios while accounting for repeated-measures dependency on the same test observations (ntest = 452), observation-level Linear Mixed-Effects Models (LMMs) were fitted on absolute residuals (|e|), incorporating Sample_ID as a random intercept. Fixed effects were evaluated using Type III F-tests with Satterthwaite approximation, and pairwise algorithm comparisons were conducted using Bonferroni-adjusted post hoc tests (p < 0.05).
4.7.2. Additional Validation Schemes
A stratified random split is a reasonable baseline for judging how well the models estimate chlorophyll content from concurrently measured predictors within the data set. It does not, however, fully separate the temporally correlated records that arise from daily interpolation within the same treatment series [55]. We therefore did not rely on this split alone. Instead, we combined the baseline hold-out split with leave-one-series-out (LOSO) validation and leave-one-year-out (LOYO) cross-validation, which evaluates model performance under three increasingly strict levels of separation between training and test data.
LOYO validation: To test whether the models transfer to a new growing season, each season was withheld in turn and the models were trained on the other two (three folds). The hyperparameters were tuned only within the two training seasons of each fold (nested validation [52,53]: the inner cross-validation left out one training season at a time, so that the tuning data never included the withheld season, and the selected configuration was refitted on both training seasons before predicting the withheld season. LOYO was evaluated for the input sets M1–M5.
LOSO validation: In this scheme, each of the 15 series (season × irrigation level; 96–98 consecutive daily records each) was withheld in turn. The hyperparameters were tuned within the 14-training series by grouped cross-validation (GroupKFold by series; five folds, three for CatBoost), and the pre-dictions for all 15 withheld series were pooled before the metrics were calculated. LOSO was evaluated for the input sets M1, M2, M3 and M5.
Performance metrics: For both schemes, RMSE, MAE, NSE, r2 and bias (predicted minus observed) were calculated for each validation fold using a fixed random seed (42). NSE was calculated as 1 − SSE/SST, where SST refers to the mean of the data being evaluated; a negative NSE therefore means that the predictions are worse than simply using that mean [56,57].
Uncertainty of the RMSE, MAE and NSE values and of paired differences between models was quantified with a cluster bootstrap in which the 15 series (season × irrigation level) were resampled with replacement 4000 times (random seed 11). Metrics were recomputed in every resample, 95% percentile intervals were taken, and paired differences used the same resamples for both models (Supplementary Table S2). Because LOYO covers only three seasons, its intervals reflect variability among series and not among seasons.
4.7.3. Statistical Comparison of Algorithms
The nine input scenarios (M1–M9) consist of overlapping subsets of the same predictor variables and were evaluated on the same test set (ntest = 452), so the prediction errors of the four algorithms (CatBoost, XGBoost, RF and SVR) are not independent. Differences were therefore tested with a linear mixed-effects model (LMM) [58] of the absolute errors |e| = |observed − predicted| in each of the 36 algorithm × scenario combinations. The model contained algorithm, scenario and their interaction as fixed effects, a random intercept for each test observation (Sample_ID; variance components structure), and a diagonal residual covariance structure with a separate residual variance for each of the 36 algorithm × scenario cells:
| (11) |
where y is the n-by-1 response vector, and n is the number of observations, X is an n-by-p fixed-effects design matrix, β is a p-by-1 fixed-effects vector, Z is an n-by-q random-effects design matrix, b is a q-by-1 random-effects vector, and ε is the n-by-1 observation error vector. The models were estimated by restricted maximum likelihood [59] with the MIXED procedure of SPSS (version 27.0). Fixed effects were tested with Type III F tests, and the denominator degrees of freedom were calculated with the Satterthwaite approximation [60]. Estimated marginal means (EMMs) were derived for algorithm, scenario and their combinations; pairwise differences were tested with Bonferroni adjustment (six comparisons among algorithms, 36 among scenarios and six among algorithms within each scenario), and the simple effect of algorithm within each scenario was tested with an F test. Differences were considered significant at an adjusted p < 0.05. Absolute errors are right-skewed, so the normality of the residuals holds only approximately. The test observations are nested within 15 seasons × irrigation-level series and consecutive days are autocorrelated, which the observation-level model does not represent; its p-values are there-fore probably optimistic. As a sensitivity analysis, the model was refitted with the series as the clustering unit (random series intercept and algorithm-specific random slopes within series; Wald F test with 14 denominator degrees of freedom; Supplementary Table S11).
4.8. Overview of the Study Framework
Figure 10 summarizes the methodological workflow of this study in four main stages: (1) In field trials where five different irrigation levels were applied during the 2015, 2016, and 2017 growing seasons, leaf samples were collected every two weeks, and total chlorophyll content was determined using a spectrophotometric method. Concurrently, parameters such as Tc, CGDD, cRs, and PH were recorded as predictor variables. (2) To analyze the individual and combined effects of these variables on chlorophyll content and to measure the contribution of each feature to model performance, various input combinations ranging from M1 to M9 were designed. (3) Using the defined input combinations, CatBoost, XGBoost, RF, and SVR models were trained using 10-fold cross-validation (10-fold CV); model performance was comprehensively evaluated using six different statistical metrics (r2, RMSE, MAE, NSE, WI, KGE). (4) Finally, XAI techniques were employed to make the “black box” nature of the developed models transparent and to interpret the outputs at a physiological level. The global importance levels and interactions of the variables were identified using SHAP analysis, while local dynamics were examined through four representative scenarios using LIME analysis.
Figure 10.

Study workflow: data collection, machine-learning modelling and validation, and XAI interpretation.
5. Conclusions
This study demonstrates the potential of interpretable machine learning models for estimating the leaf chlorophyll content (Chltotal) of eggplants grown under deficit irrigation conditions. Using a unique dataset from a three-year field trial, the CatBoost, XGBoost, RF algorithms and SVR as an additional comparator were evaluated across nine different input combinations (M1-M9), supported by SHAP and LIME interpretability techniques. Among all tested models, the CatBoost-M5 model, which uses field-scale biophysical variables (IL, CGDD, cRs, PH), achieved the highest prediction performance (R2 = 0.980, RMSE = 0.044 mg g−1, KGE = 0.979) on the stratified hold-out test set. In an observation-level linear mixed-effects model of hold-out absolute errors, CatBoost exhibited the lowest estimated marginal mean error (0.070 mg g−1 FW) among all four algorithms (p < 0.001). Interpretability analyses showed that IL and CGDD were the most important variables influencing the prediction process. Crucially, these attributions reflect learned statistical decision rules consistent with plausible plant physiological stress hypotheses, rather than direct biological causation or unobserved metabolic mechanisms.
In conclusion, low-cost biophysical indicators combined with explainable machine learning offer a promising diagnostic tool for in-season chlorophyll monitoring under the tested conditions. Under leave-one-series-out validation CatBoost, XGBoost and SVR reached NSE of 0.83–0.87 with M1 or M5, but none of the tree-based models transferred to a withheld season. To overcome the limited cross-season transferability, future research should integrate transfer learning techniques with root-zone soil moisture dynamics and dynamic microclimate variables.
Abbreviations
The following abbreviations are used in this manuscript:
| CatBoost | Categorical Boosting |
| CGDD | Cumulative Growing Degree-Days |
| Chltotal | Total Chlorophyll Content |
| CNN | Convolutional Neural Network |
| cRs | Cumulative Solar Radiation |
| CV | Cross-Validation |
| FW | Fresh Weight |
| GDD | Growing Degree-Days |
| IL | Irrigation Level |
| KGE | Kling–Gupta Efficiency |
| LIME | Local Interpretable Model-agnostic Explanations |
| LSTM | Long Short-Term Memory |
| MAE | Mean Absolute Error |
| ML | Machine Learning |
| NSE | Nash–Sutcliffe Efficiency |
| PH | Plant Height |
| r2 | Squared Pearson correlation coefficient |
| RF | Random Forest |
| RMSE | Root Mean Square Error |
| SHAP | SHapley Additive exPlanations |
| SVR | Support Vector Regression |
| Tc | Canopy Temperature |
| UAV | Unmanned Aerial Vehicle |
| WI | Willmott Index of Agreement |
| XAI | Explainable Artificial Intelligence |
| XGBoost | Extreme Gradient Boosting |
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/plants15223567/s1. Figure S1: Observed versus predicted total chlorophyll content (mg g−1 FW) under leave-one-year-out validation for CatBoost-M5 with hyperparameters tuned inside each training fold. Colors indicate the withheld season; the dashed line is the 1:1 line. Records of one season are predicted from a model trained on the other two season; Table S1: Ten-fold cross-validation (training set, n = 1008) and hold-out test performance of CatBoost with the five-predictor (M1) and four-predictor (M5) input sets; Table S2: Cluster-bootstrap uncertainty of RMSE, MAE and NSE and paired RMSE differences (series as resampling unit, 4000 resamples, percentile 95% CI); Table S3: Leave-one-series-out (LOSO) RMSE (mg g−1 FW) by season and by irrigation level of the withheld series for selected models (nested validation); Table S4: Performance of the two reference models under LOYO (per withheld season) and LOSO (pooled); Table S5: Hyperparameter search spaces (a) and tuning protocols for the hold-out, LOYO and LOSO analyses (b); Table S6: Leave-one-year-out (LOYO) performance of all algorithms and input sets M1–M5 with hyperparameters tuned within each training fold (nested validation); Table S7: Leave-one-series-out (LOSO) performance of all algorithms for the input sets M1, M2, M3 and M5 (nested validation); Table S8: Estimated marginal means (EMM) of the absolute test error (mg g−1 FW) by input combination, averaged over the four algorithms, and Bonferroni-adjusted comparison groups; Table S9: Estimated marginal means (95% CI) of the absolute test error (mg g−1 FW) for each algorithm within each input combination, and simple effect of algorithm; Table S10: Pairwise differences in absolute test error (mg g−1 FW; row − column) among algorithms within each input combination, with Bonferroni-adjusted p (six comparisons per input combination); Table S11: Sensitivity analysis: mean absolute test error of the algorithms and pairwise comparisons with the observation-level model (SPSS) and with the series as the clustering unit; Table S12: Covariance parameter estimates of the observation-level LMM (variance, SE); Table S13: Test RMSE (mg g−1 FW) of the four algorithms for each input combination (random stratified split, n = 452); Data S1: Hyperparameters selected in every LOYO and LOSO training fold; Data S2: Nested LOYO and LOSO performance results for all algorithms and input sets; Data S3: Cluster-bootstrap confidence intervals for RMSE, MAE and NSE and paired differences; Data S4: Absolute test errors of the hold-out evaluation used in the observation-level mixed-effects model (16,272 values); Data S5: Nested LOYO and LOSO predictions (observed and predicted values); Data S6: Hold-out performance metrics of all algorithms and input sets.
Author Contributions
Conceptualization, S.T. and B.C.; methodology, S.T., B.C. and S.E.; validation, S.T. and B.C.; formal analysis, B.C., H.S. and S.E.; investigation, S.T., A.C. and M.T.; resources, S.T., A.C. and M.T.; data curation, S.T.; writing—original draft preparation, S.T.; writing—review and editing, S.T., B.C., A.C., H.S. and S.E.; visualization, S.T., B.C., A.C. and H.S.; supervision, B.C.; project administration, S.T., B.C., A.C. and M.T.; funding acquisition, B.C. All authors have read and agreed to the published version of the manuscript.
Data Availability Statement
The data supporting the findings of this study are provided in the Supplementary Materials (Tables S1–S13, Figure S1 and Supplementary Data S1–S6). Supplementary Data S1 lists the hyperparameters selected in each validation fold; S2 the nested leave-one-year-out and leave-one-series-out results; S3 the cluster-bootstrap confidence intervals; S4 the absolute test errors of the hold-out evaluation used in the mixed-effects model (16,272 observation-level values); S5 the nested LOYO/LOSO predictions; and S6 the hold-out performance metrics of all algorithms. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
Funding Statement
This research received no external funding.
Footnotes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
References
- 1.Mittler R., Karlova R., Bassham D.C., Lawson T. Crops under stress: Can we mitigate the impacts of climate change on agriculture and launch the ‘Resilience Revolution’? Philos. Trans. R. Soc. B Biol. Sci. 2025;380:20240228. doi: 10.1098/rstb.2024.0228. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Kopecká R., Kameniarová M., Černý M., Novák J. Abiotic Stress in Crop Production. Int. J. Mol. Sci. 2023;24:6603. doi: 10.3390/ijms24076603. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.FAO FAOSTAT: Production: Crops and Livestock Products. 2024. [(accessed on 12 November 2026)]. Available online: https://www.fao.org/faostat/en/#data/QCL.
- 4.Cantürk A., Cemek B., Taşan M., Taşan S. Effect of Deficit Irrigation On Yield, Water Productivity, Energy Indices and Economic Productivity in Eggplant Cultivation. Gesunde Pflanz. 2023;75:1579–1589. doi: 10.1007/s10343-022-00814-z. [DOI] [Google Scholar]
- 5.Darko R.O., Yuan S., Sekyere J.D.O., Liu J. Effect of Deficit Irrigation on Yield and Quality of Eggplant. Int. J. Environ. Agric. Biotechnol. 2019;4:1325–1333. doi: 10.22161/ijeab.45.5. [DOI] [Google Scholar]
- 6.Nour M.M., Aljabi H.R., AL-Huqail A.A., Horneburg B., Mohammed A.E., Alotaibi M.O. Drought responses and adaptation in plants differing in life-form. Front. Ecol. Evol. 2024;12:1452427. doi: 10.3389/fevo.2024.1452427. [DOI] [Google Scholar]
- 7.Soltabayeva A., Ongaltay A., Omondi J.O., Srivastava S. Morphological, Physiological and Molecular Markers for Salt-Stressed Plants. Plants. 2021;10:243. doi: 10.3390/plants10020243. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Fiorentini M., Zenobi S., Giorgini E., Basili D., Conti C., Pro C., Monaci E., Orsini R. Nitrogen and chlorophyll status determination in durum wheat as influenced by fertilization and soil management: Preliminary results. PLoS ONE. 2019;14:e0225126. doi: 10.1371/journal.pone.0225126. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Angel Y., McCabe M.I. Machine Learning Strategies for the Retrieval of Leaf-Chlorophyll Dynamics: Model Choice, Sequential Versus Retraining Learning, and Hyperspectral Predictors. Front. Plant Sci. 2022;13:722442. doi: 10.3389/fpls.2022.722442. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Liakos K.G., Busato P., Moshou D., Pearson S., Bochtis D. Machine Learning in Agriculture: A Review. Sensors. 2018;18:2674. doi: 10.3390/s18082674. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Wang W., Cheng Y., Ren Y., Zhang Z., Geng H. Prediction of Chlorophyll Content in Multi-Temporal Winter Wheat Based on Multispectral and Machine Learning. Front. Plant Sci. 2022;13:896408. doi: 10.3389/fpls.2022.896408. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Chen T., Guestrin C. XGBoost: A Scalable Tree Boosting System; Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; New York, NY, USA. 13–17 August 2016; pp. 785–794. [DOI] [Google Scholar]
- 13.Prokhorenkova L., Gusev G., Vorobev A., Dorogush A.V., Gulin A. Advances in Neural Information Processing Systems. Volume 31. Curran Associates, Inc.; Vancouver, BC, Canada: 2018. [(accessed on 12 November 2026)]. CatBoost: Unbiased boosting with categorical features; pp. 6639–6649. Available online: https://proceedings.neurips.cc/paper_files/paper/2018/file/14491b756b3a51daac41c24863285549-Paper.pdf. [Google Scholar]
- 14.Breiman L. Random Forests. Mach. Learn. 2001;45:5–32. doi: 10.1023/A:1010933404324. [DOI] [Google Scholar]
- 15.Lundberg S.M., Lee S.-I. Advances in Neural Information Processing Systems. Volume 30. Curran Associates, Inc.; Long Beach, CA, USA: 2017. [(accessed on 12 November 2026)]. A Unified Approach to Interpreting Model Predictions; pp. 4765–4774. Available online: https://proceedings.neurips.cc/paper_files/paper/2017/file/8a20a8621978632d76c43dfd28b67767-Paper.pdf. [Google Scholar]
- 16.Ribeiro M.T., Singh S., Guestrin C. Model-Agnostic Interpretability of Machine Learning. arXiv. 20161606.05386 [Google Scholar]
- 17.Mohan R.N.V.J., Rayanoothala P.S.S., Sree R.P. Next-gen agriculture: Integrating AI and XAI for precision crop yield predictions. Front. Plant Sci. 2025;15:1451607. doi: 10.3389/fpls.2024.1451607. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Sonobe R., Hirono Y., Oi A. Non-Destructive Detection of Tea Leaf Chlorophyll Content Using Hyperspectral Reflectance and Machine Learning Algorithms. Plants. 2020;9:368. doi: 10.3390/plants9030368. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Li X., Zhu B., Li S., Liu L., Song K., Liu J. A Comprehensive Review of Crop Chlorophyll Mapping Using Remote Sensing Approaches: Achievements, Limitations, and Future Perspectives. Sensors. 2025;25:2345. doi: 10.3390/s25082345. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Yang C., Feng M., Bai J., Sun H., Bi R., Song L., Wang C., Zhao Y., Yang W., Xiao L., et al. Hyperspectral estimation of chlorophyll density in winter wheat using fractional-order derivative combined with machine learning. Front. Plant Sci. 2025;15:1492059. doi: 10.3389/fpls.2024.1492059. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Kirnak H., Tas I., Kaya C., Higgs D. Effects of deficit irrigation on growth, yield and fruit quality of eggplant under semi-arid conditions. Aust. J. Agric. Res. 2002;53:1367–1373. doi: 10.1071/AR02014. [DOI] [Google Scholar]
- 22.Wakchaure G.C., Minhas P.S., Meena K.K., Kumar S., Rane J. Effect of plant growth regulators and deficit irrigation on canopy traits, yield, water productivity and fruit quality of eggplant (Solanum melongena L.) grown in the water scarce environment. J. Environ. Manag. 2020;262:110320. doi: 10.1016/j.jenvman.2020.110320. [DOI] [PubMed] [Google Scholar]
- 23.Luan X., Vico G. Canopy temperature and heat stress are increased by compound high air temperature and water stress and reduced by irrigation—A modeling analysis. Hydrol. Earth Syst. Sci. 2021;25:1411–1423. doi: 10.5194/hess-25-1411-2021. [DOI] [Google Scholar]
- 24.Krasnopolsky V. Applying machine learning in numerical weather and climate modeling systems. Climate. 2024;12:78. doi: 10.3390/cli12060078. [DOI] [Google Scholar]
- 25.Martínez-Santos P., Gómez-Escalonilla V., Díaz-Alcaide S., del Rosario M.R., Aguilera H. A surrogate approach to model groundwater level in time and space based on tree regressors. Appl. Water Sci. 2025;15:206. doi: 10.1007/s13201-025-02572-5. [DOI] [Google Scholar]
- 26.Vapnik V.N. Statistical Learning Theory. Wiley; New York, NY, USA: 1998. [Google Scholar]
- 27.Cherkassky V., Ma Y. Practical selection of SVM parameters and noise estimation for SVM regression. Neural Netw. 2004;17:113–126. doi: 10.1016/S0893-6080(03)00169-2. [DOI] [PubMed] [Google Scholar]
- 28.Jones H.G., Stoll M., Santos T., Sousa C.D., Chaves M.M., Grant O.M. Use of infrared thermography for monitoring stomatal closure in the field: Application to grapevine. J. Exp. Bot. 2002;53:2249–2260. doi: 10.1093/jxb/erf083. [DOI] [PubMed] [Google Scholar]
- 29.Quan Q., He N., Zhang R., Wang J., Luo Y., Ma F., Pan J., Wang R., Liu C., Zhang J., et al. Plant height as an indicator for alpine carbon sequestration and ecosystem response to warming. Nat. Plants. 2024;10:890–900. doi: 10.1038/s41477-024-01705-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Guyon I., Elisseeff A. An Introduction to Variable and Feature Selection. [(accessed on 12 November 2026)];J. Mach. Learn. Res. 2003 3:1157–1182. Available online: https://www.jmlr.org/papers/volume3/guyon03a/guyon03a.pdf. [Google Scholar]
- 31.Thomas H., Ougham H.J. The stay-green trait. J. Exp. Bot. 2014;65:3889–3900. doi: 10.1093/jxb/eru037. [DOI] [PubMed] [Google Scholar]
- 32.Farooq M., Basra S., Wahid A., Ahmad N., Saleem B.A. Improving the drought tolerance in rice (Oryza sativa L.) by exogenous application of salicylic acid. J. Agron. Crop Sci. 2009;195:237–246. doi: 10.1111/j.1439-037X.2009.00365.x. [DOI] [Google Scholar]
- 33.Munné-Bosch S., Alegre L. Die and let live: Leaf senescence contributes to plant survival under drought stress. Funct. Plant Biol. 2004;31:203–216. doi: 10.1071/FP03236. [DOI] [PubMed] [Google Scholar]
- 34.Jeong J.H., Resop J.P., Mueller N.D., Fleisher D.H., Yun K., Butler E.E., Dennis J., Timlin D.J., Shi K.M., Gerber J.S., et al. Random Forests for Global and Regional Crop Yield Predictions. PLoS ONE. 2016;11:e0156571. doi: 10.1371/journal.pone.0156571. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Elbeltagi A., Srivastava A., Cao X., Bilali A.E., Raza A., Khadke L., Salem A. An interpretable machine learning approach based on SHAP, Sobol and LIME values for precise estimation of daily soybean crop coefficients. Sci. Rep. 2025;15:36594. doi: 10.1038/s41598-025-20386-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Xu R., Ferguson J., Breil-Aubert M., Kromdijk J., Nikoloski Z. Generalizability and transferability of machine learning models using hyperspectral reflectance data for maize traits. Sci. Rep. 2026;16:5865. doi: 10.1038/s41598-026-36819-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Arnon D.I. Copper Enzymes in Isolated Chloroplasts. Polyphenoloxidase In Beta Vulgaris. Plant Physiol. 1949;24:1–15. doi: 10.1104/pp.24.1.1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Bounoua I., Saidi Y., Yaagoubi R., Bouziani M. Deep Learning Approaches for Water Stress Forecasting in Arboriculture Using Time Series of Remote Sensing Images: Comparative Study between ConvLSTM and CNN-LSTM Models. Technologies. 2024;12:77. doi: 10.3390/technologies12060077. [DOI] [Google Scholar]
- 39.Turan M., Dengiz O., Turan İ.D. Samsun İlinin Newhall Modeline Göre Toprak Sıcaklık ve Nem Rejimlerinin Belirlenmesi. [Determination of soil moisture and temperature regimes for Samsun Province according to Newhall model] Turk. J. Agric. Res. 2018;5:131–142. doi: 10.19159/tutad.382340. [DOI] [Google Scholar]
- 40.Richards L.A. Diagnosis and Improvement of Saline and Alkali Soils. U.S. Government Printing Office; Washington, DC, USA: 1954. [(accessed on 12 November 2026)]. Available online: https://www.ars.usda.gov/ARSUserFiles/20360500/hb60_pdf/hb60complete.pdf. [Google Scholar]
- 41.Bouyoucos G.J. A recalibration of the hydrometer method for making mechanical analysis of soils. Agron. J. 1951;43:434–438. doi: 10.2134/agronj1951.00021962004300090005x. [DOI] [Google Scholar]
- 42.Cemek B., Tasan S., Canturk A., Tasan M., Simsek H. Machine learning techniques in estimation of eggplant crop evapotranspiration. Appl. Water Sci. 2023;13:136. doi: 10.1007/s13201-023-01942-1. [DOI] [Google Scholar]
- 43.Köksal E.S. Evaluation of spectral vegetation indices as an indicator of crop coefficient and evapotranspiration under full and deficit irrigation conditions. Int. J. Remote Sens. 2008;29:7029–7043. doi: 10.1080/01431160802226000. [DOI] [Google Scholar]
- 44.McMaster G.S., Wilhelm W.W. Growing degree-days: One equation, two interpretations. Agric. For. Meteorol. 1997;87:291–300. doi: 10.1016/S0168-1923(97)00027-0. [DOI] [Google Scholar]
- 45.Grinsztajn L., Oyallon E., Varoquaux G. Advances in Neural Information Processing Systems. Volume 35. Curran Associates, Inc.; Vancouver, BC, Canada: 2022. [(accessed on 12 November 2026)]. Why do tree-based models still outperform deep learning on typical tabular data? pp. 507–520. Available online: https://proceedings.neurips.cc/paper_files/paper/2022/file/0378c7692da36807bdec87ab043cdadc-Paper-Datasets_and_Benchmarks.pdf. [DOI] [Google Scholar]
- 46.Benos L., Tagarakis A.C., Dolias G., Berruto R., Kateris D., Bochtis D. Machine Learning in Agriculture: A Comprehensive Updated Review. Sensors. 2021;21:3758. doi: 10.3390/s21113758. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Pedregosa F., Varoquaux G., Gramfort A., Michel V., Thirion B., Grisel O., Blondel M., Prettenhofer P., Weiss R., Dubourg V., et al. Scikit-learn: Machine learning in Python. [(accessed on 12 November 2026)];J. Mach. Learn. Res. 2011 12:2825–2830. Available online: https://www.jmlr.org/papers/volume12/pedregosa11a/pedregosa11a.pdf?source=post_page. [Google Scholar]
- 48.Ozupek E., Teke A., Celik N., Kavzoglu T. Explainable artificial intelligence to explore the intrinsic characteristics of climatic parameters governing meteorological drought forecasting: Opening the black box. Stoch. Environ. Res. Risk Assess. 2025;39:3201–3222. doi: 10.1007/s00477-025-03007-y. [DOI] [Google Scholar]
- 49.Khan R., Shah A.M., Ijaz A., Sumeer A. Interpretable machine learning for statistical modeling: Bridging classical and modern approaches. Int. J. Soc. Sci. Bull. 2025;3:43–50. doi: 10.5281/zenodo.16737426. [DOI] [Google Scholar]
- 50.Patton M.Q. Qualitative Research and Evaluation Methods. 4th ed. Sage Publications; Thousand Oaks, CA, USA: 2002. [(accessed on 12 November 2026)]. Available online: https://books.google.com.tr/books?hl=tr&lr=&id=ovAkBQAAQBAJ&oi. [Google Scholar]
- 51.Salih A.M., Raisi-Estabragh Z., Galazzo I.B., Radeva P., Petersen S.E., Lekadir K., Menegaz G. A Perspective on Explainable Artificial Intelligence Methods: SHAP and LIME. Adv. Intell. Syst. 2025;7:2400304. doi: 10.1002/aisy.202400304. [DOI] [Google Scholar]
- 52.Roberts D.R., Bahn V., Ciuti S., Boyce M.S., Elith J., Guillera-Arroita G., Hauenstein S., Lahoz-Monfort J.J., Schröder B., Thuiller W., et al. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography. 2017;40:913–929. doi: 10.1111/ecog.02881. [DOI] [Google Scholar]
- 53.Varma S., Simon R. Bias in error estimation when using cross-validation for model selection. BMC Bioinform. 2006;7:91. doi: 10.1186/1471-2105-7-91. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Nash J.E., Sutcliffe J.V. River flow forecasting through conceptual models part I—A discussion of principles. J. Hydrol. 1970;10:282–290. doi: 10.1016/0022-1694(70)90255-6. [DOI] [Google Scholar]
- 55.Morales A., Villalobos F.J. Using machine learning for crop yield prediction in the past or the future. Front. Plant Sci. 2023;14:1128388. doi: 10.3389/fpls.2023.1128388. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Knoben W.J., Freer J.E., Woods R.A. Inherent benchmark or not? Comparing Nash–Sutcliffe and Kling–Gupta efficiency scores. Hydrol. Earth Syst. Sci. 2019;23:4323–4331. doi: 10.5194/hess-23-4323-2019. [DOI] [Google Scholar]
- 57.Chicco D., Warrens M.J., Jurman G. The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation. Peerj Comp. Sci. 2021;7:e623. doi: 10.7717/peerj-cs.623. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Laird N.M., Ware J.H. Random-effects models for longitudinal data. Biometrics. 1982;38:963–974. doi: 10.2307/2529876. [DOI] [Google Scholar]
- 59.Patterson H.D., Thompson R. Recovery of inter-block information when block sizes are unequal. Biometrika. 1971;58:545–554. doi: 10.1093/biomet/58.3.545. [DOI] [Google Scholar]
- 60.Satterthwaite F.E. An approximate distribution of estimates of variance components. Biom. Bull. 1946;2:110–114. doi: 10.2307/3002019. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The data supporting the findings of this study are provided in the Supplementary Materials (Tables S1–S13, Figure S1 and Supplementary Data S1–S6). Supplementary Data S1 lists the hyperparameters selected in each validation fold; S2 the nested leave-one-year-out and leave-one-series-out results; S3 the cluster-bootstrap confidence intervals; S4 the absolute test errors of the hold-out evaluation used in the mixed-effects model (16,272 observation-level values); S5 the nested LOYO/LOSO predictions; and S6 the hold-out performance metrics of all algorithms. Further inquiries can be directed to the corresponding author.
