AI-Assisted Crop Recommendation and Irrigation Demand Scoring Using Random Forests and Linear Regression

Read full text
Authors: Dhyan Raj, Eshan Ronad, Harsh Raj, Aniket Raj, Balachandra A.
Cited by: 0

Abstract

Abstract—Practical decision support in farming often requires two complementary capabilities: identifying crops that match local soil–weather conditions and estimating how strongly irrigation may be needed under the same conditions. This paper presents a compact machine-learning workflow that addresses both tasks using a public crop-recommendation dataset. First, a Random Forest classifier maps soil nutrients (N, P, K) and environmental measurements (temperature, humidity, pH, rainfall) to one of 22 crop classes. Second, because public data typically lacks ground-truth irrigation volumes, we define a transparent Irrigation Demand Score (IDS) that increases with thermal stress and decreases with rainfall and humidity, while mildly accounting for pH deviation and nutrient imbalance. Multiple Linear Regression is then trained to predict IDS for interpretability and low-cost deployment. On the held-out test split, the classifier achieves 98.5% accuracy, and the regression attains R2 =0.87 against the engineered score. The overall system is reproducible, lightweight, and suitable for low-instrumentation contexts, while remaining extensible to real sensor-based water measurements in future work. Index Terms—Precision agriculture, crop recommendation, Random Forest, linear regression, irrigation demand score, soil nutrients, machine learning.

Fields of Study & Subjects

Smart Agriculture and AI Artificial Intelligence in Healthcare Irrigation Practices and Water Management

Publication details

Journal / source
INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT
Volume
10
Issue
02
Pages
1–9
Publication date
11 February 2026
Language
EN