Sustainable agriculture depends on smart decision-making farmers need to use their land efficiently, boost yield, and reduce risks from climate and pests. Mixed-cropping, where two or more crops are grown together on the same field, helps achieve these goals by improving soil fertility, reducing pest pressure, increasing overall productivity, and giving farmers more stable income. However, choosing the right crop combinations is not simple. It requires understanding numerous aspects such as soil nutrients (NPK), pH level, rainfall patterns, how well crops grow together, and even market demand. Traditionally, farmers rely heavily on single-crop recommendation practices, and this system limit land utilization and decrease farming productivity. With the rise of Machine Learning (ML), we now have influential tools that can analyze huge volumes of agricultural data and offer more consistent recommendations. Currently most ML systems are designed for recommending a single crop, not combinations of crops grown together. However, these models largely as black-box systems, proposing limited transparency and interpretability, which makes it hard for farmers to understand the reasoning behind the recommended crops. In
(Gao et al., 2023). The study integrates machine learning and swarm intelligence to improve crop yield prediction and fertilization decisions. RF, ERT, and XGBoost models are tested, with ERT showing the best performance. The proposed model effectively identifies optimal fertilization strategies with high accuracy. (
Ed-daoudi et al., 2023). The study develops a web-based crop recommendation system that uses machine learning to suggest suitable crops based on soil and climate conditions. Among the five algorithms tested, Random Forest delivered the highest performance.
(Sajindra et al., 2024). Proposes a deep learning model to estimate soil NPK levels using plant growth features such as height, leaf count, and leaf area. The Levenberg-Marquardt method with different transfer functions was tested, showing improved predictions, with pure linear and tangent sigmoid functions achieving the highest Pearson correlation
(Tkatek et al., 2023). The researchers developed and compared several ML prediction models, including SVM, KNN, NB, RF, DT, and XGBoost. They evaluated model performance by employing error metrics like MSE, MAE, RMSE, and R-Squared.
(Khan et al., 2022). Presents a machine learning-based fertilizer recommendation system that leverages IoT-enabled real-time soil nutrient data. By integrating a soil fertility mapping framework, the system provides context-aware and accurate fertilizer recommendations.
(Islam et al., 2023). Employs an ML-based IoT system that collects real-time soil and climate data through sensors and transmits it via MQTT. The data is analyzed using machine learning models to recommend suitable crops and optimal fertilizer plans based on current soil conditions.
(Kuradusenge et al., 2023). Uses machine learning models comprising RF, PR, and SVR to predict crop yields for Irish potatoes and maize based on climatological data. In
(Huang et al., 2023). Proposes a machine learning-based soil analysis system that uses real-time and sensor data to provide crop, irrigation, and fertilizer recommendations, helping farmers farm more sustainably and proficiently. (
Deepak, 2023). Develops an IoT-based monitoring system combined with machine learning to recommend suitable crops. By integrating real-time field data with ML models, it supports farmers in making informed decisions on crop selection, timing, and resource management. (
Dey et al., 2024). Evaluated five ML models on agricultural, horticultural, and combined crop datasets, concluding that predicting yields is more accurate when crop types are analyzed separately.
(Musanase et al., 2023). Estimates soil suitability for potato cultivation using Rwanda as a case study. It applies bootstrapping to expand limited data, uses fuzzy logic for classification, and evaluates machine learning models to support accurate soil quality prediction
(Cruz et al., 2022). The study uses graph convolutional networks and graph neural networks to recommend crops by modeling relationships between soil and climate features, enabling accurate seasonal crop predictions
(Kollu et al., 2023). Employs IoT data and machine learning for fertilizer recommendation, using SFFS for feature selection and Multilinear Regression for classification. The proposed SFFS-MLR model outperforms Random Forest, C4.5, and Naïve Bayes
(Kukkar et al., 2024). Introduces AgroAdvisor, a hybrid model combining RFXGB and DeepFM for crop recommendation, achieving higher accuracy than traditional ML and deep learning methods. (
Tamilarasan, 2024). Compares multiple ML models for crop recommendation, with Random Forest performing best. A hybrid approach combining Random Forest and PCA further improves accuracy.
According to
(Naveen et al., 2023). Proposes an algorithm that converts discrete values into factors, creates multiple datasets, and applies an extended K-means approach with lambda estimation for class assignment.
(Chen et al., 2025). Uses vegetation indices (NDVI, GNDVI, and canopy cover) with machine learning models to predict crop growth and yield, validated using ground-based data. (
Kalmani et al., 2024). The authors develop an enhanced CNN-LSTM hybrid model with attention mechanisms to improve wheat and rice yield prediction accuracy in India. (
Na and Na, 2024). The study uses a VGG16-based CNN model to detect soybean wilting, providing an accurate deep learning approach for identifying crop stress.
Key gaps identified in previous studies.
Despite the growing attention in machine learning crop recommendation models, there remains a significant need to explore how Explainable Artificial Intelligence (XAI) and Hybrid Machine Learning can be effectively merge with optimization techniques (XAI-HACO) for mixed-crop recommendations. Existing studies uncommonly integrate multiple classifiers within a combined XAI-HACO framework. This study addresses these limitations by introducing a novel XAI-HACO model specifically designed for region-specific mixed-crop recommendation system.
According to Food and Agriculture Organization (
FAO, 2023). Disclose that 20-40% yield losses, while mixed cropping in India can increase smallholder profits by up to 25%. However, the lack of digital tools limits its adoption, highlighting the need for an ML-based system to support optimal mixed-crop decisions.
This study presents a XAI-Enable Hybrid Machine Learning and Ant Colony Optimization Framework (XAI-HACO) that recommends optimal mixed-crop combinations by analyzing soil, nutrient, and climate data, specifically tailored to the environments of Andhra Pradesh, India. The proposed model can provide transparency, interpretability and visual explanation for farmers to know the motive behind the recommended crops.
Key contribution to this research.
A state-of-the-art XAI-HACO mixed-crop recommendation system that can accurately classify the most suitable mixed-cropping and transparent, interpretable inform decision based on regional soil and climatic conditions of individual farmland.