cs.LGMar 26, 2026

An Explainable Ensemble Learning Framework for Crop Classification with Optimized Feature Pyramids and Deep Networks

Authors: Syed Rayhan Masud, SK Muktadir Hossain, Md. Ridoy Sarkar, Mohammad Sakib Mahmood, Md. Kishor Morol, Rakib Hossain Sajib

Organizations: Department of Computer Science & Engineering, American International University-Bangladesh, Dhaka, Bangladesh · EliteLab.AI, Queens,NY, U.S.A · Department of Computer Science & Engineering, Begum Rokeya University, Rangpur,Bangladesh

Abstract

Agriculture is increasingly challenged by climate change, soil degradation, and resource depletion, and hence requires advanced data-driven crop classification and recommendation solutions. This work presents an explainable ensemble learning paradigm that fuses optimized feature pyramids, deep networks, self-attention mechanisms, and residual networks for bolstering crop suitability predictions based on soil characteristics (e.g., pH, nitrogen, potassium) and climatic conditions (e.g., temperature, rainfall). With a dataset comprising 3,867 instances and 29 features from the Ethiopian Agricultural Transformation Agency and NASA, the paradigm leverages preprocessing methods such as label encoding, outlier removal using IQR, normalization through StandardScaler, and SMOTE for balancing classes. A range of machine learning models such as Logistic Regression, K-Nearest Neighbors, Support Vector Machines, Decision Trees, Random Forest, Gradient Boosting, and a new Relative Error Support Vector Machine are compared, with hyperparameter tuning through Grid Search and cross-validation. The suggested "Final Ensemble" meta-ensemble design outperforms with 98.80% accuracy, precision, recall, and F1-score, compared to individual models such as K-Nearest Neighbors (95.56% accuracy). Explainable AI methods, such as SHAP and permutation importance, offer actionable insights, highlighting critical features such as soil pH, nitrogen, and zinc. The paradigm addresses the gap between intricate ML models and actionable agricultural decision-making, fostering sustainability and trust in AI-powered recommendations

Figures & tables

Explore similar work

CardsList
  1. AgroSense 2.0: Cross-Modal Transformer Fusion with Geospatial Raster Integration and Interpretable Multi-Task Learning for Precision Crop Recommendation

    Jun 20, 2026Vishal Pandey, Rishav Tewari, Ruzina Haque LaskarMultimodal FusionPrecision Agriculture

  2. XAI and Few-shot-based Hybrid Classification Model for Plant Leaf Disease Prognosis

    Mar 3, 2026Diana Susan Joseph, Pranav M Pawar, Raja Muthalagu +1Plant Disease ClassificationFew-Shot Image Classification

  3. Evaluating AlphaEarth Embeddings for Crop Classification: Separability, Temporal Dynamics, and Cross-Regional Transferability

    Oct 27, 2026Priyanka Goyal, Maitreyee Sar, Adway Mitra +1Agricultural Image AnalysisAgricultural Remote Sensing