Predictive Analysis of Millets Yield using Machine Learning Regression Models

— Accurate prediction of crop yield is a critical challenge in modern agriculture, directly impacting food security, economic planning, and market stability. Millets, as climate-resilient and highly nutritious grains, are gaining prominence, making the analysis of their productivity increasingly important. This paper presents an end-to-end machine learning system designed to predict millet yield (in hectares per acre) based on key environmental and agronomic factors. The system is developed using a dataset containing historical data on various millet crops, including year, average temperature, and average rainfall. A comprehensive exploratory data analysis was first conducted to understand the underlying data distributions. We then implemented a robust preprocessing pipeline using Scikit-learn's ColumnTransformer to handle both categorical (crop type) and numerical features effectively. A comparative study of five different machine learning regression models—Linear Regression, Lasso, Ridge, K-Nearest Neighbors Regressor (KNR), and Decision Tree Regressor—was performed to identify the most accurate model for this specific task. Based on evaluation metrics, particularly the R-squared (R²) score, the K-Nearest Neighbors Regressor was selected as the optimal model. The trained KNR model and the preprocessing pipeline were then serialized using pickle and deployed as a user-friendly web application using the Flask framework, allowing users to input parameters and receive instant yield predictions. Keywords — Machine Learning, Millet Yield Prediction, Regression Analysis, K-Nearest Neighbors Regressor, Flask, Data Preprocessing, Predictive Modeling.

Authors

Publication Details

Journal
INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT
Published
2025-08-22
DOI
https://doi.org/10.55041/ijsrem51957
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predictive Analysis of Millets Yield using Machine Learning Regression Models

M. Leela, M. L. J. Shruthi
INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT
Spectroscopy and Chemometric Analyses
article

Predictive Analysis of Millets Yield using Machine Learning Regression Models

M. Leela, M. L. J. Shruthi
article en

Abstract

— Accurate prediction of crop yield is a critical challenge in modern agriculture, directly impacting food security, economic planning, and market stability. Millets, as climate-resilient and highly nutritious grains, are gaining prominence, making the analysis of their productivity increasingly important. This paper presents an end-to-end machine learning system designed to predict millet yield (in hectares per acre) based on key environmental and agronomic factors. The system is developed using a dataset containing historical data on various millet crops, including year, average temperature, and average rainfall. A comprehensive exploratory data analysis was first conducted to understand the underlying data distributions. We then implemented a robust preprocessing pipeline using Scikit-learn's ColumnTransformer to handle both categorical (crop type) and numerical features effectively. A comparative study of five different machine learning regression models—Linear Regression, Lasso, Ridge, K-Nearest Neighbors Regressor (KNR), and Decision Tree Regressor—was performed to identify the most accurate model for this specific task. Based on evaluation metrics, particularly the R-squared (R²) score, the K-Nearest Neighbors Regressor was selected as the optimal model. The trained KNR model and the preprocessing pipeline were then serialized using pickle and deployed as a user-friendly web application using the Flask framework, allowing users to input parameters and receive instant yield predictions. Keywords — Machine Learning, Millet Yield Prediction, Regression Analysis, K-Nearest Neighbors Regressor, Flask, Data Preprocessing, Predictive Modeling.

INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENTVol. 09(08)
Openalex Percentile: Top 76%
Spectroscopy and Chemometric Analyses
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Predictive Analysis of Millets Yield using Machine Learning Regression Models — M. Leela, M. L. J. Shruthi · INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT (2025) | TGRS Research Map | TGRS