Skip to main navigation Skip to search Skip to main content

Precision Agriculture Using a Two-Tier ML Model: Integrating aKNCN Soil Classification with ELM-mBOA Yield Prediction

  • Awad Bin Naeem
  • , Biswaranjan Senapati
  • , Jawad Rasheed
  • , Fazeel Abid
  • , Shtwai Alsubai
  • National College of Business Administration and Economics
  • Parker Hannifin Corporation
  • Istanbul Sabahattin Zaim University
  • Nisantasi Universitesi
  • Applied Science Private University
  • The University of Lahore

Research output: Contribution to journal › Article › peer-review

1 Scopus citations

Abstract

Accurate crop yield prediction is critical for sustainable agricultural planning and resource optimization, especially amid increasing food demand and climate variability. This study proposes a novel two-tiered machine learning (ML) framework that integrates IoT-based soil data with advanced classification and regression models to enhance prediction accuracy. In the first tier, an Adaptive k-Nearest Centroid Neighbour (aKNCN) classifier evaluates soil quality based on key nutrient metrics. The second tier utilizes an Extreme Learning Machine (ELM) optimized via the modified Butterfly Optimization Algorithm (mBOA) to forecast crop yields, incorporating both soil quality and agro-environmental factors. The system is trained and validated on a publicly available Indian crop production dataset containing 10,000 samples across major crops (wheat, maize, rice), with features including soil moisture, temperature, and rainfall. Feature selection is performed using Correlation-Based Feature Selection (CBFA) and Variance Inflation Factor (VIF) methods to reduce noise and multicollinearity. Experimental results demonstrate that the proposed aKNCN-ELM-mBOA model significantly outperforms traditional ML models—such as Support Vector Machine (SVM), Artificial Neural Network (ANN), Gradient Boosting (GB), and Random Forest (RF)—in terms of error metrics including Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), Mean Absolute Percentage Error (MAPE), and R². The model achieves a notably low RMSE of 0.301 and MAPE of 3.932, alongside a high R² score of 0.817, indicating strong generalization. This approach underscores the potential of hybrid ML systems, enriched by IoT-driven data and robust optimization, to drive precision agriculture and informed decision-making. Future work may involve time series forecasting and scaling the model with real-time sensor data for broader deployment.

Original languageEnglish
Article number726
JournalSN Computer Science
Volume6
Issue number6
DOIs
StatePublished - Aug 2025

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 2 - Zero Hunger
    SDG 2 Zero Hunger
  2. SDG 8 - Decent Work and Economic Growth
    SDG 8 Decent Work and Economic Growth
  3. SDG 12 - Responsible Consumption and Production
    SDG 12 Responsible Consumption and Production
  4. SDG 15 - Life on Land
    SDG 15 Life on Land
  5. SDG 17 - Partnerships for the Goals
    SDG 17 Partnerships for the Goals

Keywords

  • Crop yield prediction
  • Machine learning
  • Smart farming systems
  • Soil quality classification

Fingerprint

Dive into the research topics of 'Precision Agriculture Using a Two-Tier ML Model: Integrating aKNCN Soil Classification with ELM-mBOA Yield Prediction'. Together they form a unique fingerprint.

Cite this