In the face of escalating climate change, agricultural systems are confronting unprecedented challenges that threaten global food security. Legume crops, integral to sustainable agriculture, are particularly susceptible to the multifaceted impacts of changing climate conditions. Understanding and mitigating these impacts require innovative approaches that leverage cutting-edge technologies
(Gupta et al., 2020). Climate change poses a number of threats such as altering temperature and precipitation patterns, intensifying extreme weather events and catalyzing shifts in pest and disease prevalence (
Dhage and Patil, 2022). Legumes, being pivotal contributors to nitrogen fixation, soil fertility and human nutrition, face intricate challenges in adapting to these changes
(Vannier et al., 2022). Conventional agricultural models struggle to capture the nuanced interactions between climate variables, soil characteristics and crop responses, necessitating a paradigm shift towards more sophisticated and dynamic modeling techniques.
Artificial Intelligence (AI) offers unprecedented capabilities to unravel complex patterns within vast datasets. By amalgamating advanced machine learning algorithms, AI provides a powerful means to discern intricate relationships and predict outcomes based on historical and real-time data
(Kumar et al., 2018, Nyéki and Neményi, 2022). In the context of legume crop yields, AI serves as a game-changer, enabling the creation of predictive models that transcend the limitations of traditional methodologies. The utilization of state-of-the-art machine learning algorithms, such as deep neural networks and ensemble methods, to analyze extensive datasets encompassing climate variables, soil properties and historical crop yield data (
Zha 2020,
Piao, et al., 2010). The predictive accuracy and adaptability of AI models empower stakeholders in agriculture to make informed decisions, mitigating risks associated with climate-induced variability. Furthermore, the incorporation of AI into the predictive modeling framework facilitates the development of scenario-based simulations, offering insights into the potential impacts of diverse climate change scenarios on legume crop yields
(Rao et al., 2022). This forward-looking approach allows policymakers, farmers and researchers to anticipate challenges and implement adaptive strategies proactively. The ability to generate scenario-specific predictions equips stakeholders with actionable information to optimize crop management practices, resource allocation and policy interventions in a changing climate. By elucidating the complex relationships between climate variables and legume crop yields, the AI-driven models presented in this study empower stakeholders to optimize resource use, minimize environmental impact and enhance food security
(Rezaei et al., 2023). Ahmed et al., (2022) reported a comprehensive overview of agricultural system modeling, highlighting current achievements and innovations. The authors emphasize the importance of understanding the complexities of agricultural systems to enhance productivity and sustainability. The study provides a roadmap for future research, laying the foundation for improved modeling techniques to address evolving agricultural challenges.
Aich et al., (2022) reported valuable insights into climate-resilient agricultural practices by drawing from the experiences of indigenous communities in India. The study underscores the need for adaptive strategies in the face of climate change, emphasizing the role of traditional knowledge in developing sustainable practices. This research enriches the discourse on climate resilience in agriculture, particularly in the context of diverse agroecological systems.The influence of climate change on agriculture is examined by
Moore et al., (2017), who also discuss the implications for the social cost of carbon. According to the report, reliable cost estimations need a more detailed knowledge of how climate change affects agriculture. This study adds to the continuing conversation about the economic repercussions of climate change and emphasizes the need to implement legislative changes to lessen its negative consequences.
Kumari et al., (2020) reported a focused review of climate change and its impact on agriculture in India. The study offers a regional perspective, discussing the specific challenges faced by Indian farmers. By synthesizing existing knowledge, the present paper contributes to the understanding of the unique vulnerabilities and adaptation strategies required in the Indian agricultural context.
The role of AI in Indian agriculture is explored in multiple studies.
Saxena et al., (2020) present an overview of the application of AI in Indian agriculture, highlighting its potential for tabletransforming traditional practices.
Sharma (2021) provides a comprehensive review, discussing the various applications of AI in different facets of agriculture.
Nishant et al., (2020) focus on crop yield prediction, demonstrating how machine learning can enhance precision in agriculture. These studies collectively underscore the transformative potential of AI in optimizing resource use, improving efficiency and enhancing productivity in Indian agriculture.
Singh et al., (2020) proposes an integrated farming system approach as a means to enhance farm productivity, climate resilience and income for farmers. The study emphasizes the need for a holistic approach that integrates various farming components synergistically. The findings contribute to the ongoing discourse on sustainable agricultural practices that mitigate climate risks while improving overall farm performance.This literature review establishes the foundation for the present study by synthesizing insights from legume crop modeling, AI applications in agriculture, predictive modeling of crop yields, climate change impacts and integrated modeling approaches. The amalgamation of these diverse strands of research informs the development of predictive models for legume crop yields under climate change scenarios.
In this study, predictive modeling based on artificial intelligence for legume farmingis explored. Through a meticulous exploration of the intricate dynamics governing legume crop yields under climate change scenarios, this study contributes to the scientific community’s understanding of the complex interplay between environmental factors and crop responses. The innovative application of AI not only elevates the technical sophistication of predictive models but also opens new avenues for sustainable agricultural practices in the era of climate uncertainty.
AI-model development
Model selection: Nurturing precision with XGBoost
In the realm of predictive modeling for legume crop yields, the selection of an adept algorithm stands as the fulcrum of success. Enter XGBoost, a cutting-edge implementation of Gradient Boosting Machines (GBM). Unlike its predecessors, XGBoost exhibits prowess in handling complex datasets with heterogeneous features, making it an optimal choice for the intricate task of forecasting legume crop yields under the dynamic umbrella of climate change.
The foundational strength of XGBoost lies in its ensemble learning approach. It builds a multitude of weak learners sequentially, each correcting the errors of its predecessor. This meticulous iterative process refines the model’s predictive capacity, converging towards an ensemble of robust and interconnected learners. Moreover, XGBoost incorporates regularization techniques, such as L1 and L2 regularization, preventing overfitting and enhancing the model’s generalization to unseen data.
Feature selection: Unravelling the fabric of crop yield determinants
The discernment of relevant features is akin to identifying the genetic code governing legume crop yields. XGBoost facilitates this by employing a technique called ‘feature importance.’ Through the inherent mechanism of boosting, XGBoost assigns weights to features based on their contribution to reducing prediction errors. Consequently, features with higher importance levels are deemed as influential determinants of legume crop yields under diverse climate change scenarios. Climate variables, soil composition and agricultural practices emerge as pivotal features, each carrying a distinct weight in the predictive equation. The adaptability of XGBoost in discerning nonlinear relationships amplifies its capacity to unveil intricate interdependencies among these features, ensuring a comprehensive understanding of the multifaceted factors influencing legume crop yields.
Model training and validation: The artistry of iterative refinement
The crux of XGBoost’s efficacy lies in its iterative refinement process during model training. In each iteration, the model endeavors to minimize the residual errors, gradually converging towards an optimized predictive framework
(Roja et al., 2023). The introduction of specialized optimization algorithms, such as ‘Tree Pruning’ and ‘Shrinkage,’ empowers XGBoost to fine-tune its predictive capabilities with surgical precision.
The validation phase, a quintessential checkpoint in model development, relies on techniques like k-fold cross-validation. This process partitions the dataset into ‘k’ subsets, training the model on ‘k-1’ folds and validating on the remaining subset. The cyclic repetition of this procedure ensures robustness and guards against overfitting, affirming the model’s adaptability to a spectrum of climate change scenarios.
Hyperparameter tuning: Orchestrating model symphony for optimal performance
The orchestration of an XGBoost model reaches its zenith through hyperparameter tuning. Parameters such as learning rate, maximum depth of trees and subsample ratios wield significant influence over the model’s performance
(Devegowda et al., 2019). The meticulous calibration of these parameters involves a delicate balance, achieved through techniques like grid search or randomized search. The learning rate, akin to the conductor’s baton, governs the step size in each iteration, influencing the convergence rate. Simultaneously, the maximum depth of trees and subsample ratios modulate the complexity and diversity of the weak learners, ensuring a harmonious blend of predictive power and generalization.
Model evaluation: Deciphering the symphony’s resonance
Evaluation of the XGBoost model transcends conventional metrics. Beyond accuracy, precision and recall, the model’s predictive prowess is encapsulated by metrics such as Area Under the Receiver Operating Characteristic (AUROC) curve and Mean Absolute Error (MAE). AUROC delineates the model’s discriminatory capacity, while MAE quantifies the average prediction error, providing a nuanced comprehension of the model’s precision in forecasting legume crop yields.Furthermore, the model’s robustness is tested against diverse climate change scenarios, simulating fluctuations in temperature, precipitation and other environmental variables (
Sachithra and Subhashini, 2023). XGBoost’s adeptness in adapting to these variations cements its status as an avant-garde tool for predictive modeling under the unpredictable canvas of climate change. The application of XGBoost in predicting legume crop yields under climate change scenarios is a testament to the symbiosis of artificial intelligence and agricultural sustainability. Through meticulous ensemble learning, feature importance elucidation, iterative refinement, hyperparameter tuning and nuanced evaluation, XGBoost emerges not merely as a model but as a scientist in deciphering the intricacies of a changing climate on legume crops (
Van Klompenburg et al., 2020). Its technical acumen, coupled with scientific rigor, propels agriculture into an era where predictive precision meets environmental variability with unwavering accuracy.