Data-driven analysis and machine learning-based forecasting for big onion production in Sri Lanka

dc.contributor.authorNimeshika, MGH
dc.contributor.authorHerath, HMDS
dc.contributor.editorGunawardena, S
dc.date.accessioned2025-11-24T05:33:18Z
dc.date.issued2025
dc.description.abstractThe cultivation of big onions forms a critical part of Sri Lanka’s agriculture-based economy. However, the industry struggles with a challenge of supply and demand discrepancies, in addition to a high reliance on imports. This study proposes a machine learning-based predictive model to forecast production levels of big onions with a view to enhancing farmers’ and policymakers’ decisionmaking processes. Utilizing historical data from the Department of Census and Statistics and various institutions, a number of regression techniques including Linear Regression, Decision Tree, Random Forest, and Gradient Boosting were implemented to forecast production levels. The effectiveness of these methods was compared using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and R2 score. It was revealed that with a set of defined hyperparameters, the Random Forest algorithm provides the best predictions with a score of 78.20 percent R2. The developed model has been deployed as a userfriendly web application using Streamlit and FastAPI, thus making it easier for stakeholders to use. This study forms a stepping stone to further application in using data-driven methods to enhance production forecasting in agriculture. Further studies may focus on expanding the dataset and using sophisticated deep learning methods to achieve even better results.
dc.identifier.conferenceApplied Data Science & Artificial Intelligence (ADScAI) Symposium 2025
dc.identifier.departmentDepartment of Computer Science & Engineering
dc.identifier.doihttps://doi.org/10.31705/ADScAI.2025.18
dc.identifier.emailhashininimeshikamg@gmail.com
dc.identifier.emaildherath10@gmail.com
dc.identifier.facultyEngineering
dc.identifier.placeMoratuwa, Sri Lanka
dc.identifier.proceedingProceedings of Applied Data Science & Artificial Intelligence Symposium 2025
dc.identifier.urihttps://dl.lib.uom.lk/handle/123/24451
dc.language.isoen
dc.publisherDepartment of Computer Science and Engineering
dc.subjectBig Onion Production
dc.subjectMachine Learning
dc.subjectPredictive Analytics
dc.subjectRandom Forest
dc.subjectAgriculture Forecasting
dc.titleData-driven analysis and machine learning-based forecasting for big onion production in Sri Lanka
dc.typeConference-Extended-Abstract

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Paper 18 - ADScAI 2025.pdf
Size:
117.39 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description:

Collections