Skip to main content
Have a personal or library account? Click to login
Crop Prediction Based on Environment Variables using Data Mining Technologies Cover

Crop Prediction Based on Environment Variables using Data Mining Technologies

Open Access
|May 2025

Abstract

Purpose: Sustainable agriculture is essential for addressing food security challenges and enhancing the socio-economic status of farmers. Integrating modern technologies with the agricultural sector is a key solution to overcome many issues. Therefore, this study aimed to apply data mining technologies to identify the most suitable crop types for specific land based on factors: weather conditions (rainfall, temperature, humidity), crop prices, and soil conditions of lands. Potato, tomato, green gram, and red onions are crop types. The soil conditions are determined based on the locations specified as Grama Niladari Divisions of the Badulla District.
Research Method: The Cross-Industry Standard Process for Data Mining (CRISP-DM) methodology was applied to develop the recommended system. The MYSQL database, WEKA libraries (is it “and WEKA libraries” – please check with the researcher), which integrated the Java programming language, were used to implement the prediction models. The prediction quality of models was evaluated using different evaluation metrics.
Findings: The Random Forest tree and Random tree outperformed the other models in predicting the weather conditions for the next four months from the system usage date in a weekly manner and the variability in crop prices, respectively. Once the location is selected, the suitable crops are ranked based on the prevailing soil conditions in that location. Then, the most suitable crops were selected based on the predicted weather factors, which best fit with the ranked crops, together with the predicted prices.
Value: The system ranks suitable crops for specific lands. These findings assist farmers and decision- makers in transforming agriculture into a profitable, economically stable industry.

Language: English
Page range: 280 - 292
Published on: May 1, 2025
Published by: The Faculty of Agricultural Sciences of the Sabaragamuwa University of Sri Lanka
In partnership with: Paradigm Publishing Services

© 2025 K. T. Dananjali, J. B. Ekanayake, B. T. G. S. Kumara, A. S. Karunarathne, published by The Faculty of Agricultural Sciences of the Sabaragamuwa University of Sri Lanka
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License.