Related Experiment Video
Updated: Jun 6, 2026

Objectification of Tongue Diagnosis in Traditional Medicine, Data Analysis, and Study Application
Published on: April 14, 2023
An integrated machine learning framework for TCM five-flavor classification based on E-tongue profiling and SHAP
Ziang Li1,2,3,4, Xianglong Meng5,6,7,8, Lin Yang1,2,3,4
1College of Chinese Materia Medica and Food Engineering, Shanxi University of Chinese Medicine, Jinzhong, 030619, China.
Background:
The "five-flavor" (wu wei) classification is a core organizing principle in Traditional Chinese Medicine (TCM) pharmacology and quality control, yet its assessment still relies on subjective organoleptic evaluation, limiting standardization and reproducibility.
Methods:
Eighty-four processed herbal slices were analyzed using an electronic tongue to obtain multichannel sensor response profiles. Based on these data, we developed a dual-strategy ensemble learning framework in which a heterogeneous stacking model was trained for five-flavor identification while a voting ensemble was established in parallel for intensity grading. Model interpretability was evaluated using SHapley Additive exPlanations (SHAP) to quantify feature contributions and to relate prediction outcomes to specific electrochemical response patterns.
Results:
On the independent test set, the stacking ensemble showed moderate and flavor-dependent classification performance, with a macro-AUC of 0.876 and a balanced accuracy of 0.629. Discriminative performance was higher for Bitter and Sweet than for Sour, Salty, and Pungent. Full-stack SHAP analysis further identified P_13 and P_8 as the most influential features overall, with P_13 contributing mainly to the discrimination of bitter and pungent attributes, whereas P_8 was more strongly associated with sour, salty, and sweet characterization.
Conclusions:
This study demonstrates a data-driven workflow for digitizing TCM five-flavor assessment. Further validation with expanded sample sizes and chemical corroboration of sensor attributions is needed before operational deployment.
Related Concept Videos
Classification of Titrimetric Analysis Based on Reaction Types
Titrations between an acid and a base lead to neutralization reactions that form...
The Tongue and Taste Buds
Classification of Systems-I
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
Methods of Classification and Identification
Aggregates Classification
Petrographic classification groups aggregates based on common mineralogical characteristics. Some of the common mineral groups found in aggregates are...
Force Classification
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
