Skip to main navigation Skip to search Skip to main content

A novel application with explainable machine learning (SHAP and LIME) to predict soil N, P, and K nutrient content in cabbage cultivation

  • Thilina Abekoon
  • , Hirushan Sajindra
  • , Namal Rathnayake
  • , Imesh U. Ekanayake
  • , Anuradha Jayakody
  • , Upaka Rathnayake
    • Water Resources Management and Soft Computing Research Laboratory
    • The University of Tokyo
    • Royal Melbourne Institute of Technology
    • Ceylon Institute for Artificial Intelligence and Research (CIAIR)
    • Sri Lanka Institute of Information Technology

    Research output: Contribution to journalArticlepeer-review

    56 Citations (Scopus)

    Abstract

    Cabbage (Brassica oleracea var. capitata) is commonly cultivated in high altitudes and features dense, tightly packed leaves. The Green Coronet variety is well-known for its robust growth and culinary versatility. Maximizing yield is crucial for food sustainability. It is essential to predict the soil's major nutrients (nitrogen, phosphorus, and potassium) to maximize the yield. Artificial intelligence is widely used for non-linear predictions with explainability. This research assessed the predictive capabilities of soil nitrogen, phosphorus, and potassium levels with explainable machine learning methods over an 85-day cabbage growth period. Experiments were conducted on cabbage plants grown in central hills of Sri Lanka. SHapley Additive exPlanations (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) were used to clarify the model's predictions. SHAP analysis showed that high feature values of the number of days and plant average leaf area negatively impacted for nutrient predictions, while high feature values of leaf count and plant height had a positive effect on the nutrient predictions. To validate the results, 15 greenhouse-grown cabbage plants at various growth stages were selected. The nitrogen, phosphorus, and potassium levels were measured and compared with the predicted values. These insights help refine predictive models and optimize agricultural practices. A user-friendly application was developed to improve the accessibility and interpretation of predictions. This tool is a user-friendly platform for end-users, enabling effective use of the model's predictive capabilities.

    Original languageEnglish
    Article number100879
    JournalSmart Agricultural Technology
    Volume11
    DOIs
    Publication statusPublished - 6 Mar 2025

    UN SDGs

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

    1. SDG 2 - Zero Hunger
      SDG 2 Zero Hunger

    Keywords

    • Cabbage
    • deep neural network
    • explainable machine learning
    • major soil nutrients
    • plant growth characteristics

    Fingerprint

    Dive into the research topics of 'A novel application with explainable machine learning (SHAP and LIME) to predict soil N, P, and K nutrient content in cabbage cultivation'. Together they form a unique fingerprint.

    Cite this