Statistical Machine Learning for Medicinal Plant Leaves Classification
Abstract
Medicinal plants are usually identified using practitioners' experience, but reproducible, image based methods can complement this knowledge. We present MEDIPI (MEDIcinal Plant Identification), a statistical machine learning approach that classifies medicinal plant leaves from photographs. From each leaf image we extract 52 interpretable features covering shape, texture, color, and a new scagnostics category. We then classify leaves using a three level hierarchy: shape, then edge type, then species. We also release MedLEA, an open R package with 1,099 leaf images of 31 Sri Lankan medicinal plant species. On this dataset, a hierarchical Random Forest achieved the best overall accuracy (100%) in our comparison of hierarchical and non-hierarchical approaches and eight algorithms: Random Forest, XGBoost, Gradient Boosting, linear discriminant analysis, k-nearest neighbor, support vector machine, probabilistic neural network, and artificial neural network. Adding texture, color, and scagnostic features to shape features raised shape level accuracy from 90% to 97%. Linear discriminant analysis plots show how the trained model separates leaf shapes. Accuracy dropped sharply (23-50%) when training and test data came from different datasets, so generalization across datasets remains a challenge.
Related
- Statistical versus machine learning-based spatial interpolation of post-processed ensemble weather forecasts
- Ambient RF energy harvesting using voltage doubler rectifier for battery-free agricultural sensor networks: Design, statistical analysis, and machine learning validation
- Benchmarking Classical Machine Learning and Deep Learning Models on the Cleveland Heart Disease Binary Classification Dataset
- Comparing the use of supervised machine learning variable selection methods in the context of two-group classification in the psychological and health sciences
- Explainable computational framework for subtype classification and biomarker identification in head and neck squamous cell carcinoma using machine learning
BibTeX
@misc{gamage2026statistical,
title = {{Statistical Machine Learning for Medicinal Plant Leaves Classification}},
author = {Jayani P. Gamage and Thiyanga S. Talagala},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.04193},
eprint = {2611.04193},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.04193},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - Statistical Machine Learning for Medicinal Plant Leaves Classification
AU - Jayani P. Gamage
AU - Thiyanga S. Talagala
PY - 2026
DA - 2026/11/03
PB - arXiv
DO - 10.48550/arxiv.2611.04193
UR - https://arxiv.org/abs/2611.04193
AB - Medicinal plants are usually identified using practitioners' experience, but reproducible, image based methods can complement this knowledge. We present MEDIPI (MEDIcinal Plant Identification), a statistical machine learning approach that classifies medicinal plant leaves from photographs. From each leaf image we extract 52 interpretable features covering shape, texture, color, and a new scagnostics category. We then classify leaves using a three level hierarchy: shape, then edge type, then species. We also release MedLEA, an open R package with 1,099 leaf images of 31 Sri Lankan medicinal plant species. On this dataset, a hierarchical Random Forest achieved the best overall accuracy (100%) in our comparison of hierarchical and non-hierarchical approaches and eight algorithms: Random Forest, XGBoost, Gradient Boosting, linear discriminant analysis, k-nearest neighbor, support vector machine, probabilistic neural network, and artificial neural network. Adding texture, color, and scagnostic features to shape features raised shape level accuracy from 90% to 97%. Linear discriminant analysis plots show how the trained model separates leaf shapes. Accuracy dropped sharply (23-50%) when training and test data came from different datasets, so generalization across datasets remains a challenge.
ER -