Skip to Content
HorticulturaeHorticulturae
  • Article
  • Open Access

22 March 2026

26 Pages

An Interpretable Machine Learning Framework for Next-Day Frost Forecasting in Tea Plantations Using Multi-Source Meteorological Data

,
and
1
School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
2
School of Future Transportation, Nanjing Vocational Institute of Railway Technology, Nanjing 210031, China
*
Author to whom correspondence should be addressed.

Abstract

Spring frosts pose a major threat to tea production, causing severe damage to tender spring buds and substantial economic losses. To support timely frost protection measures, this study develops an interpretable machine learning framework for next-day frost forecasting in a tea plantation in Danyang, eastern China. Leveraging nine years (2008–2016) of multi-source data—including high-resolution on-site meteorological observations and daily records from surrounding regional stations—we engineered a comprehensive set of predictive features capturing local microclimatic, regional synoptic, and short-term temporal dynamics. A two-stage feature selection approach, combining Spearman correlation screening with SHAP-based importance ranking, identified an optimal subset of 14 robust predictors. Among eight benchmarked models, XGBoost achieved the best performance on a chronologically held-out test set, yielding a CSI of 0.736, accuracy of 91.0%, F1-Score of 0.848 and AUC-ROC of 0.968. Ablation experiments demonstrated the added value of data integration: model performance improved from a CSI of 0.617 (using only local data) to 0.736 (with full multi-source inputs). SHAP interpretability analysis further revealed that the model’s predictions align with established frost formation physics, highlighting key drivers such as nocturnal cooling rate and regional humidity. This work demonstrates that integrating multi-scale meteorological data with interpretable machine learning offers a reliable, transparent, and operationally viable tool for frost risk management—providing actionable insights to enhance resilience in precision horticulture for perennial crops like tea.

1. Introduction

Tea (Camellia sinensis L.) is a highly frost-sensitive perennial crop cultivated across diverse climatic regions worldwide, with tender spring buds particularly vulnerable to sub-zero temperatures during the critical pre-harvest period [1,2,3]. Frost damage represents a global challenge for tea production, with documented economic losses reaching 268 million USD in China (China Tea Marketing Association, 2010) and 45 million USD in Japan (2010) [4]. In the East African Kenya highlands, frost has contributed to an estimated 30% of tea leaf losses [5], affecting over half a million smallholder farmers who depend on tea for their livelihoods. Every year, smallholder farmers in the frost-vulnerable regions in Kenya lose approximately $212 in potential income due to frost events [6]. In China’s major tea-producing regions, late spring frosts—especially radiative frosts occurring under clear, calm nights—can cause severe physiological damage, leading to substantial yield loss and economic hardship for growers [7,8,9,10,11]. The Zhenjiang region of Jiangsu Province, a key production area for high-quality green tea, experiences recurrent frost events from November to April, with March frosts posing the greatest threat due to advanced bud development. Timely and accurate frost forecasts [12] are therefore essential for enabling proactive protective measures, such as irrigation or canopy covering [13,14], to mitigate agricultural losses.
Conventional approaches to frost prediction in tea plantations have primarily relied on non-machine learning methods that remain widely used due to their interpretability and lower data requirements. These include remote sensing-based models combining MODIS land surface temperature with digital elevation models to estimate minimum air temperatures and map regional frost risk zones [7], as well as phenology-meteorological indices such as the potential frost risk index that weights cold accumulation by budburst timing to assess long-term risk evolution under climate change [15]. Physical-empirical models have also been developed to simulate cold air drainage and pooling in complex terrain, enabling fine-scale (10–100 m) estimation of minimum temperature variations driven by topography [16]. However, a recent evaluation of MODIS-derived land surface temperature for frost mapping in Kenya’s tea plantations found only moderate accuracy (AUC = 0.69), highlighting the limitations of single-source remote sensing approaches and recommending the inclusion of additional factors beyond temperature thresholds for improved frost identification [6]. While these non-ML methods offer valuable interpretability and operational simplicity—particularly for regional risk assessment and data-sparse regions—they are inherently limited in their capacity to integrate heterogeneous data sources and capture the complex, non-linear interactions among meteorological variables that govern frost formation at the field scale.
Recent advances in machine learning (ML) offer new opportunities for microscale agrometeorological forecasting. Within tea-specific research, studies have employed support vector machines (SVM) and artificial neural networks (ANN) for regional-scale frost hazard classification in Zhejiang Province, achieving accuracies up to 83.8% and demonstrating the value of integrating topographic and meteorological variables [3]. Random forest (RF) models have been applied to tea plantation risk assessment in Hangzhou, reaching 93% accuracy and automatically learning feature weights without subjective intervention [11]. More recently, deep learning approaches have emerged for cold injury monitoring: CNN and CNN-GRU models combined with hyperspectral and UAV-based multispectral imagery have achieved high accuracy (R2 up to 0.89) in quantifying tea plant cold stress responses [17,18], providing valuable tools for post-event damage assessment.
Beyond tea-specific studies, broader agricultural frost forecasting literature offers substantial methodological insights transferable to tea plantations. Comparative studies have evaluated multiple algorithms for 24 h frost classification, demonstrating that tree-based ensembles (Extra Trees, Random Forest, GBM, and XGBoost) achieve high performance while maintaining interpretability, with class imbalance techniques such as SMOTE significantly improving recall for rare frost events [19]. For short-term minimum temperature prediction (6–48 h), DNN, CNN, and RF models trained on in situ sensor data have outperformed numerical weather prediction (RMSE ≈ 1.5–1.7 °C) [20]. In complex terrain, CNN has shown particular strength for spatial downscaling of temperature forecasts and frost prediction (F1 = 0.78), effectively capturing topographic influences on cold air drainage [21]. Multi-station IoT networks combined with RF and SMOTE have demonstrated that incorporating neighboring station data substantially reduces prediction errors compared to single-station models [22]. Ensemble frameworks integrating deep learning with physical frost indices via AdaBoost voting have further improved forecast reliability across multiple regions [23]. A recent comprehensive review confirms that while RF, SVM, and ANN remain mainstream, CNN and LSTM are increasingly applied for spatiotemporal frost modeling, and that IoT-enabled data fusion represents a critical direction for operational systems [12].
Despite recent advances, critical gaps persist in tea frost prediction. Most tea-specific machine learning (ML) studies focus on regional risk classification or post-event cold injury assessment, with little attention to direct, next-day frost forecasting at the individual plantation scale. Conversely, general agricultural frost models—though methodologically diverse—are rarely validated in tea systems, where microclimatic heterogeneity and crop-specific vulnerability thresholds add unique complexity. Moreover, existing approaches typically rely on either local observations or coarse-scale data, lacking integration of multi-source meteorological information across spatial scales. While ML shows promise, rigorous comparisons of state-of-the-art algorithms, combined with ablation studies and interpretability analyses (e.g., feature contribution quantification), remain scarce in this domain. Most frost prediction approaches still depend on temperature threshold-based methods [6,21,24,25], which define frost occurrence when a single thermal variable (e.g., minimum air or surface temperature) drops below a fixed cutoff (commonly 0–4 °C). However, these thresholds lack universal physical grounding and vary widely across studies. More fundamentally, they oversimplify frost as a mere function of air temperature, reducing forecasting to temperature prediction and ignoring key microclimatic drivers—such as radiative cooling, humidity, and wind—that directly govern plant-level freezing [26]. Even when optimized to minimize missed events, such thresholds fail to capture all observed frost occurrences [27].
To address these gaps, this study proposes an integrated, interpretable, and operationally viable framework for next-day frost prediction in tea plantations. Leveraging a unique multi-source dataset—including high-resolution on-site hourly measurements, regional meteorological observations from surrounding stations, and manually verified frost impact records—we systematically engineer a comprehensive set of predictive features spanning three conceptual tiers: (i) in situ micro-meteorological conditions, (ii) mesoscale synoptic context, and (iii) short-term temporal trends. A two-stage feature selection protocol—combining Spearman correlation filtering with XGBoost-SHAP importance ranking—is employed to identify a robust, non-redundant feature subset. Subsequently, eight diverse machine learning models—from classical logistic regression to deep neural networks—are rigorously evaluated under a strict seasonal chronological split to ensure realistic generalization assessment. The optimal model is further subjected to global and local SHAP analysis to uncover dominant physical drivers and provide case-level explanations.
The primary contributions of this work are threefold:
  • We develop a physics-informed, multi-scale feature engineering framework that synergistically integrates high-resolution on-site micro-meteorological data, regional synoptic observations, and temporal dynamics to capture the full spectrum of frost-driving processes;
  • Through a rigorous feature ablation study, we quantitatively demonstrate the incremental predictive value of regional and temporal context beyond local variables—providing empirical justification for multi-source monitoring in agrometeorological forecasting;
  • We conduct a comprehensive benchmark of eight ML/DL models under a realistic seasonal chronological split, identifying XGBoost as the optimal architecture that balances accuracy, efficiency, and robustness for operational deployment;
  • We establish a transparent and physically consistent interpretability pipeline via SHAP analysis, linking model decisions to established frost formation mechanisms and delivering actionable insights for tea growers.
The remainder of this paper is organized as follows: Section 2 details the study site, data sources, preprocessing pipeline, feature engineering, and experimental design; Section 3 presents the results of feature selection, model comparison, and interpretability analysis; Section 4 discusses the implications of our findings in the context of operational forecasting and agrometeorological modeling; and Section 5 concludes with key takeaways and future directions.

2. Materials and Methods

2.1. Study Site and Data

2.1.1. Study Site

The study was conducted at a tea plantation in Danyang, Zhenjiang, Jiangsu Province, eastern China (32.02° N, 119.68° E; Figure 1). Located at the transition between the Ningzhen Hills and the Taihu Lake Plain (~18.5 m a.s.l.), the site experiences a humid subtropical monsoon climate and is a major producer of high-quality green tea.
Figure 1. Geographical location of the study area. (a) Map of Jiangsu Province showing the location of Zhenjiang City (highlighted area). (b) Detailed topographic map (hillshade) of the Zhenjiang area indicating the tea plantation study site (red triangle) and the surrounding regional meteorological stations (black dots).
The plantation covers approximately 133 hectares, with the experimental plot planted with the ‘Zhongcha 108’ tea cultivar (Camellia sinensis). The tea plants were approximately 1.2 m in height with a crown diameter of 0.7 m, planted at a row spacing of 0.4 m. All plants were in good physiological condition with no visible pests or diseases during the study period. Frosts occur frequently from November to April, with spring frosts in March posing a severe threat to tender buds and causing significant yield loss [28].

2.1.2. Data Sources

Three primary data sources were integrated in this study to support a multi-scale frost forecasting framework:
  • On-site Automatic Weather Station (2008–2016)
An on-site station recorded hourly micro-meteorological variables at 2 m height: air temperature (°C), relative humidity (%), wind speed (m/s) and direction (°), precipitation (mm), and solar radiation (W/m2). This high-resolution time series captures local conditions critical for frost formation.
2.
Regional Meteorological Stations (2008–2016)
Daily observations from five official stations within a 10–25 km radius (Figure 1b) provided synoptic context. Variables include daily max/min/mean air temperature, wind speed, sea-level pressure, relative humidity, precipitation, and sunshine duration. Despite coarser temporal resolution, these data reflect large-scale drivers—such as cold-air advection or regional cooling—that modulate local frost risk.
3.
Manual Frost Observation Records (2008–2016)
Daily frost occurrence at the tea plantation was determined through systematic on-site visual inspections conducted by trained agricultural technicians each morning (05:30–07:00 LT) during the frost seasons (November–April).
Frost observations were conducted along three fixed transects (each 200 m in length) spanning the plantation’s elevation gradient to capture spatial variability in frost occurrence due to microtopographic effects. At each transect, approximately 50 plants were randomly selected and marked for daily inspection, resulting in a total of 150 monitored plants across the site. This sampling intensity was designed to ensure representative coverage of the experimental area.
A day was labeled as a frost event (y = 1) if frost damage or visible hoar frost was observed on ≥10% of the inspected plants. This threshold was established in consultation with local agronomists to represent economically significant frost impact. Days with isolated frost on fewer than 10% of plants were considered non-frost (y = 0). Critically, labels were assigned independently of instrumental temperature readings, ensuring the target reflects actual agronomic impact rather than a thermal proxy.
This integration of high-resolution local measurements, regional synoptic data, and ground-truthed frost records forms the foundation of our multi-source forecasting system, enabling simultaneous representation of microclimatic processes and broader atmospheric dynamics.

2.2. Data Preprocessing and Train/Test Split

2.2.1. Temporal Range Selection

The original dataset spans from 12:00 on 11 December 2008, to 23:00 on 30 April 2016, comprising 65,370 hourly records. Since frost events in the Zhenjiang region are concentrated from November to April of the following year, data from May to October were excluded from analysis. This resulted in a focused dataset of 32,916 hourly records across eight frost seasons (2008–2009 to 2015–2016), corresponding to 1410 calendar days.

2.2.2. Data Quality Inspection

To ensure robust model training, we applied a rigorous multi-stage quality control (QC) [29] procedure to the raw hourly data:
  • Physical Plausibility Check: Hourly observations were first filtered using absolute physical thresholds: air temperature values outside −10 °C to 45 °C and relative humidity values outside 0% to 100% were flagged as erroneous.
  • Temporal and Climatological Consistency Check: To identify subtle sensor issues (e.g., drift or freezing), we compared daily temperatures against local seasonal norms. Readings far outside expected ranges—such as sustained values below −10 °C in November or above 35 °C in early spring—were flagged as instrumental errors.
Erroneous values identified through the above checks were treated as missing data. A total of 4517 hourly temperature records were removed, forming contiguous blocks of missing data spanning 189 days. The flagged data were primarily attributable to two extended periods of sensor malfunction, detailed below. To validate that these flagged data were indeed instrumental or data transmission errors rather than genuine meteorological extremes, we performed two independent checks: (1) cross-comparison against the nearest reference meteorological station (~12 km away), which confirmed no corresponding anomalies during the same periods; and (2) consultation of regional climate records from the Danyang Statistical Yearbook [30,31], which verified that such extreme values have never been documented in the study area. The flagged periods were randomly distributed across seasons and did not coincide with any known extreme weather events.
  • Period 1 (1 November 2010 to 22 February 2011): During this period, hourly temperature readings were persistently negative, ranging from −23.3 °C to −4.4 °C (Table S1), with 2674 records (59.2% of total flagged hours) falling below −10 °C. These values are climatologically implausible for Zhenjiang. According to the Danyang Statistical Yearbook 2012 [30], the mean temperature in November is 12.4 °C, the mean temperature in December is 6.0 °C, and the recorded minimum temperature for the entire winter of 2010 was −5 °C. The observed data, however, show November temperatures ranging from −16.3 °C to −4.4 °C, and December temperatures plummeting to −20.8 °C to −11.1 °C—all of which are physically impossible for the region. The systematic nature and duration of these anomalies point conclusively to instrumental or data transmission failure.
  • Period 2 (30 March 2014 to 6 December 2014): In contrast, this period exhibited persistently anomalously high temperature readings (Table S2). A total of 1843 records (40.8% of total flagged hours) exceeded 45 °C, with the highest recorded value reaching 82.4 °C—a value physically impossible for the study region. According to the Danyang Statistical Yearbook 2015 [31], the monthly mean temperatures for March, April, and November were 11.2 °C, 16.1 °C, and 13.1 °C, respectively. The observed extremes, including prolonged periods above 50 °C during spring and autumn, deviate so dramatically from climatological norms that they can only be attributed to instrumental or data transmission failure.

2.2.3. Dataset Partitioning Strategy

To prevent temporal data leakage and accurately simulate the operational forecasting cycle for frost prevention, the dataset was partitioned chronologically by frost season rather than calendar year. Each frost season is defined as the period from November of year N to April of year N + 1, encompassing the entirety of the local frost risk window. The split was structured as follows:
  • Training Set: Frost seasons spanning December 2008–April 2009, November 2009–April 2010, November 2010–April 2011, November 2011–April 2012, November 2012–April 2013, and November 2013–April 2014. This provided six complete seasons for model development.
  • Validation Set: The November 2014–April 2015 frost season, used exclusively for hyperparameter tuning and model selection.
  • Test Set: The most recent and entirely held-out frost season, November 2015–April 2016, reserved for the final, unbiased evaluation of the model’s predictive performance.
This strict seasonal temporal split ensures that the model is trained and validated on past frost seasons and tested on a future, unseen season. This mimics a realistic deployment scenario where the model must generalize to a new year’s complete frost period, which is a critical requirement for reliable operational agrometeorological warning systems.

2.3. Feature Engineering Framework

Predictive features were engineered from the cleaned dataset through two parallel processes for each calendar day D, creating a unified daily representation of the meteorological state.
  • Aggregation of Core Daily Statistics: Fundamental daily aggregates were calculated from the in situ tea garden Automatic Weather Station (AWS) hourly data. This included the daily minimum (Tmin_D), maximum (Tmax_D), and mean temperature (Tmean_D), mean relative humidity (RHmean_D), mean wind speed (WSmean_D), cumulative solar radiation (RADsum_D), and total rainfall (Rainfall_D). Concurrently, official daily summary data (e.g., minimum temperature) from the five surrounding regional meteorological stations were incorporated directly.
  • Derivation of Process-Based Features: To capture key physical processes, additional features were engineered from hourly sequences. A critical example is the early-evening cooling rate (Cooling_Rate_Sunset), calculated as the linear slope of temperature change between 17:00 and 22:00 Local Time on day D. This quantifies the initial nocturnal cooling intensity, a direct precursor to the overnight minimum temperature.
The complete feature set was organized into a hierarchical framework spanning three conceptual tiers, corresponding to distinct scales of frost formation: (1) In situ Micro-meteorological Features describing the fundamental garden state; (2) Regional Synoptic Features contextualizing local conditions within mesoscale weather patterns; and (3) Temporal Evolutionary Features capturing dynamic trends leading to the forecast day. This structure ensures the model integrates information from the immediate environment, broader weather context, and recent history. A summary of key features is presented in Table 1 (see Supplementary Table S3 for the complete list).
Table 1. Partly key features for next-day frost prediction.

2.4. Treatment of Missing Data and Labels

2.4.1. Summary of Missing Data

Following feature construction, we assessed the completeness of the input data. Missing values originated from three sources:
  • Complete daily gaps: 35 days had no hourly records for any meteorological element and were therefore excluded from daily aggregation.
  • Partial hourly gaps: 4 days missing only a single hour were imputed via linear in-terpolation [32] based on neighboring observations. 6 days with >12 missing hours were excluded from analysis.
  • Temperature-specific gaps: As detailed in Section 2.2.2, quality control removed erroneous temperature records, resulting in missing temperature data across 189 days. For these days, all other meteorological variables (humidity, wind, radiation, etc.) remained available.
In total, 41 days (35 complete + 6 partial) lacked any usable in situ data, while 189 days required temperature-specific imputation. The following strategies were applied to address these missing values.

2.4.2. Imputation of Missing Data

  • Regression-based Imputation for Spatially Coherent Variables
Missing values for variables with strong spatial coherence were imputed using linear regression models [33] trained on complete concurrent records exclusively from the training period (2008–2014). The fixed models were then applied to the entire dataset (2008–2016). This method was justified by high goodness-of-fit for key variables (Table 2).
Table 2. Linear regression parameters for imputing missing daily values at the tea garden station from the nearest reference station.
Temperature variables (Tmin_D, Tmax_D, Tmean_D), RHmean_D, and RADsum_D exhibited strong coherence (R2 = 0.645–0.985, p < 0.001; Figure 2 for temperature). Although WSmean_D showed lower explained variance (R2 = 0.198, p < 0.001), its regression imputation was retained as it provides a more informative, physics-based estimate than a static fill in complex terrain.
Figure 2. Linear regression relationship for daily (a) minimum temperature (Tmin_D) and (b) maximum temperature (Tmax_D) between the in situ tea garden station and the nearest reference station.
2.
Direct Substitution for Highly Localized Variables
For Rainfall_D, the non-significant regression (p = 0.440, R2 = 0.001) confirmed the extreme localization of convective rainfall. Following standard meteorological practice, missing values were directly substituted with contemporaneous observations from the nearest station.
3.
Seasonal Median Imputation for Derived Features
For features with inherent missingness (e.g., Cooling_Rate_Sunset, Delta_Tmin_1D at the beginning of each frost season), a monthly median imputation was applied to avoid seasonal bias. Monthly medians were computed from the training set (2009–2014), and all missing values were filled with the median corresponding to their calendar month, preserving climatological cycles while preventing data leakage.
4.
Expanding Window for Moving Average Features
For moving window features (e.g., Tmin_MA3), an expanding window approach was used at the beginning of dataset: day 1 used single value, day 2 used 2-day average, and from day 3 onward, the standard 3-day average was applied. This ensures that all predictions rely only on historically known data.

2.4.3. Cumulative Impact of Imputation

As described in Section 2.4.1 and Section 2.4.2, multiple imputation procedures were applied to address missing data: regression imputation for temperature variables on 41 completely missing days and 189 temperature-specific gap days; direct substitution for precipitation on the same 41 days; seasonal median imputation for derived features (e.g., Cooling_Rate_Sunset, Delta_Tmin_1D) on the 189 temperature-missing days; and expanding window handling for moving average features at the start of dataset (2 days in total).
To assess the cumulative impact of these procedures, we quantified the proportion of samples in each data split that underwent full imputation (all variables imputed) and those containing at least one imputed value. The results are presented in Table 3.
Table 3. Summary of samples containing imputed values in each dataset split.
In the training set (11 December 2008 to 30 April 2014), 15 days were completely missing (requiring full imputation of all variables, accounting for 1.4% of the set). An additional 154 days required temperature-specific imputation due to sensor malfunctions (Section 2.2.2), with their derived features (e.g., Cooling_Rate_Sunset, Delta_Tmin_1D) subsequently filled via seasonal median imputation. Furthermore, 2 days at the start of dataset required expanding window handling for moving average features (e.g., Tmin_MA3). In total, considering the combined effects of these procedures, 170 samples (16.2%) in the training set contained at least one imputed value, primarily attributable to the two extended sensor malfunction periods documented in Section 2.2.2.
The validation set (1 November 2014 to 30 April 2015) exhibited a higher proportion of imputed samples: 61 samples (33.7%) contained at least one imputed value, comprising 26 days (14.4%) with full imputation (due to complete daily data absence) and 35 days with temperature-specific gaps resulting from the second malfunction period (30 March 2014 to 6 December 2014), which extended into the early part of the validation window.
Critically, the test set (1 November 2015 to 30 April 2016) contains no imputed values whatsoever, ensuring that the final model evaluation is conducted on entirely original, high-quality data. This clean test set provides an unbiased assessment of model performance and confirms that the imputation procedures did not artificially inflate the reported metrics.

2.4.4. Handling Missing Frost Labels

Manual frost observations, while providing essential ground-truth data, are subject to inherent limitations such as occasional lapses in technician availability and the difficulty of detecting “black frost” (frost damage without visible ice crystals). To maintain the integrity and consistency of the dataset, we adopted a conservative approach for handling days with missing manual frost labels.
For days where manual observations were unavailable, we removed not only the day with the missing label but also the preceding day, as the label for the preceding day corresponds to the frost status of the missing-observation day. This ensures that no training sample relies on an unverified target value. A total of 66 missing labels were identified across the entire dataset, distributed as follows: 41 days in the training set, 12 days in the validation set, and 13 days in the test set. After applying the deletion rule (removing both the missing-label day and its predecessor), a total of 130 days were removed from the dataset. This rigorous deletion strategy guarantees that all samples used for model training, validation, and testing are based exclusively on verified, ground-truth frost observations, preserving the scientific integrity of the target variable.

2.5. Problem Formulation

This study formulates frost forecasting as a binary classification task for predicting frost occurrence on the next calendar day (D + 1) based on meteorological observations available up to the current day (D). Formally, let YD+1 ∈ {0, 1} denote the frost label for day D + 1, where
  • YD+1 = 1 indicates a frost event occurred,
  • YD+1 = 0 indicates no frost.
The model learns a mapping f : X D ↦ Y ^ D + 1 , where XD is the feature vector constructed from all available meteorological data (local, regional, and temporal) up to the end of day D, and Y ^ D + 1 is the predicted probability of frost.
Training samples are generated in an autoregressive fashion: for each historical day j with a known frost label on day j + 1, we form a sample (Xj, Yj+1). This ensures that predictions rely solely on information available at prediction time, preserving temporal causality and preventing data leakage.

2.6. Machine Learning and Deep Learning Models

To evaluate the suitability of different algorithmic approaches for next-day frost forecasting, we implemented eight representative machine learning models spanning linear, tree-based ensemble, and deep learning paradigms. All models were configured for binary classification, predicting the probability of frost occurrence on day D + 1 from the feature vector of day D.
  • Logistic Regression (LR) [34]: Served as a linear baseline. Its coefficients provide interpretable estimates of each feature’s linear contribution to frost risk.
  • Support Vector Machine (SVM) [35]: A kernel-based classifier that maps input features into a high-dimensional space to construct an optimal separating hyperplane. We used the radial basis function (RBF) kernel to capture non-linear decision boundaries, with class weights adjusted to account for label imbalance.
  • Random Forest (RF) [36]: A bagging-based ensemble of decorrelated decision trees, robust to overfitting and capable of capturing non-linearities and feature interactions.
  • XGBoost [37]: A regularized gradient-boosting framework that sequentially adds trees to minimize residuals. It incorporates L1/L2 regularization to control complexity and is widely recognized for high accuracy on tabular data.
  • LightGBM [38]: A gradient-boosting framework optimized for efficiency and scalability. It uses leaf-wise tree growth and histogram-based feature binning to accelerate training while maintaining high accuracy, making it well-suited for large or high-dimensional tabular data.
  • Multilayer Perceptron (MLP) [39]: A fully connected feedforward network implemented using scikit-learn’s MLPClassifier, serving as a generic deep learning baseline. The architecture consisted of an input layer with 14 neurons (corresponding to the 14 input features), two hidden layers with 79 and 82 neurons, respectively, each using ReLU activation, and an output layer with a single neuron using sigmoid activation for binary classification. The model was trained using the Adam optimizer with an initial learning rate of 0.00308 and L2 regularization parameter alpha = 0.00694. Training was performed for a maximum of 500 iterations. The total number of trainable parameters was 7828. Optimal hyperparameters were identified via Bayesian optimization.
  • 1D Convolutional Neural Network (1D-CNN) [40]: Treats the feature vector as a 1D sequence, using convolutional filters to learn local patterns among related features. The optimal architecture, identified via Bayesian optimization, consisted of a single convolutional layer with 16 filters, a kernel size of 4, and no pooling layer. The convolutional base was flattened and connected to one dense layer with 128 units (ReLU activation) and a dropout rate of 0.345, followed by a final sigmoid output. The model was trained with a batch size of 16 and a learning rate of 0.000307 using the Adam optimizer.
  • Long Short-Term Memory (LSTM) [41]: Processes sequences of consecutive daily feature vectors to model temporal evolution in weather conditions. A lookback window of 3 days (days D − 2, D − 1, and D) was used to predict the frost label for day D + 1. The optimal architecture, identified via Bayesian optimization, consisted of a single LSTM layer with 96 units (second LSTM layer was not selected), followed by a dense layer with 32 units (ReLU activation) and a final sigmoid output. Dropout of 0.328 was applied after the LSTM layer to mitigate overfitting. The model was trained with a batch size of 16 and a learning rate of 0.000682 using the Adam optimizer.
A unified Bayesian hyperparameter optimization framework using Optuna [42] was applied to all models. For tree-based models (RF, XGBoost, LightGBM), this included parameters such as the number of trees, maximum depth, and learning rate. For neural networks (MLP, 1D-CNN, LSTM), the search space encompassed architectural details (e.g., number of layers and units, dropout rate) and the learning rate. All neural networks were trained using the Adam optimizer with early stopping to prevent overfitting. This consistent optimization approach ensures a fair comparison of each model’s inherent capacity.

2.7. Evaluation Metrics

To comprehensively assess the performance of frost prediction models—a binary classification task with inherent class imbalance—we employed a suite of six complementary metrics [43]. These metrics evaluate distinct aspects from both statistical and operational perspectives, ensuring a robust and domain-aware evaluation. In all formulas, TP, TN, FP, and FN denote True Positives, True Negatives, False Positives, and False Negatives, respectively.
  • Accuracy
Accuracy measures the overall proportion of correct predictions. It is calculated as:
Accuracy = T P + T N T P + T N + F P + F N
While intuitive, accuracy can be misleading for imbalanced datasets. For instance, a model that always predicts “no frost” would achieve high accuracy in a region where frost is rare but would be operationally useless. Therefore, it is reported as a secondary metric to provide context.
2.
Probability of Detection (POD)
POD [44], equivalent to Recall in machine learning, quantifies the model’s ability to detect actual frost events. It is calculated as:
POD = T P T P + F N
This is a critical operational metric for risk prevention, as a high POD minimizes missed events that could lead to crop loss.
3.
False Alarm Ratio (FAR)
FAR [45] measures the proportion of predicted frost events that were false alarms. It is calculated as:
FAR = F P T P + F P
It directly assesses the reliability of warnings; a low FAR is essential to avoid “warning fatigue” and unnecessary mitigation costs.
4.
Critical Success Index (CSI)
Also known as the Threat Score (TS), the CSI [46] measures the model’s success in forecasting the event of interest, considering both missed events and false alarms. It is calculated as:
CSI = T P T P + F N + F P
It is a core operational metric in meteorological verification. It directly answers the question: “Of all the frost events that either occurred or were forecast, what fraction was correctly forecast?” It penalizes both misses (FN) and false alarms (FP), making it a stringent and balanced measure of overall forecast skill for the positive class. A higher CSI indicates a more practically useful warning system.
5.
F1-Score
The F1-Score is the harmonic mean of Precision (1 − FAR) and POD (Recall). It is calculated as:
F1-Score = 2 × Precision × POD Precision + POD = 2 T P 2 T P + F P + F N
It offers a single summary metric that balances detection capability and alarm reliability, facilitating comparison with broader machine learning literature.
6.
Area Under the ROC Curve (AUC-ROC)
The AUC-ROC evaluates the model’s inherent ability to discriminate between frost and non-frost days across all classification thresholds. The ROC curve plots the True Positive Rate (POD) against the False Positive Rate (FPR). The FRP is calculated as:
FPR = F P F P + T N
A high AUC value indicates excellent ranking quality of the predicted probabilities, which is crucial for selecting an optimal operational threshold based on the desired POD/FAR trade-off.
In summary, this multi-metric approach provides a holistic evaluation: Accuracy gives a general overview; CSI and F1-Score offer balanced summaries; POD and FAR deliver key operational insights; and AUC-ROC assesses fundamental discriminatory power.

2.8. Experimental Design

To develop a robust, interpretable, and operationally viable frost forecasting system, we adopted a two-stage experimental design. First, we identified the optimal feature configuration through feature selection [47] and a systematic ablation study [48] using XGBoost as a fixed evaluator. Second, with the best-performing feature set fixed, we conducted a comprehensive comparison of eight diverse machine learning models to determine the most effective architecture. Finally, for the top-performing model, we performed a comprehensive SHAP interpretability analysis to uncover the physical drivers of frost prediction. This decoupled approach ensures that feature and model contributions are evaluated independently, enabling clear attribution of performance gains and facilitating reproducibility.

2.8.1. Two-Stage Feature Selection

To construct a robust and interpretable frost forecasting model while mitigating the risk of overfitting and addressing the multicollinearity within the engineered feature set, a two-stage feature selection framework was employed.
  • Univariate filtering and redundancy removal: We first computed Spearman’s rank correlation [49] between each engineered feature and the frost label. Features with negligible association (|ρ| < 0.1) were discarded. Among the remaining features, pairs with |ρ| > 0.85 were considered redundant; only the feature with stronger absolute correlation to the target was retained.
  • Multivariate importance ranking via XGBoost-SHAP: An XGBoost model (default hyperparameters) was trained on the preliminary set. SHAP [50] values were computed on the validation set, and features were ranked by mean absolute |SHAP|. Those with |SHAP| > 0.05 were retained, resulting in a final candidate set for ablation testing.

2.8.2. Feature Ablation Study

To quantify the incremental value of regional and temporal information, we evaluated three nested feature sets using XGBoost as a fixed, high-capacity evaluator:
  • Set A (In situ): Core daily statistics from the tea garden station (e.g., Tmin_D, RHmean_D).
  • Set B (In situ + Regional): Set A augmented with regional synoptic features (e.g., Reg_RH_mean, P_gradient_NS).
  • Set C (Full Set): Set B further enhanced with temporal dynamics (e.g., Delta_Tmin_1D, Frost_D).
Models were trained on 2009–2014 data, with hyperparameters optimized to maximize CSI on the 2015 validation set. The best-performing set (highest CSI) was selected for the final model comparison.

2.8.3. Comprehensive Model Comparison

Using the optimal feature set, we compared eight models (Section 2.6): LR, SVM, RF, LightGBM, XGBoost, MLP, 1D-CNN, and LSTM. All models underwent rigorous hyperparameter tuning (Bayesian optimization) on the 2015 validation set, with CSI as the primary optimization metric. Input formats were adapted per model architecture (static vector for tree/MLP, 1D sequence for CNN, multi-day sequences for LSTM). Final models were retrained on 2009–2015 data and evaluated on the unseen 2016 test set to ensure unbiased comparison. All continuous features were standardized (z-score) using training-set statistics.

2.8.4. SHAP Interpretability Analysis

To explain the predictions of the best-performing model, a SHAP [51] analysis was conducted on the 2016 test set, comprising three levels:
  • Global Importance: Features were ranked by their mean absolute SHAP value.
  • Dependency Analysis: SHAP dependence plots visualized the marginal effect of top features and their key interactions.
  • Local explanations: SHAP force plots for representative cases—correct frost prediction, correct non-frost, and a misclassification—to illustrate instance-level reasoning.

3. Results

3.1. Data Overview and Label Characteristics

After applying the data cleaning and deletion procedures described in Section 2.4, the final dataset for model development and evaluation consisted of 967 samples in the training set, 157 samples in the validation set, and 156 samples in the test set. The class distribution for each split is summarized in Table 4.
Table 4. Sample sizes and class distribution for each dataset split.

3.2. Results of Feature Selection

3.2.1. Preliminary Feature Screening via Correlation Analysis

The results of the preliminary Spearman correlation analysis between the initial feature set and the frost occurrence label are presented in Table 5. As expected, temperature-related features dominated, with Tmin_D showing the strongest negative correlation (ρ = −0.652). Notably, regional features like Reg_Tmin_mean_D and Reg_P_mean (ρ = 0.537) exhibited correlations comparable to key on-site variables, while Frost_D served as a strong persistence indicator (ρ = 0.571).
Table 5. Spearman correlation of candidate features with the frost occurrence.
Five features with weak and non-significant correlations (Dry_Day_Flag, Synoptic_Type, DTR_D, RADsum_D, Reg_P_std,) were excluded from further analysis.
Examination of the remaining 20 features via a pairwise correlation heatmap (Figure 3) revealed substantial multicollinearity, particularly among temperature- and humidity-related variables:
Figure 3. Heatmap of Spearman’s rank correlation coefficients between engineered features.
  • Tmin_D was highly correlated with Reg_Tmin_Min (ρ = 0.98), Reg_Tmin_mean_D (ρ = 0.98), Tmin_MA3 (ρ = 0.91), and Reg_Tmin_MA3 (ρ = 0.90).
  • RHmean_D was highly correlated with Reg_RH_mean (ρ = 0.91).
To mitigate redundancy, we retained only the feature in each highly correlated pair that demonstrated the stronger absolute correlation with the frost label. This resulted in the removal of Reg_Tmin_Min, Tmin_MA3, Reg_Tmin_MA3, Reg_Tmin_mean_D (all redundant to Tmin_D), and RHmean_D (redundant to Reg_RH_mean). This process yielded a refined preliminary subset of 15 features for subsequent multivariate analysis.

3.2.2. Refined Feature Selection via XGBoost-SHAP Importance

The refined 15-feature subset was evaluated using XGBoost-SHAP analysis to assess multivariate importance. The mean absolute SHAP values, which represent each feature’s average marginal contribution to the model’s predictions, are ranked in Table 6. The top three features were local temperature extremes (Tmin_D, Tmax_D) and the process-based Cooling_Rate_Sunset.
Table 6. Feature importance ranking based on mean absolute SHAP values.
The SHAP ranking confirms the dominance of local thermal drivers. Notably, regional and composite features—particularly Reg_RH_mean, Cold_Index, and P_gradient_NS—emerged with substantial importance, highlighting the value of synoptic context beyond univariate correlations. Calm_Wind_Flag exhibited zero importance and was excluded from the final model. Applying a threshold of SHAP > 0.05, the top 14 features were selected for the final modeling suite.

3.3. Results of the Feature Ablation Study

The ablation study quantified the value of integrating multi-scale data (Table 7). Performance improved monotonically as feature groups were added. The Full Set (C), integrating in situ, regional, and temporal features, achieved the best overall performance (CSI = 0.736, F1 = 0.848, AUC = 0.968) and the lowest false alarm ratio (FAR = 0.170).
Table 7. Performance comparison of different feature sets on the 2016 test set.
Adding regional features (Set A → B) reduced the FAR by 36.8 percentage points (to 0.182) and increased the F1-score by 0.046, demonstrating the critical role of synoptic context. Further incorporating temporal dynamics (Set B → C) yielded additional gains, reaching peak performance. Confusion matrices (Figure 4) show this progression systematically reduced false alarms (from 15 to 8) while maintaining a high detection rate (POD ~0.87).
Figure 4. Confusion matrices of the XGBoost model on the 2016 test set using different feature sets. (a) Set A (in situ meteorological features only); (b) Set B (in situ combined with regional synoptic features); (c) Set C (full feature set incorporating in situ, regional, and temporal evolutionary features). Darker blue shades indicate higher counts, while lighter shades indicate lower counts. The values represent the number of days, arranged as true negatives (upper left), false positives (upper right), false negatives (lower left), and true positives (lower right).
The stepwise enhancement in model skill from Set A to Set C provides strong empirical evidence supporting the central hypothesis of this work: that machine learning models for spring frost forecasting benefit significantly from the strategic integration of on-site observations with both regional meteorological context and temporal dynamics. The reduction in FAR is particularly noteworthy for operational forecasting, as it translates to more reliable warnings and potentially lower economic impact from unnecessary protective measures.
To illustrate the final input format for reproducibility, a concrete example of the optimized feature vector XD for a sample day (10 March 2016) is provided below. This 11-dimensional vector corresponds to the optimized feature set and was used as input to all models for predicting YD+1 (frost occurrence on 11 March 2016): XD = {Tmin_D: 0.8, Tmax_D: 8.2, Cooling_Rate_Sunset: −1.33, Reg_RH_mean: 51, Cold_Index: 1.14, P_gradient_NS: 0.30, Delta_Tmin_1D: −1.4, Reg_P_mean: 1000.1, WSmean_D: 0.08, Frost_D: 0, Delta_Tmin_D: −0.74}.

3.4. Model Comparison Under Full Feature Set

We conducted a comprehensive evaluation of eight machine learning and deep learning models for spring frost forecasting, all trained on the same optimized 11-feature set. Hyperparameters were tuned via Bayesian optimization (Optuna, 100 trials) using the Critical Success Index (CSI) as the objective metric to prioritize reliable frost detection. Model performance was assessed on the independent test set (November 2015–April 2016); results are summarized in Table 8 and visualized across six metrics in Figure 5. The corresponding confusion matrices for all models are presented in Figure 6, providing a detailed breakdown of true positives, false positives, true negatives, and false negatives.
Table 8. Performance comparison of different models on the independent test set using the full feature set.
Figure 5. Performance comparison of eight models across six evaluation metrics under full feature set.
Figure 6. Confusion matrices of all models on the 2016 frost test set. The LSTM matrix contains fewer total samples (120) due to its requirement for continuous temporal sequences, which reduced the number of usable samples after data cleaning (Section 2.4.4). Darker blue shades indicate higher counts, while lighter shades indicate lower counts. The values represent the number of days, arranged as true negatives (upper left), false positives (upper right), false negatives (lower left), and true positives (lower right).
XGBoost achieved the best overall performance, leading in accuracy (0.910), CSI (0.736), and F1-score (0.848)—a dominance clearly reflected in its largest radar profile area (Figure 5). The 1D-CNN matched XGBoost in accuracy (0.910) and ranked second by F1-score (0.844) and CSI (0.731), demonstrating strong and consistent performance. Notably, the 1D-CNN exhibited a low false alarm ratio (FAR = 0.156), indicating good precision.
The LSTM model, configured with a lookback window of three days, achieved the highest accuracy (0.917) and POD (0.900) among all models, with a CSI of 0.730 and F1-score of 0.844—comparable to XGBoost and 1D-CNN. Its false alarm ratio (FAR = 0.206) was slightly higher than those of XGBoost (0.170) and 1D-CNN (0.156), while remaining below that of MLP (0.213). However, it is important to note that the LSTM’s sample construction differs from other models: due to its requirement for temporally continuous sequences, the removal of samples with imputed labels (Section 2.4.3) fragmented the time series, resulting in fewer usable training and test samples for the LSTM compared to models that process individual days independently. This data fragmentation inherently disadvantages sequential architectures, and the LSTM’s competitive performance despite this limitation is noteworthy. As shown in Figure 6, the LSTM’s confusion matrix reflects this reduced sample count, with a total of 120 test samples compared to 156 for other models.
Traditional models maintained solid performance: Logistic Regression (F1 = 0.830) and SVM (F1 = 0.842) offered interpretable baselines, while tree-based ensembles (LightGBM, Random Forest) provided robust results with favorable FAR values (0.146–0.150).
To assess whether the performance difference between the top-performing models was statistically significant, we applied McNemar’s test to the predictions of XGBoost and 1D-CNN on the test set. The test yielded a p-value of 1.0, indicating that the observed difference (CSI: 0.736 vs. 0.731) is not statistically significant at the α = 0.05 level. This result is consistent with the small magnitude of the difference and the modest size of the test set (156 samples).

3.5. SHAP Interpretability Analysis Results

To elucidate the prediction mechanism of the optimal XGBoost model and assess its alignment with the physical principles of radiative frost formation, we conducted a SHAP (SHapley Additive exPlanations) analysis on the 2016 test set. Results are presented in Figure 7 (global importance and effect direction) and Figure 8 (feature dependence and interactions).
Figure 7. SHAP-based feature importance and effect analysis for the optimal XGBoost model. (a) Global feature importance ranked by mean absolute SHAP value. Higher values indicate greater average impact on model predictions. (b) Summary plot showing the distribution of SHAP values for each feature. Each point represents a test sample, colored by its feature value (red: high, blue: low). The spread along the x-axis indicates the magnitude and direction (positive/negative) of each feature’s effect on the predicted frost probability.
Figure 8. SHAP dependence plots for the six most important features influencing frost prediction. Each panel shows the relationship between the feature value and its SHAP value (impact on model output), with points colored by a secondary variable to reveal interactions. (a) Tmin_D colored by Cooling_Rate_Sunset; (b) Tmax_D colored by Cooling_Rate_Sunset; (c) Cooling_Rate_Sunset colored by Tmin_D; (d) Reg_RH_mean colored by Tmax_D; (e) Cold_Index colored by Tmax_D; (f) P_gradient_NS colored by Cold_Index.
Figure 7a ranks features by mean absolute SHAP value, revealing Tmin_D as the most influential predictor [52] (1.331), followed by Tmax_D (1.206) and Cooling_Rate_Sunset (0.597). This hierarchy corroborates both domain knowledge and preliminary correlation analyses, confirming the model’s focus on key thermal drivers. Figure 7b further shows how feature values modulate predictions. For Tmin_D, lower temperatures (blue) consistently yield positive SHAP values (higher frost probability), while higher temperatures (red) produce negative effects—exactly as expected physically. Similarly, recent frost occurrence (Frost_D) is associated with elevated frost risk, reflecting the model’s ability to capture temporal clustering of frost events.
Figure 8 displays dependence plots for the six most important features, uncovering nonlinear responses and key interactions:
  • Tmin_D (Panel a) exhibits a strong monotonic increase in frost probability as temperatures decrease.
  • Tmax_D (Panel b) shows an inverse relationship: warmer days reduce frost risk, but this effect is mitigated when Cooling_Rate_Sunset is rapid (color gradient), indicating that intense nocturnal cooling can override daytime warmth.
  • Cooling_Rate_Sunset (Panel c) displays threshold-like behavior: faster post-sunset cooling sharply increases frost likelihood, especially under cold conditions (low Tmin_D), underscoring the critical role of radiative cooling dynamics.
  • Reg_RH_mean (Panel d) positively influences frost probability at moderate-to-high humidity levels, consistent with the role of moisture in promoting condensation and reducing longwave heat loss.
  • Cold_Index (Panel e) shows a non-monotonic relationship: lower values (indicating stronger cold-air pooling) are associated with higher frost probability, particularly when paired with low Tmin_D (purple points). This suggests that the model identifies effective cold-air accumulation—rather than extreme cold alone—as a key driver of frost events.
  • P_gradient_NS (Panel f) shows a modest positive association with frost (Figure 8f), potentially reflecting synoptic-scale cold-air advection into the valley.
Collectively, these results demonstrate that the model has learned physically coherent and interpretable relationships, rather than spurious statistical artifacts. The consistent modulation of temperature effects by cooling rate, humidity, and synoptic context reveals a nuanced understanding of the interplay between local microclimate and regional weather. This interpretability not only advances scientific insight into frost mechanisms but also bolsters confidence in the model’s operational reliability for tea plantation frost forecasting.

3.6. Case Study: A Successfully Predicted Radiative Frost Event (11 March 2016)

This case illustrates a classic radiative frost event driven by strong nocturnal cooling. On March 10, 2016, clear skies and near-calm winds (WSmean_D = 0.08 m/s) enabled efficient heat loss. Moderate daytime heating (Tmax_D = 8.2 °C) was followed by rapid post-sunset cooling (Cooling_Rate_Sunset = −1.33 °C/h), resulting in a minimum temperature of 0.80 °C and observed frost.
The XGBoost model assigned a frost probability of 95.7%, correctly predicting the event. The SHAP force plot (Figure 9) decomposes this prediction into feature-level contributions. The dominant positive driver was the rapid cooling rate, reinforced by several synergistic factors: high regional pressure (Reg_P_mean, indicating clear skies), very low wind speed (supporting a stable boundary layer), and a modest cold index (suggesting limited thermal inertia). The only mitigating factor was a weak north–south pressure gradient (P_gradient_NS = 0.30), which the model interpreted as inducing slight airflow—insufficient to offset the strong radiative drivers.
Figure 9. SHAP force plot explaining the XGBoost model’s prediction for the radiative frost event of 11 March 2016. Red arrows indicate features pushing the prediction toward higher frost probability, while blue arrows indicate features reducing it. The length of each arrow corresponds to the magnitude of the feature’s contribution.
Notably, the model did not rely solely on the absolute Tmin_D (0.80 °C), which alone might be ambiguous near the freezing threshold. Instead, it integrated the full diurnal evolution—daytime warmth followed by unimpeded radiative cooling under calm, clear conditions—to infer high frost likelihood. This process-oriented reasoning mirrors expert meteorological diagnosis and demonstrates the model’s capacity to capture the dynamics of frost formation, not just static thresholds. While this single case highlights the model’s interpretability under ideal conditions, its consistent performance across the entire test set (Section 3.4) confirms that such physically grounded logic generalizes robustly.

4. Discussion

4.1. Efficacy of Feature Engineering and the Value of Data Integration

The two-stage feature selection—Spearman-based screening followed by XGBoost-SHAP ranking—proved highly effective for this collinear, high-dimensional meteorological dataset. The initial filter removed weakly predictive features (e.g., DTR_D, Synoptic_Type), while SHAP importance in a multivariate context revealed nuanced rankings unattainable via correlation alone, yielding a parsimonious 14-feature set with strong predictive power.
A central finding is the confirmed primacy of on-site microclimatic variables. The dominance of Tmin_D and Tmax_D in the SHAP importance ranking (Table 6, Figure 7a) validates temperature as the fundamental driver of frost occurrence. Notably, the elevated importance of Tmax_D in the multivariate model underscores that the algorithm learned to consider the diurnal heat budget as critical context for nocturnal cooling, a sophistication beyond simple thresholding on minimum temperature.
Critically, this study provides quantitative evidence supporting the core hypothesis of integrated forecasting. The ablation study (Section 3.3, Table 7) demonstrated a clear, stepwise improvement in predictive skill: the model utilizing only core on-site features achieved an F1-score of 0.763. Performance increased to 0.046 upon integrating regional synoptic features, and reached its optimum (0.848) with the further addition of temporal dynamic features. This progression, particularly the significant lift attributed to regional features, underscores their role in capturing the modulating influence of synoptic-scale weather systems on local frost risk.

4.2. Algorithm Selection: Why XGBoost Prevails for Frost Forecasting

XGBoost emerged as one of the top-performing models across all metrics (Accuracy = 0.910, POD = 0.867, FAR = 0.170, CSI = 0.736, F1 = 0.848, AUC-ROC = 0.968), tied with 1D-CNN for the highest accuracy and closely competing with LSTM and SVM across other measures. Its strong performance reflects its alignment with the characteristics of daily frost forecasting based on aggregated meteorological features.
The suitability of XGBoost for this task stems from several key strengths. First, it effectively captures the nonlinear relationships and high-order interactions inherent in meteorological data, such as the joint influence of low temperature, rapid cooling rate, and high humidity on frost risk. This capability often surpasses linear models (LR) and bagged ensembles (RF) by iteratively refining predictions through gradient-based optimization.
Second, while deep learning models achieved competitive performance, they exhibited practical trade-offs. The LSTM, configured with a three-day lookback window, attained the highest accuracy (0.917) and POD (0.900) but at the cost of an elevated false alarm ratio (FAR = 0.206) relative to XGBoost (0.170) and 1D-CNN (0.156). Moreover, the removal of samples with missing labels (Section 2.4.4) fragmented the time series into shorter continuous segments, which inherently disadvantages recurrent architectures that rely on long sequences for training. The 1D-CNN matched XGBoost in accuracy and achieved a favorable FAR (0.156), but required substantially longer training time—316 s on an Intel i5-8250U processor with 16 GB RAM, compared to only 45 s for XGBoost—and offered limited interpretability.
Third, interpretability is a critical advantage of XGBoost for operational applications. As demonstrated in Section 3.5, SHAP analysis provides transparent, instance-level explanations of model predictions, enabling end-users—such as farm managers—to understand the key drivers of frost risk and build trust in automated warnings. This transparency is particularly valuable in agricultural settings, where decisions to deploy frost protection measures carry significant economic consequences.
Finally, the data characteristics of this task favor tree-based models. Our forecasting problem is formulated on daily aggregated features rather than raw time series. In this setting, the ability to model complex long-term temporal dependencies—the primary strength of recurrent architectures—is less critical than efficiently capturing cross-feature interactions and nonlinearities, which gradient-boosted trees handle exceptionally well.
When considered together, these advantages—comparable predictive accuracy, superior interpretability, and substantially greater computational efficiency—establish XGBoost as the most practical choice for operational deployment. The modest performance differences among top models, while not statistically significant given the test set size, are outweighed by these operational considerations. For real-world frost forecasting systems, where models must be retrained annually/monthly with new data and predictions must be explainable to end-users, XGBoost emerges as the most suitable candidate for tea plantation applications.

4.3. Interpretability, Physical Consistency, and Operational Trust

SHAP analysis transforms the high-performing XGBoost model from a black box into a physically interpretable decision-support tool, bridging data-driven prediction and meteorological understanding.
The global feature ranking—Tmin_D > Tmax_D > Cooling_Rate_Sunset > Reg_RH_mean > Cold_Index—aligns closely with established radiative frost physics, prioritizing direct drivers (minimum temperature, cooling rate) while appropriately weighting contextual factors (daytime heat reserve, humidity, cold-air advection).
At the local level, the 11 March 2016 case study (Figure 9) demonstrates the model’s process-based reasoning. Its high-confidence forecast (95.7% frost probability) emerged not from a single extreme variable but from a coherent synthesis of synergistic conditions: rapid post-sunset cooling, clear skies (high pressure), calm winds, and antecedent cold. This holistic assessment—mirroring an expert forecaster’s evaluation of the day’s weather narrative—enables users to understand the “why” behind each prediction, thereby fostering operational trust and supporting informed decisions on mitigation actions.

4.4. Limitations and Future Directions

Despite promising results, this study has several limitations that point to key avenues for future work.
First, the spatiotemporal scope of the data is constrained. While eight frost seasons capture substantial interannual variability, a longer record would better resolve the influence of low-frequency climate modes. Spatially, regional inputs rely on a limited station network; integrating high-resolution gridded reanalysis or numerical weather prediction outputs (e.g., from ECMWF or CMA) could improve representation of topographic and mesoscale effects.
Second, frost labels derive from manual field observations, which—though ecologically valid—are subject to human judgment and may miss events under dense canopy or during weekends/holidays. Future studies should incorporate automated monitoring [18] (e.g., thermal imaging or canopy temperature sensors) for continuous, objective ground truth.
Third, the model was developed and validated specifically for the Danyang tea plantation in Zhenjiang. Direct transfer to other tea-growing regions with differing topography or macroclimate may degrade performance. Multi-region data collection, combined with transfer learning or domain adaptation, could support more generalizable frost forecasting systems.
In conclusion, this study demonstrates that integrating multi-source meteorological data with an interpretable machine learning framework—exemplified by the XGBoost model—enables both high-accuracy frost forecasting and physically coherent explanations. The model’s strong performance, coupled with its transparency through SHAP-based interpretability, bridges the gap between data-driven prediction and domain understanding. This synergy is critical for building operational trust and supporting the adoption of AI tools in real-world agricultural decision-making, ultimately contributing to more effective and resilient frost mitigation strategies in tea cultivation.

5. Conclusions

This study presents an interpretable machine learning framework for site-specific spring frost forecasting in tea plantations, integrating on-site micro-meteorological and regional synoptic data. A two-stage feature selection approach yielded a compact yet highly predictive set of variables. An ablation study confirmed that incorporating regional features significantly improves forecast skill over models using on-site data alone. The XGBoost model achieved superior performance while offering transparent, physically consistent predictions through SHAP analysis—capturing key drivers and their interactions without relying on opaque black-box logic. By moving beyond static temperature thresholds to a dynamic, multi-scale risk assessment, the framework provides actionable forecasts that enhance operational decision-making. The methodological framework—integrating multi-scale data with interpretable machine learning—is potentially applicable to frost forecasting for other high-value perennial crops, though site-specific recalibration and validation would be required.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/horticulturae12030392/s1, Table S1: Examples of flagged erroneous temperature records from the on-site weather station (1 November 2010 to 22 February 2011); Table S2: Examples of flagged erroneous temperature records from the on-site weather station (20 March 2014 to 6 December 2014); Table S3: Complete list of all engineered features.

Author Contributions

Conceptualization, Z.Z., P.L. and J.W.; methodology, Z.Z., P.L. and J.W.; software, Z.Z.; validation, Z.Z., P.L. and J.W.; formal analysis, Z.Z. and J.W.; investigation, Z.Z. resources, P.L. and J.W.; data curation, Z.Z.; writing—original draft preparation, Z.Z.; writing—review and editing, Z.Z., P.L. and J.W.; visualization, Z.Z. and J.W.; supervision, P.L. and J.W.; project administration, P.L. and J.W. 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.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Lou, W.; Zhao, Y.; Huang, X.; Zhu, T.; Yang, M.; Deng, S.; Zhou, Z.; Zhang, Y.; Sun, Q.; Chen, S. Frost Risk Assessment Based on the Frost-Induced Injury Rate of Tea Buds: A Case Study of the Yuezhou Longjing Tea Production Area, China. Eur. J. Agron. 2023, 147, 126839. [Google Scholar] [CrossRef] [Scilit]
  2. Li, X.; Ahammed, G.J.; Li, Z.-X.; Zhang, L.; Wei, J.-P.; Yan, P.; Zhang, L.-P.; Han, W.-Y. Freezing Stress Deteriorates Tea Quality of New Flush by Inducing Photosynthetic Inhibition and Oxidative Stress in Mature Leaves. Sci. Hortic. 2018, 230, 155–160. [Google Scholar] [CrossRef] [Scilit]
  3. Xu, J.; Guga, S.; Rong, G.; Riao, D.; Liu, X.; Li, K.; Zhang, J. Estimation of Frost Hazard for Tea Tree in Zhejiang Province Based on Machine Learning. Agriculture 2021, 11, 607. [Google Scholar] [CrossRef] [Scilit]
  4. Kimura, K.; Yasutake, D.; Oki, T.; Yoshida, K.; Kitano, M. Dynamic Modelling of Cold-Hardiness in Tea Buds by Imitating Past Temperature Memory. Ann. Bot. 2021, 127, 317–326. [Google Scholar] [CrossRef] [Scilit]
  5. Cheserek, B.C.; Elbehri, A.; Bore, J. Analysis of Links between Climate Variables and Tea Production in the Recent Past in Kenya. Donnish J. Res. Environ. Stud. 2015, 2, 5–17. [Google Scholar]
  6. Kotikot, S.M.; Flores, A.; Griffin, R.E.; Sedah, A.; Nyaga, J.; Mugo, R.; Limaye, A.; Irwin, D.E. Mapping Threats to Agriculture in East Africa: Performance of MODIS Derived LST for Frost Identification in Kenya’s Tea Plantations. Int. J. Appl. Earth Obs. Geoinf. 2018, 72, 131–139. [Google Scholar] [CrossRef] [Scilit]
  7. Wang, P.; Tang, J.; Ma, Y.; Wu, D.; Yang, J.; Jin, Z.; Huo, Z. Mapping Threats of Spring Frost Damage to Tea Plants Using Satellite-Based Minimum Temperature Estimation in China. Remote Sens. 2021, 13, 2713. [Google Scholar] [CrossRef] [Scilit]
  8. Yan, Y.; Jeong, S.; Park, C.-E.; Mueller, N.D.; Piao, S.; Park, H.; Joo, J.; Chen, X.; Wang, X.; Liu, J.; et al. Effects of Extreme Temperature on China’s Tea Production. Environ. Res. Lett. 2021, 16, 044040. [Google Scholar] [CrossRef] [Scilit]
  9. Lou, W.; Ji, Z.; Sun, K.; Zhou, J. Application of Remote Sensing and GIS for Assessing Economic Loss Caused by Frost Damage to Tea Plantations. Precis. Agric. 2013, 14, 606–620. [Google Scholar] [CrossRef] [Scilit]
  10. Tang, J.; Wang, P.; Li, X.; Yang, J.; Wu, D.; Ma, Y.; Li, S.; Jin, Z.; Huo, Z. Disaster Event-Based Spring Frost Dam-age Identification Indicator for Tea Plants and Its Applications over the Region North of the Yangtze River, China. Ecol. Indic. 2023, 146, 109912. [Google Scholar] [CrossRef] [Scilit]
  11. Han, Y.; He, Y.; Liang, Z.; Shi, G.; Zhu, X.; Qiu, X. Risk Assessment and Application of Tea Frost Hazard in Hangzhou City Based on the Random Forest Algorithm. Agriculture 2023, 13, 327. [Google Scholar] [CrossRef] [Scilit]
  12. Hua, W.; Heinemann, P.; He, L. Frost Management in Agriculture with Advanced Sensing, Modeling, and Artificial Intelligent Technologies: A Review. Comput. Electron. Agric. 2025, 231, 110027. [Google Scholar] [CrossRef] [Scilit]
  13. Chen, P.-H.; Lin, R.-H.; Chiu, C.-F.; Lin, Y.-S. Mitigating Low-Temperature Frost Damage in Taiwan High-Altitude Tea Cultivation: Physiological Insight and Protective Strategies. Planta 2025, 261, 125. [Google Scholar] [CrossRef] [Scilit]
  14. Pan, Q.; Lu, Y.; Hu, H.; Hu, Y. Review and Research Prospects on Sprinkler Irrigation Frost Protection for Horticultural Crops. Sci. Hortic. 2024, 326, 112775. [Google Scholar] [CrossRef] [Scilit]
  15. Kimura, K.; Kudo, K.; Maruyama, A. Spatiotemporal Distribution of the Potential Risk of Frost Damage in Tea Fields from 1981–2020: A Modeling Approach Considering Phenology and Meteorology. J. Agric. Meteorol. 2021, 77, 224–234. [Google Scholar] [CrossRef] [Scilit]
  16. Kimura, K. Fine-Scale Mapping of Daily Minimum Temperature in a Cropland with Complex Terrains through the Combination of a Cold Flow Accumulation Model with Inversion Strength. Agric. For. Meteorol. 2023, 329, 109247. [Google Scholar] [CrossRef] [Scilit]
  17. Mao, Y.; Li, H.; Wang, Y.; Fan, K.; Shen, J.; Zhang, J.; Han, X.; Song, Y.; Bi, C.; Sun, L.; et al. Low Temperature Response Index for Monitoring Freezing Injury of Tea Plant. Front. Plant Sci. 2023, 14, 1096490. [Google Scholar] [CrossRef] [Scilit]
  18. Mao, Y.; Li, H.; Wang, Y.; Wang, H.; Shen, J.; Xu, Y.; Ding, S.; Wang, H.; Ding, Z.; Fan, K. Rapid Monitoring of Tea Plants under Cold Stress Based on UAV Multi-Sensor Data. Comput. Electron. Agric. 2023, 213, 108176. [Google Scholar] [CrossRef] [Scilit]
  19. Pérez Tárraga, J.; Castillo-Cara, M.; Arias-Antúnez, E.; Dujovne, D. Frost Forecasting through Machine Learning Algorithms. Earth Sci. Inf. 2025, 18, 183. [Google Scholar] [CrossRef] [Scilit]
  20. Talsma, C.J.; Solander, K.C.; Mudunuru, M.K.; Crawford, B.; Powell, M.R. Frost Prediction Using Machine Learning and Deep Neural Network Models. Front. Artif. Intell. 2023, 5, 963781. [Google Scholar] [CrossRef] [Scilit]
  21. Bhakare, S.; Matiu, M.; Crespi, A.; Zardi, D. Spatial Downscaling of Daily Temperature Minima Using Machine Learning Methods and Application to Frost Forecasting in Two Alpine Valleys. Atmosphere 2025, 16, 38. [Google Scholar] [CrossRef] [Scilit]
  22. Diedrichs, A.L.; Bromberg, F.; Dujovne, D.; Brun-Laguna, K.; Watteyne, T. Prediction of Frost Events Using Machine Learning and IoT Sensing Devices. IEEE Internet Things J. 2018, 5, 4589–4597. [Google Scholar] [CrossRef] [Scilit]
  23. De Almeida, V.A.; Anochi, J.A.; Rozante, J.R.; De Campos Velho, H.F. Machine Learning with Voting Committee for Frost Prediction. Meteorology 2025, 4, 6. [Google Scholar] [CrossRef] [Scilit]
  24. Masaki, Y. First and Last Frost Date Determinations Based on Meteorological Observations in Japan: Trend Analysis and Estimation Scheme Construction. Theor. Appl. Climatol. 2021, 145, 411–426. [Google Scholar] [CrossRef] [Scilit]
  25. Wu, Z.; Li, K.; Yuan, L.; Zhang, J.; Zhou, X.; Chen, D.; Wei, K. Tea Plantation Frost Damage Early Warning Using a Two-Fold Method for Temperature Prediction. Phyton 2022, 91, 2269–2282. [Google Scholar] [CrossRef] [Scilit]
  26. Song, H.; Hu, Y.; Lu, Y.; Wang, J.; Pan, Q.; Li, P. A Review of Methods and Techniques for Detecting Frost on Plant Surfaces. Agriculture 2021, 11, 1142. [Google Scholar] [CrossRef] [Scilit]
  27. Omazić, B.; Anić, M.; Telišman Prtenjak, M.; Kvakić, M.; Blašković, L. Analysis of Different Existing Measurement-Based Methods and a New Approach for Frost Probability Detection. Agric. For. Meteorol. 2024, 347, 109898. [Google Scholar] [CrossRef] [Scilit]
  28. Zhang, Z.; Li, P.; Wang, J. A Meteorological Data Quality Control Framework for Tea Plantations Using Association Rules Mined from ERA5 Reanalysis Data. Agriculture 2026, 16, 226. [Google Scholar] [CrossRef] [Scilit]
  29. Dandrifosse, S.; Jago, A.; Huart, J.P.; Michaud, V.; Planchon, V.; Rosillon, D. Automatic Quality Control of Weather Data for Timely Decisions in Agriculture. Smart Agric. Technol. 2024, 8, 100445. [Google Scholar] [CrossRef] [Scilit]
  30. Danyang Municipal Bureau of Statistics; National Bureau of Statistics Danyang Survey Team. Danyang Statistical Yearbook 2012; China Statistics Press: Beijing, China, 2012.
  31. Danyang Municipal Bureau of Statistics; National Bureau of Statistics Danyang Survey Team. Danyang Statistical Yearbook 2015; China Statistics Press: Beijing, China, 2015.
  32. Cerlini, P.B.; Silvestri, L.; Saraceni, M. Quality Control and Gap-filling Methods Applied to Hourly Temperature Observations over Central Italy. Meteorol. Appl. 2020, 27, e1913. [Google Scholar] [CrossRef] [Scilit]
  33. Alejo-Sanchez, L.E.; Márquez-Grajales, A.; Salas-Martínez, F.; Franco-Arcega, A.; López-Morales, V.; Acevedo-Sandoval, O.A.; González-Ramírez, C.A.; Villegas-Vega, R. Missing Data Imputation of Climate Time Series: A Review. MethodsX 2025, 15, 103455. [Google Scholar] [CrossRef] [Scilit]
  34. Bewick, V.; Cheek, L.; Ball, J. Statistics Review 14: Logistic Regression. Crit Care 2005, 9, 112. [Google Scholar] [CrossRef] [Scilit]
  35. Valkenborg, D.; Rousseau, A.-J.; Geubbelmans, M.; Burzykowski, T. Support Vector Machines. Am. J. Orthod. Dentofac. Orthop. 2023, 164, 754–757. [Google Scholar] [CrossRef] [Scilit]
  36. Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
  37. Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
  38. Sai, M.J.; Chettri, P.; Panigrahi, R.; Garg, A.; Bhoi, A.K.; Barsocchi, P. An Ensemble of Light Gradient Boosting Machine and Adaptive Boosting for Prediction of Type-2 Diabetes. Int. J. Comput. Intell. Syst. 2023, 16, 14. [Google Scholar] [CrossRef] [Scilit]
  39. Ramchoun, H.; Idrissi, M.A.J.; Ghanou, Y.; Ettaouil, M. Multilayer Perceptron: Architecture Optimization and Training. Int. J. Interact. Multimed. Artif. Intell. 2016, 4, 26–30. [Google Scholar] [CrossRef] [Scilit]
  40. Kiranyaz, S.; Avci, O.; Abdeljaber, O.; Ince, T.; Gabbouj, M.; Inman, D.J. 1D Convolutional Neural Networks and Applications: A Survey. Mech. Syst. Signal Process. 2021, 151, 107398. [Google Scholar] [CrossRef] [Scilit]
  41. Krichen, M.; Mihoub, A. Long Short-Term Memory Networks: A Comprehensive Survey. AI 2025, 6, 215. [Google Scholar] [CrossRef] [Scilit]
  42. Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. Optuna: A Next-Generation Hyperparameter Optimization Framework. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining; ACM: Anchorage, AK, USA, 2019; pp. 2623–2631. [Google Scholar]
  43. Riyanto, S.; Sitanggang, I.S.; Djatna, T.; Atikah, T.D. Comparative Analysis Using Various Performance Metrics in Imbalanced Data for Multi-Class Text Classification. Int. J. Adv. Comput. Sci. Appl. 2023, 14, 1082–1090. [Google Scholar] [CrossRef] [Scilit]
  44. Tan, X.; Ma, Z.; He, K.; Han, X.; Ji, Q.; He, Y. Evaluations on Gridded Precipitation Products Spanning More than Half a Century over the Tibetan Plateau and Its Surroundings. J. Hydrol. 2020, 582, 124455. [Google Scholar] [CrossRef] [Scilit]
  45. Liu, X.; Duan, H.; Huang, W.; Guo, R.; Duan, B. Classified Early Warning and Forecast of Severe Convective Weather Based on LightGBM Algorithm. Atmos. Clim. Sci. 2021, 11, 284–301. [Google Scholar] [CrossRef]
  46. Schaefer, J.T. The Critical Success Index as an Indicator of Warning Skill. Weather Forecast. 1990, 5, 570–575. [Google Scholar] [CrossRef] [Scilit]
  47. Theng, D.; Bhoyar, K.K. Feature Selection Techniques for Machine Learning: A Survey of More than Two Decades of Research. Knowl. Inf. Syst. 2024, 66, 1575–1637. [Google Scholar] [CrossRef] [Scilit]
  48. Park, B.; Kim, M.; Jung, D.; Kim, J.; Mun, K.-R. Smart Insole-Based Abnormal Gait Identification: Deep Sequential Networks and Feature Ablation Study. Digit. Health 2025, 11, 20552076251332999. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  49. Schober, P.; Boer, C.; Schwarte, L.A. Correlation Coefficients: Appropriate Use and Interpretation. Anesth. Analg. 2018, 126, 1763–1768. [Google Scholar] [CrossRef] [Scilit]
  50. Li, Z. Extracting Spatial Effects from Machine Learning Model Using Local Interpretation Method: An Example of SHAP and XGBoost. Comput. Environ. Urban Syst. 2022, 96, 101845. [Google Scholar] [CrossRef] [Scilit]
  51. Zhuang, Q.; Zhu, W.; Yan, N.; Faour, G.; Ibrahim, M.; Zhu, L. An Interpretable Machine Learning Approach to Remote Sensing-Based Estimation of Hourly Agricultural Evapotranspiration in Drylands. Agriculture 2025, 15, 2193. [Google Scholar] [CrossRef] [Scilit]
  52. Wang, P.; Ma, Y.; Tang, J.; Wu, D.; Chen, H.; Jin, Z.; Huo, Z. Spring Frost Damage to Tea Plants Can Be Identified with Daily Minimum Air Temperatures Estimated by MODIS Land Surface Temperature Products. Remote Sens. 2021, 13, 1177. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.