Optimized ensemble framework for predicting hydroponic stock and sales using machine learning

Viktor Handrianus Pranatawijaya, Ressa Priskila, Putu Bagus Adidyana Anugrah Putra, Nova Noor Kamala Sari, Efrans Christian, Septian Geges, Novera Kristianti

Abstract


The increasing global demand for food necessitates the adoption of sustainable agricultural practices. Hydroponic farming, while efficient in resource utilization, faces challenges in accurately predicting stock levels and sales due to dynamic, ever-changing factors. This research presents an optimized ensemble framework for forecasting hydroponic stock levels and sales by integrating linear regression (LR), random forest (RF), and XGBoost, further enhanced through an evolutionary algorithm (EA). The proposed framework is evaluated using root mean square error (RMSE) and mean absolute error (MAE), demonstrating significant accuracy improvements over individual models. The ensemble model achieves an RMSE reduction of 43.82% for stock prediction and 55.3% for sales forecasting compared to the best-performing individual model. Additionally, local interpretable model-agnostic explanations (LIME) are employed to offer stakeholders clear insights into decision-making processes, such as identifying "number of harvested crops" and "sales data" as key drivers of prediction outcomes. This framework supports sustainable development goals (SDGs) 9.3, 12.3, and 12.C by promoting resource efficiency, reducing food waste, and improving small-scale farmer market access. Future research will explore real-time data integration for dynamic adaptation and further model enhancements.

Keywords


Evolutionary algorithm; Hydroponic farming; Optimized ensemble model; Predictive analytics; Sustainable agriculture

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v14.i5.pp%25p

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Viktor Handrianus Pranatawijaya, Ressa Priskila, Putu Bagus Adidyana Anugrah Putra, Nova Noor Kamala Sari, Efrans Christian, Septian Geges, Novera Kristianti

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES).

View IJAI Stats