Faculty of Computing Scopus 2

Permanent URI for this collectionhttps://rda.sliit.lk/handle/123456789/4896

Browse

Search Results

Now showing 1 - 3 of 3
  • Thumbnail Image
    PublicationOpen Access
    A novel application with explainable machine learning (SHAP and LIME) to predict soil N, P, and K nutrient content in cabbage cultivation
    (Elsevier B.V., 2025-03-06) Abekoon, T; Sajindra, H; Rathnayake, N; Ekanayake, I, U; Jayakody, A; Rathnayake, U
    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.
  • Thumbnail Image
    PublicationOpen Access
    A novel application with explainable machine learning (SHAP and LIME) to predict soil N, P, and K nutrient content in cabbage cultivation
    (Elsevier B.V., 2025-08) Abekoon, T; Sajindra, H; Rathnayake, N; Ekanayake, I.U.; Jayakody, A; Rathnayake, U
    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.
  • Thumbnail Image
    PublicationOpen Access
    Image processing techniques to identify tomato quality under market conditions
    (Elsevier B.V., 2024-03) Abekoon, T; Sajindra, H; Jayakody, J.A.D.C.A.; Samarakoon, E.R.J; Rathnayake, U
    Tomatoes are essential in both agriculture and culinary spheres, demanding rigorous quality assessment. It is highly advantageous to discern the maturity level and the time range post-harvesting of tomatoes in the market through visual analysis of their images. This research endeavors to forecast tomato quality by accurately determining the maturity level and the duration post-harvest, specifically tailored to Sri Lankan market conditions, with a particular focus on Padma tomatoes. It identifies maturity stages (Green, Breakers, Turning, Pink, Light Red, Red) and post-harvest dates using image processing techniques. Greenhouse-grown Padma tomatoes mimic market conditions for image capture, and Convolutional Neural Networks facilitate this analysis. Model 1, using ReLU and sigmoid activation functions, accurately classifies tomatoes with 99 % training and validation accuracy. Model 2, with seven classes, achieves 99 % training and 98 % validation accuracy using ReLU and softmax activation functions. Integration of the IPGRI/IITA 1998 classification method enhances tomato categorization. Efficient tomato image screening optimizes resource use. This study successfully determines Padma tomato post-harvest dates based on maturity stages, a significant contribution to tomato quality assessment under market conditions.