Machine learning improve the discrimination of raw cotton from different countries
Abstract Background The geo-traceability of cotton is crucial for ensuring the quality and integrity of cotton brands. However, effective methods for achieving this traceability are currently lacking. This study investigates the potential of explainable machine learning for the geo-traceability of raw cotton. Results The findings indicate that principal component analysis (PCA) exhibits limited effectiveness in tracing cotton origins. In contrast, partial least squares discriminant analysis (PLS-DA) demonstrates superior classification performance, identifying seven discriminating variables: Na, Mn, Ba, Rb, Al, As, and Pb. The use of decision tree (DT), support vector machine (SVM), and random forest (RF) models for origin discrimination yielded accuracies of 90%, 87%, and 97%, respectively. Notably, the light gradient boosting machine (LightGBM) model achieved perfect performance metrics, with accuracy, precision, and recall rate all reaching 100% on the test set. The output of the LightGBM model was further evaluated using the SHapley Additive exPlanation (SHAP) technique, which highlighted differences in the elemental composition of raw cotton from various countries. Specifically, the elements Pb, Ni, Na, Al, As, Ba, and Rb significantly influenced the model's predictions. Conclusion These findings suggest that explainable machine learning techniques can provide insights into the complex relationships between geographic information and raw cotton. Consequently, these methodologies enhances the precision and reliability of geographic traceability for raw cotton.
Authors
- Tian Wang (ORCID: https://orcid.org/0000-0003-4819-621X)
- Lei Ma (ORCID: https://orcid.org/0000-0002-8331-7200)
- M. Wang (ORCID: https://orcid.org/0000-0002-7741-547X)
- Weidong Du (ORCID: https://orcid.org/0000-0001-5215-9142)
- Jingyan Wei
- Xinquan Tian
- Shuangjiao Xu
Institutions
- Qingdao University of Science and Technology (CN)
- Zhengzhou University (CN)
- Xinjiang Uygur Autonomous Region Product Quality Supervision and Inspection Institute (CN)
- People's Hospital of Xinjiang Uygur Autonomous Region (CN)
- Shandong University of Science and Technology (CN)
Publication Details
- Journal
- Journal of Cotton Research
- Published
- 2025-09-29
- DOI
- https://doi.org/10.1186/s42397-025-00231-3
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Agricultural Science and Technology Innovation Program