Abstract
This study aimed to evaluate the prediction potential of phenology metrics from two vegetation indices using Sentinel-2 images, the Normalized Difference Vegetation Index (NDVI) and Three Red-Edge Vegetation Index (NDVI3RE), for maize yield prediction. Ground truth maize yield samples were collected near Koška, Croatia, on 13 October 2023, using a Quantimeter yield mapping sensor on Claas Lexion 6900 combine harvester. The phenology analysis was performed based on a time-series of all available Sentinel-2 images during 2023, using the Beck logistic model for determining the start of season (SOS), peak of season (POS), end of season (EOS), greenup, maturity, senescence, and dormancy. A total of fourteen covariates, including vegetation indices at phenology metrics and their occurrence dates, were used for machine learning prediction of maize yield using Random Forest (RF) and Support Vector Machine (SVM) regression. The results suggested that the SVM method based on NDVI phenology metrics produced the highest accuracy for maize yield prediction (R2 = 0.935, RMSE = 0.558 t ha−1, MAE = 0.399 t ha−1). Vegetation index values at greenup, dormancy and POS were the most important covariates for the prediction, while day of year (DOY) in which they occurred had only a minor effect on the prediction accuracy. This suggests that, despite its limitations regarding the saturation effect, NDVI outperformed NDVI3RE for maize yield prediction when combined with phenology metrics.
1. Introduction
Accurate and timely crop yield prediction is crucial for optimizing agricultural productivity, ensuring food security, and supporting sustainable farming practices [1]. In recent years, remote sensing has become an indispensable tool for monitoring crop growth and estimating yields at regional and field scales [2]. Among the various approaches, vegetation indices derived from multispectral satellite imagery have proven particularly effective in assessing crop health, biomass, and developmental stages. The Normalized Difference Vegetation Index (NDVI) has been widely used due to its strong correlation with photosynthetic activity and canopy structure [3]. However, newer indices, such as the Three Red-Edge Vegetation Index (NDVI3RE), rely on the red-edge spectral bands, which are highly sensitive to subtle changes in chlorophyll content, offering improved discrimination of crop stress and phenological transitions [4]. These advancements are especially valuable for maize, a globally significant crop with dynamic growth patterns that influence final yield.
Phenology, the study of periodic plant life-cycle events, has a fundamental role in understanding crop performance and yield variability. Key phenological stages, including the start of season (SOS), peak of season (POS), and end of season (EOS), reflect critical transitions in crop development, including peak biomass accumulation and leaf senescence [5]. Remote sensing-based phenology analysis enables the extraction of these stages from time-series satellite data, providing insights into how crop growth dynamics correlate with yield outcomes [6]. The Beck logistic model is particularly useful for deriving these phenological metrics, as it effectively smooths time-series vegetation index data and identifies inflection points corresponding to key growth phases [7]. Recent advances in machine learning have further enhanced the predictive power of phenology-based yield models by uncovering complex, nonlinear relationships between vegetation indices, phenological metrics, and final crop yield [8,9]. Algorithms such as decision trees, support vector machines and neural networks can process high-dimensional datasets, including multi-temporal satellite imagery and derived phenology metrics, to generate robust yield forecasts [10]. Machine learning models trained on phenology metrics demonstrated improved accuracy compared to traditional regression approaches [8].
Since the emergence of novel vegetation indices, which improve the resistance to saturation in cases of high biomass [11], there is a potential to improve maize yield prediction accuracy in comparison to conventionally used vegetation indices, especially NDVI. Therefore, the aim of this study was to evaluate the ability of phenology metrics based on NDVI3RE from Sentinel-2 images to predict maize yield based on ground truth yield map collected using a combine harvester.
2. Materials and Methods
2.1. Study Area and Data
The study was conducted in a 14.3 ha area maize field located near Koška, Croatia (Figure 1), a region characterized by a temperate continental climate with warm summers and cold winters. The selected field is representative of typical agricultural practices in the area, including conventional tillage and fertilization. Ground truth maize yield data were collected on 13 October 2023, during the harvest period, with a total of 1094 yield samples. Yield measurements were obtained using a Quantimeter yield mapping sensor mounted on a Claas Lexion 6900 combine harvester. The sensor recorded georeferenced yield values at a high spatial resolution, with measurements logged at 5 s intervals, corresponding to a spatial resolution of about 5 to 15 m depending on harvesting speed. The raw yield data were preprocessed to remove errors caused by harvesting anomalies, such as no data values, missing values and zero yield entries, after which an outlier removal was performed using the median absolute deviation (MAD) method. The threshold for outlier removal was based on 3 MAD from the median, with all values outside of this range being treated as outliers.
Figure 1.
A display of the study area and maize yield sampling locations.
All available Sentinel-2 Level-2A surface reflectance images covering the study area during the 2023 growing season were obtained from the Google Earth Engine. The dataset included images from both Sentinel-2A and Sentinel-2B satellites to maximize temporal resolution, achieving a revisit time of approximately five days under cloud-free conditions [12]. The preprocessing steps involved cloud and shadow masking using the Scene Classification Layer provided with Sentinel-2 Level-2A data. All spectral bands were resampled to a uniform 10 m resolution using bilinear interpolation to ensure consistency across the dataset.
2.2. Vegetation Indices and Phenology Analysis
Two vegetation indices, NDVI and NDVI3RE, were computed from the preprocessed Sentinel-2 imagery. These indices were selected due to their sensitivity to vegetation dynamics, with NDVI3RE particularly effective in capturing subtle variations in crop health through the red-edge spectrum. They were calculated according to Equations (1) and (2) [4,13]:
where abbreviations designate bottom-of-atmosphere surface reflectance in: R–red band (Band 4), –first red-edge band (Band 5), –second red-edge band (Band 6), –third red-edge band (Band 7), NIR–near-infrared band (Band 8). Phenological metrics were derived from the NDVI and NDVI3RE time-series using the Beck logistic model [7], which fitted a double logistic function to the vegetation index trajectories. Key phenological stages extracted included SOS, POS, EOS, greenup, maturity, senescence, and dormancy according to the procedure explained in [14]. The day of year (DOY) values of occurrence for each metric were calculated as additional temporal predictors for yield modeling.
2.3. Machine Learning Prediction of Maize Yield and Accuracy Assessment
A total of fourteen covariates were used for yield prediction, including vegetation index values at calculated phenological metrics and DOY values of occurrence for seven phenological metrics (SOS, POS, EOS, greenup, maturity, senescence, and dormancy). Centering and scaling were used to preprocess data, subtracting the mean value from crop yield values and dividing by the standard deviation. Two machine learning regression algorithms were employed for yield prediction, including Random Forest (RF) and Support Vector Machine (SVM) regression. The RF algorithm is an ensemble method that builds multiple decision trees and aggregates their predictions, which was optimized by hyperparameter mtry, as the number of randomly selected features considered at each split [15]. The radial basis function (RBF) kernel was used for SVM regression, which is particularly effective for high-dimensional data [16]. Two hyperparameters were tuned for SVM, including the regularization parameter C, which adjusted the trade-off between model simplicity and training error tolerance, and sigma (σ), which defined the reach of the RBF kernel, influencing how closely the model fitted the training data. Hyperparameters for both methods were tuned using the random search approach in up to 10 iterations, with a search range of 2–14 for mtry, 0.25–1.00 for C, while σ was calculated from kernlab package based on a median estimate.
A 10-fold cross-validation approach was applied for the accuracy assessment, where the dataset was partitioned into ten equal folds, with each fold serving once as a validation set while the remaining nine folds were used for model training. Model performance was assessed using the root mean square error (RMSE), coefficient of determination (R2), and mean absolute error (MAE) for both 10-fold cross-validation and final model fit. RMSE and MAE were selected to quantify absolute prediction accuracy, with RMSE being more sensitive to large residuals, while MAE weighed all residuals the same and was less influenced by outliers. R2 was used to quantify the proportion of variance in observed yields, providing a measure of overall goodness of fit. Relative variable importances were calculated using the model-agnostic permutation importance approach. Variable importance values were standardized to a 0–100 range, where 0 designated the lowest and 100 the highest importance for prediction.
3. Results and Discussion
The cross-validation results presented in Table 1 demonstrate the performance of RF and SVM regression models in predicting maize yield using two vegetation indices, NDVI and NDVI3RE. Overall, both machine learning approaches showed moderate predictive capability, with R2 values ranging from 0.515 to 0.559. The SVM model using NDVI achieved the highest R2 (0.559) and the lowest RMSE (0.995 t/ha) and MAE (0.732 t ha−1), indicating slightly better performance compared to the RF model for the same vegetation index. However, the final model performance metrics presented in Table 2 noted significant improvements over the cross-validation results, particularly for the RF models. The NDVI-based RF model achieved the highest prediction accuracy with an R2 of 0.935, RMSE of 0.558 t ha−1, and MAE of 0.399 t ha−1, for maize yield prediction. While NDVI3RE produced higher cross-validation accuracy metrics compared to NDVI, the final models demonstrate the superiority of models based on NDVI, particularly in the RF implementation, where it outperformed NDVI3RE by 0.115 higher R2 (Figure 2). The dramatic improvement in RF performance from cross-validation to final modeling raises important considerations about model behavior. Performance of NDVI (RF) to achieve an R2 of 0.935 suggests it may be capturing nearly all the explainable variance in the yield data, potentially approaching the theoretical limit of predictability given measurement uncertainties in both satellite data and yield measurements. Moreover, the MAE values under 0.65 t ha−1 for all models indicate practical utility for precision agriculture applications, as this level of accuracy could support field-scale management decisions [17]. However, the substantial gap between cross-validation and final model performance (especially for RF) should be interpreted with caution, as it may indicate some degree of overfitting despite the earlier cross-validation results [18].
Table 1.
Cross-validation accuracy assessment and optimal hyperparameters.
Table 2.
Accuracy assessment results based on the final model fit.
Figure 2.
Scatterplots of the final model fit from evaluated machine learning models.
The variable importance analysis from the most accurate model (NDVI-RF) clearly favored the vegetation index values at phenology metrics in comparison to their occurrence at particular DOY (Table 3). The vegetation index (VI) value during greenup was the most important covariate, suggesting that early-season vigor, as captured by NDVI during rapid vegetative growth, is the single most reliable indicator of final yield potential [19]. This aligns with the observation that robust early growth establishes the photosynthetic foundation for grain production, which also benefits accurate early-season prediction of maize yield [20]. VI values at phenology metrics consistently outperformed their corresponding timing variables based on DOY in predictive importance, suggesting that the intensity of vegetation activity at key growth stages matters more than the precise calendar timing of those stages for yield prediction. The strong importance of VI at dormancy was noted, indicating that post-senescence vegetation characteristics retain significant predictive power, possibly reflecting residual stalk health or harvest readiness conditions. The relative unimportance of timing variables, particularly for SOS, challenges some conventional phenology-based yield forecasting approaches that emphasize growing season length [21]. The exception was DOY of senescence, which showed moderate predictive value, likely because late-season stress and its timing significantly impact grain filling and final yield.
Table 3.
Variable importance metrics from the most accurate machine learning model in the study.
Future research directions should investigate the reasons behind the superior performance of machine learning models based on NDVI in final models, despite the theoretical advantages of NDVI3RE [4]. The prediction accuracy of the NDVI-RF model suggests it should be considered as a benchmark for future yield prediction studies in similar agricultural systems. However, the large discrepancy between cross-validation and final model results indicates a need for more robust validation approaches, possibly involving multi-year datasets or spatial cross-validation to better estimate true operational performance. Moreover, a nested cross-validation should be evaluated in future studies as it was proven to resolve potential disadvantages of both cross-validation without hold-out and the split-sample approach due to its ability to prevent data leakage and minimize the randomness effect from training and validation data split [22].
4. Conclusions
The main conclusions based on the aim of this study, which was to evaluate the ability of phenology metrics based on NDVI3RE from Sentinel-2 images to predict maize yield based on ground truth yield map collected using a combine harvester, were as follows:
- NDVI-RF machine learning model produced the highest prediction accuracy based on final model fit (R2 = 0.935, RMSE = 0.558 t ha−1, MAE = 0.399 t ha−1). However, these metrics are notably different from those obtained from 10-fold cross-validation.
- Overall, machine learning models based on NDVI produced superior performance based on final model fit metrics despite NDVI3RE theoretical advantages.
- Vegetation index values at phenology metrics consistently outperformed their corresponding timing variables based on DOY in predictive importance, suggesting that the intensity of vegetation activity at key growth stages matters more than the precise calendar timing of those stages for yield prediction.
- The vegetation index value during greenup was the most important covariate, suggesting that early-season vigor, as captured by NDVI during rapid vegetative growth, is the single most reliable indicator of final yield potential.
Author Contributions
Conceptualization, D.R.; methodology, D.R.; software, D.R.; validation, I.P., Ž.B. and M.J.; formal analysis, D.R.; investigation, D.R.; resources, D.R.; data curation, D.R.; writing—original draft preparation, D.R.; writing—review and editing, D.R., I.P., Ž.B. and M.J.; visualization, D.R.; supervision, I.P. and M.J.; project administration, D.R.; funding acquisition, D.R. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data presented in this study are available on request from the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Zhu, X.; Guo, R.; Liu, T.; Xu, K. Crop Yield Prediction Based on Agrometeorological Indexes and Remote Sensing Data. Remote Sens. 2021, 13, 2016. [Google Scholar] [CrossRef] [Scilit]
- Ali, A.; Martelli, R.; Lupia, F.; Barbanti, L. Assessing Multiple Years’ Spatial Variability of Crop Yields Using Satellite Vegetation Indices. Remote Sens. 2019, 11, 2384. [Google Scholar] [CrossRef] [Scilit]
- Eisfelder, C.; Asam, S.; Hirner, A.; Reiners, P.; Holzwarth, S.; Bachmann, M.; Gessner, U.; Dietz, A.; Huth, J.; Bachofer, F.; et al. Seasonal Vegetation Trends for Europe over 30 Years from a Novel Normalised Difference Vegetation Index (NDVI) Time-Series—The TIMELINE NDVI Product. Remote Sens. 2023, 15, 3616. [Google Scholar] [CrossRef] [Scilit]
- Qiao, K.; Zhu, W.; Xie, Z.; Wu, S.; Li, S. New Three Red-Edge Vegetation Index (VI3RE) for Crop Seasonal LAI Prediction Using Sentinel-2 Data. Int. J. Appl. Earth Obs. Geoinf. 2024, 130, 103894. [Google Scholar] [CrossRef] [Scilit]
- Dronova, I.; Taddeo, S. Remote Sensing of Phenology: Towards the Comprehensive Indicators of Plant Community Dynamics from Species to Regional Scales. J. Ecol. 2022, 110, 1460–1484. [Google Scholar] [CrossRef] [Scilit]
- Diao, C.; Li, G. Near-Surface and High-Resolution Satellite Time Series for Detecting Crop Phenology. Remote Sens. 2022, 14, 1957. [Google Scholar] [CrossRef] [Scilit]
- Beck, P.S.A.; Atzberger, C.; Høgda, K.A.; Johansen, B.; Skidmore, A.K. Improved Monitoring of Vegetation Dynamics at Very High Latitudes: A New Method Using MODIS NDVI. Remote Sens. Environ. 2006, 100, 321–334. [Google Scholar] [CrossRef] [Scilit]
- Amankulova, K.; Farmonov, N.; Mukhtorov, U.; Mucsi, L. Sunflower Crop Yield Prediction by Advanced Statistical Modeling Using Satellite-Derived Vegetation Indices and Crop Phenology. Geocarto Int. 2023, 38, 2197509. [Google Scholar] [CrossRef] [Scilit]
- Radočaj, D.; Plaščak, I.; Jurišić, M.; Majić, I.; Ozimec, S.; Sarajlić, A.; Rožac, V. Phenology Analysis for Detection of Vegetation Changes Based on Landsat 8 Images in Nature Park Kopački Rit, Croatia. Geogr. Pannonica 2024, 28, 238–249. [Google Scholar] [CrossRef] [Scilit]
- Cravero, A.; Pardo, S.; Sepúlveda, S.; Muñoz, L. Challenges to Use Machine Learning in Agricultural Big Data: A Systematic Literature Review. Agronomy 2022, 12, 748. [Google Scholar] [CrossRef] [Scilit]
- Mutanga, O.; Masenyama, A.; Sibanda, M. Spectral Saturation in the Remote Sensing of High-Density Vegetation Traits: A Systematic Review of Progress, Challenges, and Prospects. ISPRS J. Photogramm. Remote Sens. 2023, 198, 297–309. [Google Scholar] [CrossRef] [Scilit]
- Radočaj, D.; Gašparović, M.; Jurišić, M. Open Remote Sensing Data in Digital Soil Organic Carbon Mapping: A Review. Agriculture 2024, 14, 1005. [Google Scholar] [CrossRef] [Scilit]
- Rouse, J.; Haas, R.H.; Schell, J.A.; Deering, D.W. Monitoring Vegetation Systems in the Great Plains with ERTS. NASA Spec. Publ. 1974, 351, 309. [Google Scholar]
- Kong, D.; Zhang, Y.; Wang, D.; Chen, J.; Gu, X. Photoperiod Explains the Asynchronization Between Vegetation Carbon Phenology and Vegetation Greenness Phenology. J. Geophys. Res. Biogeosci. 2020, 125, e2020JG005636. [Google Scholar] [CrossRef] [Scilit]
- Cutler, A.; Cutler, D.R.; Stevens, J.R. Random Forests. In Ensemble Machine Learning: Methods and Applications; Zhang, C., Ma, Y., Eds.; Springer: New York, NY, USA, 2012; pp. 157–175. ISBN 978-1-4419-9326-7. [Google Scholar]
- Varga, I.; Radočaj, D.; Jurišić, M.; Markulj Kulundžić, A.; Antunović, M. Prediction of Sugar Beet Yield and Quality Parameters with Varying Nitrogen Fertilization Using Ensemble Decision Trees and Artificial Neural Networks. Comput. Electron. Agric. 2023, 212, 108076. [Google Scholar] [CrossRef] [Scilit]
- Nyéki, A.; Neményi, M. Crop Yield Prediction in Precision Agriculture. Agronomy 2022, 12, 2460. [Google Scholar] [CrossRef] [Scilit]
- Radočaj, D.; Gašparović, M.; Jurišić, M. Cropland Suitability Prediction Method Based on Biophysical Variables from Copernicus Data and Machine Learning. Appl. Sci. 2025, 15, 372. [Google Scholar] [CrossRef] [Scilit]
- Shuai, G.; Fowler, A.; Basso, B. Within-Season Vegetation Indices and Yield Stability as a Predictor of Spatial Patterns of Maize (Zea Mays L) Yields. Precis. Agric. 2024, 25, 963–982. [Google Scholar] [CrossRef] [Scilit]
- Varela, S.; Pederson, T.; Bernacchi, C.J.; Leakey, A.D.B. Understanding Growth Dynamics and Yield Prediction of Sorghum Using High Temporal Resolution UAV Imagery Time Series and Machine Learning. Remote Sens. 2021, 13, 1763. [Google Scholar] [CrossRef] [Scilit]
- Pei, J.; Tan, S.; Zou, Y.; Liao, C.; He, Y.; Wang, J.; Huang, H.; Wang, T.; Tian, H.; Fang, H.; et al. The Role of Phenology in Crop Yield Prediction: Comparison of Ground-Based Phenology and Remotely Sensed Phenology. Agric. For. Meteorol. 2025, 361, 110340. [Google Scholar] [CrossRef] [Scilit]
- Lewis, M.J.; Spiliopoulou, A.; Goldmann, K.; Pitzalis, C.; McKeigue, P.; Barnes, M.R. Nestedcv: An R Package for Fast Implementation of Nested Cross-Validation with Embedded Feature Selection Designed for Transcriptomics and High-Dimensional Data. Bioinform. Adv. 2023, 3, vbad048. [Google Scholar] [CrossRef] [Scilit] [PubMed]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.

