Applied Sciences (Aug 2024)

Enhanced Coconut Yield Prediction Using Internet of Things and Deep Learning: A Bi-Directional Long Short-Term Memory Lévy Flight and Seagull Optimization Algorithm Approach

  • Rami N. Alkhawaji,
  • Suhail H. Serbaya,
  • Siraj Zahran,
  • Vasiliki Vita,
  • Stylianos Pappas,
  • Ali Rizwan,
  • Georgios Fotis

DOI
https://doi.org/10.3390/app14177516
Journal volume & issue
Vol. 14, no. 17
p. 7516

Abstract

Read online

In coastal areas, coconuts are a common crop. Everyone from farmers to lawmakers and businesses would benefit from an accurate forecast of coconut production. Internet of Things (IoT) sensors are strategically positioned to continuously monitor the environment and gather production statistics to obtain accurate agricultural output predictions. To effectively estimate coconut prediction, this study presents an enhanced deep learning classifier called Bi-directional Long Short-Term Memory (BILSTM) with the integrated Lévy Flight and Seagull Optimization Algorithm (LFSOA). LASSO feature selection is applied to eliminate the superfluous characteristics in the yield estimation. To further enhance the coconut yield estimate, the optimal set of hyperparameters for BILSTM is tuned by the LFSOA, which helps to avoid the overfitting issue. For the results, the BILSTM is compared against different classifiers such as Recurrent Neural Network (RNN), Random Forest Classifier (RFC), and LSTM. Similarly, LFSOA-based hyperparameter tuning is contrasted with different optimization algorithms. The outputs show that LFSOA-based hyperparameter tuning in BILSTM achieved accuracy, precision, recall, and f1-score of 98.963%, 99.026%, 99.155%, and 95.758%, respectively, which are higher when compared to existing methods. Similarly, the BILSTM-LFSOA accomplished better results in statistical measures, including the Root Mean Square Error (RMSE) of 0.105, Mean Squared Error (MSE) of 0.011, Mean Absolute Error (MAE) of 0.094, and coefficient of determination (R2) of 0.954, respectively. From the overall analysis, the proposed BILSTM-LFSOA improves coconut yield prediction by achieving better results in all the performance measures when compared with existing models. The results of this study are important to many stakeholders, including but not limited to policymakers, farmers, banks, and insurance companies. As coconuts are an important crop in developing countries, accurate coconut yield forecasting will lead to greater financial and food security in these regions.

Keywords