| Literature DB >> 36008448 |
Yotsaphat Kittichotsatsawat1,2, Nakorn Tippayawong3, Korrakot Yaibuathet Tippayawong4,5.
Abstract
Crop yield and its prediction are crucial in agricultural production planning. This study investigates and predicts arabica coffee yield in order to match the market demand, using artificial neural networks (ANN) and multiple linear regression (MLR). Data of six variables, including areas, productivity zones, rainfalls, relative humidity, and minimum and maximum temperature, were collected for the recent 180 months between 2004 and 2018. The predicted yield of the cherry coffee crop continuously increases each year. From the dataset, it was found that the prediction accuracy of the R2 and RMSE from ANN was 0.9524 and 0.0784 tons, respectively. The ANN model showed potential in determining the cherry coffee yields.Entities:
Mesh:
Substances:
Year: 2022 PMID: 36008448 PMCID: PMC9411627 DOI: 10.1038/s41598-022-18635-5
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.996
Figure 1Machine learning predictive models.
Figure 2Coffee plantation area in Chiang Rai, Thailand. Figure has been generated by Mr. Yotsaphat Kittichotsatsawat, the first author of this manuscript using the Qgis program. Version 3.8.1. URL. https://www.qgis.org/en/site/index.html.
Summary of crop yield statistics.
| Variable | Maximum | Minimum | Mean | Median | SD | Skewness | Kurtosis |
|---|---|---|---|---|---|---|---|
| Area (hectare) | 42,215 | 20,158 | 34,003 | 31,186.5 | 11,028.5 | 0.292 | 0.336 |
| Productivity zone (hectare) | 37,710 | 14,513 | 23,921 | 26,111.5 | 11,598.5 | 0.413 | − 0.979 |
| Monthly total rainfall (mm) | 509.8 | 0 | 1830 | 254.9 | 254.9 | − 0.055 | − 0.739 |
| Relative Humidity (%RH) | 82.0 | 55.0 | 76.0 | 68.5 | 13.5 | − 0.168 | − 0.788 |
| Temperature monthly (°C) | 40.0 | 5.10 | 25.5 | 22.6 | 17.5 | − 0.467 | 0.258 |
| Productivity (tons) | 4794.27 | 365.066 | 2505 | 2579.7 | 2214.6 | − 0.243 | − 1.106 |
Correlation matrix of the input dataset.
| Variable | Area | Productivity zone | Rainfall | RH | Tmax | Tmin |
|---|---|---|---|---|---|---|
| Area (hectare) | 1.0000 | |||||
| Productivity zone (hectare) | 0.8119 | 1.0000 | ||||
| Monthly total rainfall (mm) | 0.0100 | 0.0677 | 1.0000 | |||
| Relative Humidity (%RH) | − 0.3366 | − 0.1641 | 0.2527 | 1.0000 | ||
| Tmax monthly (°C) | 0.6278 | 0.5140 | − 0.1882 | − 0.6542 | 1.0000 | |
| Tmin monthly (°C) | 0.3233 | 0.5962 | 0.1790 | 0.3080 | 0.3192 | 1.0000 |
Results of MLR analysis to estimate crop yield of cherry coffee productivity.
| R2 | RMSE | MSE | Durbin–Watson | Equation (coefficient) | P-value |
|---|---|---|---|---|---|
| 0.9235 | 0.0784 | 0.0061 | 1.56 | Crop yield = 0.2850 + 0.0402 Area + 0.3128 Productivity Zone − 0.0486 Rainfall − 0.4040 RH − 0.6144 Tmax + 1.1065 Tmin | 0.001 |
Figure 3The R2 and RMSE (ton) of the scatter plot on the MLR model between the actual and predicted crop yield.
The R and MSE (ton) performances of various ANN configurations using once trained for the dataset.
| Hidden layer (Hl) number | Processing elements (PEs) | MSE | R |
|---|---|---|---|
| 1 | 1 | 34,115.10 | 0.777 |
| 1 | 2 | 316,012.50 | 0.757 |
| 1 | 3 | 287,720.50 | 0.757 |
| 1 | 4 | 9384.50 | 0.746 |
| 1 | 5 | 2102.34 | 0.910 |
| 1 | 6 | 241,512.50 | 0.684 |
| 1 | 7 | 23,690.64 | 0.922 |
| 1 | 8 | 55,592.50 | 0.776 |
| 1 | 9 | 409,160.00 | 0.859 |
| 1 | 10 | 84,228.49 | 0.888 |
| 2 | 1 | 72,170.25 | 0.857 |
| 2 | 2 | 9383.68 | 0.684 |
| 2 | 3 | 50,069.96 | 0.859 |
| 2 | 4 | 66,932.68 | 0.871 |
| 2 | 5 | 87,831.30 | 0.541 |
| 2 | 6 | 53,020.86 | 0.851 |
| 2 | 7 | 5150.58 | 0.921 |
| 2 | 8 | 1027.99 | 0.975 |
| 2 | 9 | 103,884.14 | 0.855 |
| 2 | 10 | 113,635.85 | 0.761 |
Figure 4Mean squared error (MSE) of cherry coffee validation performance.
Figure 5Prediction of the coffee cherry using ANN (MSE training and predicted values of cherry coffee by multilayer perceptron neural network versus data value, training and validation phases) (ton).
Error and R2 (RSQ), RMSE (ton), and MSE (ton) in testing datasets of ANN model.
| Model | R2 | RMSE | MSE |
|---|---|---|---|
| ANN | 0.9524 | 0.0784 | 1027.99 |
Figure 6One-way PDPs of input variables on prediction of crop yields.
Comparison of MLR and ANN models for other agricultural production.
| No | References | Subject | Number of data | Variables | R2 | RMSE | |
|---|---|---|---|---|---|---|---|
| ANN | MLR | ||||||
| 1 | Bayat et al.[ | Predicting tree survival and mortality in the Hyrcanian forest of Iran | 9 years | Wind velocity and direction, Diameter at breast height, Basal area of larger trees, Diameter, Topographic wetness index, Temperature | 0.6790 | 0.9200 | 0.9850 |
| 2 | Ustaoglu et al.[ | Forecast of daily mean, maximum and minimum temperature time series | 14 years | Temperature | 0.8590 | 0.9025 | 0.9400 |
| 3 | Ilaboya and Igbinedion[ | Prediction of monthly maximum rainfall in Benin city, Nigeria | 34 years | Rainfall | 0.9999 | 0.1755 | 0.7800 |
| 4 | El-Shafie1 et al.[ | Rainfall forecasting | 10 years | Rainfall | 0.8110 | 0.4160 | 0.5168–0.6800 |
| 5 | Matsumura et al.[ | Maize yield forecasting | 43 months | Temperature and precipitation data | 0.8230–0.9540 | 0.7600–0.9350 | 0.8770 |
| 6 | Patle et al.[ | Monthly pan evaporation modelling | 84 months | Temperature, Relative humidity, solar sunshine hours | 0.8900 | 0.8800 | 0.3300 |
| 7 | Kisi et al.[ | Modeling soil temperatures at different depths | 300 months | Temperature, Solar radiation, Wind speed, Relative humidity, and Soil temperature | 0.9564–0.9940 | 0.8118–0.9761 | – |
| 8 | Yasar et al.[ | Estimation of relative humidity | 144 months | Relative humidity | 0.9624–0.9965 | 0.7379–0.9489 | – |
| 9 | Li et al.[ | Prediction of crop and soybean | 1059 countries | Area | 0.5329–0.9409 | 0.5041–0.9216 | 0.7501–0.9299 |
| 10 | Han et al.[ | Crop evapotranspiration prediction | 24 months | Atmospheric pressure, Wind speed, Temperature, Relative humidity, Sunshine hours, and precipitation | 0.8700 | 0.7900 | 0.9857 |
Figure 7Research framework for cherry coffee prediction.