Skip to Content
MoleculesMolecules
  • Article
  • Open Access

15 February 2026

13 Pages

Origin Identification of Scutellariae radix Based on Multidimensional Quality Indicators and Machine Learning Algorithms

,
,
,
,
and
1
School of Chinese Materia Medica, Chongqing University of Chinese Medicine, Bishan, Chongqing 402760, China
2
State Key Laboratory for Quality Assurance and Sustainable Use of Dao-di Herbs, Institute of Chinese Materia Medica, China Academy of Chinese Medical Sciences, Beijing 100700, China
*
Authors to whom correspondence should be addressed.
†
These authors contributed equally to this work.

Abstract

This study aims to establish an origin identification method for Scutellariae radix that integrates multidimensional quality indicators and machine learning algorithms, enabling accurate and rapid traceability of Scutellariae radix medicinal materials from four production areas: Hebei (HB), Shanxi (SX), Shaanxi (SAX), and Chengde (CD). The study collected a total of 43 batches of Scutellariae radix samples from the aforementioned origins. It systematically measured 12 key quality indicators covering flavonoids, physicochemical parameters, chromaticity values, and biological activity. These specifically include four flavonoid components: baicalin, wogonoside, baicalein, and wogonin; three physicochemical parameters: moisture content, ash content, and alcohol-soluble extract; four chromaticity values: L*, a*, b*, and ΔE; and in vitro anti-inflammatory activity (IC50 value for NO clearance). On the basis of these parameters, in this study there were five machine learning models constructed based on the following algorithms and methods: Random Forest (RF), Extreme Learning Machine (ELM), Backpropagation Neural Network (BP), and Radial Basis Function Neural Network (RBF). A comparative analysis was conducted to evaluate the origin identification performance of each model. The results indicate significant differences (p < 0.05) in the contents of baicalin, wogonoside, L*, a*, b*, ΔE, and alcohol-soluble extract among Scutellariae radix from different origins. The comparative analysis of four machine learning models reveals that RF outperforms ELM, BP, and RBF in multiclass classification, achieving a test accuracy of 75% and consistent precision, recall, and F1-score of 79.17%. In contrast, the three neural networks attain only 66.67% test accuracy, with RBF showing high precision but low recall, ELM delivering moderate performance, and BP performing poorly. These results underscore the strength of ensemble methods like RF in small-sample settings, where they mitigate overfitting and enhance generalization, whereas neural networks struggle with limited data. We therefore recommend RF for deployment under current data constraints and suggest future work should focus on data expansion, especially for under-performing classes, along with hyperparameter tuning to further improve classification.

1. Introduction

Scutellariae radix (SR) is the dry root of Scutellaria baicalensis Georgi, which has the functions of clearing heat and dampness, purging fire and detoxifying, stopping bleeding and calming the fetus [1]. Modern research has shown that SR contains various active ingredients such as flavonoids [2,3] and amino acids [4], with flavonoids being the primary component [5]. These include baicalin [6,7], wogonoside, baicalein, and wogonin [8]. It exhibits multiple pharmacological effects such as antibacterial [9], anti-inflammatory [10], antitumor [11,12], and cardiovascular and cerebrovascular protective properties [13,14,15].
As a commonly used traditional Chinese medicinal herb, SR is cultivated in several authentic production areas across China, including Hebei, Shanxi, and Inner Mongolia. However, due to long standing cultivation history, mixed germplasm resources, differences in ecological adaptability, and inconsistent harvesting and processing practices, variations in the quality of SR exist not only among different production areas but even within the same region [16]. Currently, the Chinese Pharmacopoeia primarily relies on the content of the single component, baicalin, for quality control [1]. While this standard ensures a baseline level of pharmacologically active substances, research indicates that the pharmacological effects of SR typically result from the synergistic action of multiple components [17,18]. Relying on a single indicator is insufficient for effectively distinguishing quality differences in SR from different origins. Current identification techniques, whether traditional morphological methods or modern single-indicator analysis (such as relying on a few marker compounds by HPLC), suffer from limitations in information dimensionality [19]. These approaches lack the capability to uncover the deep-seated patterns inherent in high-dimensional, non-linear, and complex data. Morphological identification suffers from strong subjectivity and poor reproducibility. Meanwhile, established techniques for chemical fingerprinting—such as HPLC, NIR spectroscopy and DNA-based molecular markers—each have their own strengths. However, in some cases they may not be sensitive to the complex geo-authentic signatures [20,21]. As the distinctive “fingerprint” of an origin is often the result of complex interactions among multiple factors (genotype, soil chemistry, climate), which may not be fully encapsulated by any single type of analysis. Moreover, from a practical standpoint, these methods can be associated with drawbacks such as lengthy sample preparation, the requirement for pure reference materials, and a dependence on skilled operators for data interpretation, potentially hindering their use for rapid and large-scale origin verification. Therefore, systematically integrating multi-dimensional quality traits—including key active components, physicochemical properties, color attributes, and biological activity—and applying advanced algorithms to uncover their underlying patterns is crucial for establishing a precise system for origin identification and quality evaluation of SR. Principal Component Analysis (PCA), a classic unsupervised dimensionality reduction technique, is often employed as an initial step to visualize data structure and reduce noise. While PCA is invaluable for exploratory analysis, its effectiveness in achieving clear class separation for supervised discrimination tasks can be limited when sample clusters exhibit substantial overlap, which is a common scenario in complex natural products. Preliminary exploratory analysis of our dataset revealed significant overlap among the four regions in PCA score plots, indicating that PCA alone would not suffice for building a robust classification model. (Figure S1).
Chemometrics and machine learning algorithms provide powerful tools for handling the complex, high-dimensional data derived from multi-dimensional quality profiling. This study systematically compared five algorithms for identifying the geographical origin of SR: Random Forest (RF), Extreme Learning Machine (ELM), Backpropagation Neural Network (BP), and Radial Basis Function Neural Network (RBF), aiming to find the most effective algorithm for our specific dataset. RF is a classifier that utilizes multiple decision trees to train on samples and make predictions [22]. It is adept at identifying key discriminatory features from high-dimensional data, making it ideal for pinpointing the most influential traits among our 12 measured variables. When dealing with hundreds of feature variables generated by spectroscopic or chromatographic techniques, RF can rapidly identify the key discriminatory features, such as specific spectral wavelengths/energies or chromatographic peaks, most relevant to the geographical origin. For instance, in the study on origin identification of Lonicerae japonicae flos and Lonicerae flos [23] based on three-dimensional fluorescence spectroscopy, the RF model successfully achieved dual identification of both herb species and geographical origin. Moreover, the variable importance rankings generated by the model effectively identified key differential fluorescent components, providing a basis for screening constituent differences among various origins. The study by Liu et al. [24] demonstrated that RF exhibited excellent performance in tracing the geographical origin of oolong tea by integrating multi-element analysis. ELM is renowned for its exceptionally fast training speed and strong generalization capabilities. This efficiency is beneficial for rapid prototyping and comparison in our multi-model framework. Zuo [25] trained the model and predicted spectroscopic criteria for data differentiation. The results indicated that ELM is capable of achieving accurate geographical origin identification for fennel. BP can learn and store a large number of input–output pattern mappings without requiring prior specification of the mathematical equations that describe these relationships [26]. RBF is a three-layer neural network comprising an input layer, a hidden layer, and an output layer. Neurons in the hidden layer use radial basis functions as activation functions. These functions compute the neuron’s output based on the distance between the input and a predefined center point in the input space. The output layer typically employs a linear function to represent the classification results [27]. Both BP and RBF are capable of effectively integrating features of different scales and meanings. They construct complex classification hypersurfaces in high-dimensional space, demonstrating strong comprehensive decision-making abilities, which aligns with our goal of distinguishing the four origins based on multi-dimensional data. In the study by Sun [28] on simultaneously identifying the geographical origin and quality grade of green tea, BP successfully learned complex patterns from inorganic element data to distinguish both macroscopic differences in origin and microscopic variations in quality grade. Its performance surpassed that of traditional linear methods, demonstrating the capability of BP in integrating multidimensional data. Long [29] compared the origin identification capabilities of BAGCT-RBFN (a hybrid model combining Bagging, Classification and Regression Trees, and Radial Basis Function Network) for Hangbaiju. All three models successfully achieved classification of the geographical origin.
This study aims to establish a novel strategy for identifying the geographical origin of SR by integrating multi-dimensional quality traits. It systematically compares the identification performance of five machine learning models, selecting the most efficient and robust one. Furthermore, it aims to reveal the most critical quality indicators affecting origin discrimination, providing a scientific basis for the quality evaluation of genuine regional medicinal materials. This research offers a reliable technical approach for the geographical traceability and quality control of SR.

2. Results and Discussion

2.1. Chromaticity Value

As shown in Figure 1, the appearance chromaticity parameters (L*, a*, b*) and the comprehensive color difference (ΔE) (ΔE = [(L*)2 + (a*)2 + (b*)2]{1/2}) of SR samples from different origins exhibit distinct regional characteristics. Specifically, the L* value, representing lightness, is relatively higher in samples from SX and HB. For SX samples, the L* value ranges from 60.81 to 71.78, with an average of 65.73 ± 3.29%. For HB samples, it ranges from 56.49 to 68.28, averaging 63.47 ± 3.71%. This indicates that the appearance of SR from these two regions is lighter and brighter. In contrast, samples from CD show the lowest L* values, ranging from 53.90 to 60.46 with an average of 56.08 ± 1.87%, meaning their color is the darkest. The a* value (representing redness–greenness, with positive values indicating redness) was positive across all origins. Samples from SAX and CD exhibited the strongest red tendency. For SAX samples, the a* value ranged from 3.32 to 7.01, with an average of 5.15 ± 1.34%. For CD samples, the a* value ranged from 4.82 to 7.52, with an average of 6.04 ± 0.80%. This may be associated with the accumulation of specific flavonoids or phenolic compounds in the epidermis [30]. The b* value (representing yellowness–blueness, with positive values indicating yellowness) also displayed origin dependency. Samples from SX had the highest yellowness values, with the b* value ranging from 35.41 to 44.39 and averaging 40.47 ± 2.47%. The calculated comprehensive color difference (ΔE) further quantifies the overall color variation among samples from different origins. The variation in these chromaticity parameters is not random; it is closely related to the internal chemical composition of the medicinal material [31]. As a set of rapid measurement indicators, chromaticity values hold significant value in constructing origin identification models that integrate multi-source information.
Figure 1. Chromaticity (L*, a*, b*, ΔE) values of SR samples from different origins. (A) L* value; (B) a* value; (C) b* value; (D) ΔE value. Origins are abbreviated as: HB (Hebei), SX (Shanxi), SAX (Shaanxi), and CD (Chengde, Hebei). * p < 0.05 and ** p < 0.01.

2.2. Flavonoid Compounds in SR of Different Origins

As shown in Figure 2, the baicalin content of SR samples from the four origins—HB, SX, SAX, and CD—was 13.49 ± 1.32%, 12.96 ± 1.71%, 12.69 ± 1.20%, and 10.58 ± 0.61%, respectively. The baicalin content in CD samples showed significant differences (p < 0.01) compared to samples from the HB, SX and SAX origins. The wogonoside content of SR samples from the four origins—HB, SX, SAX, and CD—was 2.78 ± 0.34%, 2.69 ± 0.49%, 2.48 ± 0.29%, and 2.23 ± 0.34%, respectively. The wogonoside content in CD samples showed significant differences (p < 0.01) compared to samples from the HB origins. Baicalin was the component with the highest content in samples from all origins, which is consistent with the literature reports [32], indicating that baicalin is the primary active constituent of SR. Samples from HB exhibited higher glycoside content and lower aglycone content compared to samples from other regions, showing a higher glycoside/aglycone ratio. This may suggest differences in post-harvest processing or intrinsic enzyme activity [33]. The baicalein content of SR samples from the four origins—HB, SX, SAX, and CD—was 0.71 ± 0.30%, 0.75 ± 0.62%, 0.76 ± 0.34%, and 0.55 ± 0.09%, respectively. The wogonin content from these origins was 0.22 ± 0.08%, 0.25 ± 0.21%, 0.24 ± 0.13%, and 0.19 ± 0.04%, respectively. No significant differences were observed (p > 0.05) in the content of baicalein or wogonin among samples from HB, SX, SAX, and CD.
Figure 2. Flavonoid compounds in SR of different origins. (A) Baicalin content; (B) Wogonoside content; (C) Baicalein content; (D) Wogonin content. * p < 0.05 and ** p < 0.01.

2.3. Routine Testing Result

Moisture and ash content are crucial parameters for evaluating the standardization of processing and the purity of traditional Chinese medicinal materials. As shown in Figure 3A–C, the moisture content of SR samples from the four origins—HB, SX, SAX, and CD—was 9.26 ± 0.44%, 9.75 ± 0.42%, 9.46 ± 0.46%, and 9.41 ± 0.95%. The moisture content of all samples was below the upper limit of 12.0% specified in the Chinese Pharmacopoeia (2020 edition), indicating sufficient drying, which is beneficial for storage. Regarding ash content, the total ash content of SR samples from the four origins—HB, SX, SAX, and CD—was 5.44 ± 0.52%, 5.19 ± 0.53%, 5.22 ± 0.59%, and 4.85 ± 0.63%. The ash content of all samples also complied with pharmacopoeial standards (not exceeding 6%). However, the ash value for samples from HB was relatively higher, which may indicate sandier soil or subtle variations in the cleaning process during initial processing. The alcohol-soluble extract content of SR samples from the four origins—HB, SX, SAX, and CD—was 47.31 ± 3.72%, 51.98 ± 4.10%, 48.20 ± 3.62%, and 43.83 ± 4.77%, respectively. The CD origin had the lowest alcohol-soluble extract content, which aligns with the previously mentioned trend of lower levels of baicalin, wogonoside, baicalein, and wogonin in CD samples. This indicates that the CD origin yields less extractable active material from SR.
Figure 3. Routine testing of SR from different origins (A) Moisture content; (B) Alcohol-soluble extract content; (C) Ash content; (D) IC50. ** p < 0.01.

2.4. IC50

The in vitro anti-inflammatory activity reflects the therapeutic potential of SR from different origins. The IC50 values for inhibiting NO production were 34.79 ± 7.00 μg/mL, 35.57 ± 12.79 μg/mL, 35.67 ± 12.50 μg/mL, and 35.14 ± 7.41 μg/mL for samples from HB, SX, SAX, and CD, with no significant differences observed among them. Despite having the lowest flavonoid content among the origins, the overall anti-inflammatory activity (IC50) of extracts from CD is not the weakest. This suggests that the overall therapeutic efficacy of SR results from the synergistic action of multiple components, rather than being solely dominated by a single compound. This finding underscores the importance of employing a multi-indicator comprehensive evaluation to assess the quality of SR from different origins.

2.5. Origin Identification

As can be seen from Table 1, based on the comparative analysis of four machine learning models, RF demonstrates significant advantages in the multiclass classification task, achieving a test set accuracy of 75% and maintaining stable precision, recall, and F1-score at 79.17%. Its performance is both comprehensive and optimally balanced. In contrast, ELM, BP, and RBF all achieve a test accuracy of 66.67%, but with notable internal performance differences: while the RBF network achieves the highest precision, its recall is relatively low; ELM shows moderate performance; and the BP network performs the worst, with precision dropping to 47.02%, approaching random guessing levels.
Table 1. Performance comparison results of four machine learning models.
These results highlight the inherent advantages of traditional ensemble learning methods over neural networks in small-sample data scenarios. By integrating multiple decision trees, RF effectively reduces the risk of overfitting and enhances model stability and generalization capability. In contrast, neural networks are constrained by limited data scale, struggling to fully learn complex patterns and prone to overfitting or local optima. Therefore, under the current data conditions, it is recommended to prioritize the deployment of the RF model. Future efforts should focus on expanding the sample size, particularly through targeted data augmentation for poorly performing classes, while also exploring optimization of RF hyperparameters to further improve classification performance.

3. Material and Methods

3.1. Materials

A total of 43 batches of medicinal materials were collected in Chengdu Hehuachi Traditional Chinese Medicine Market and Hebei Anguo Traditional Chinese Medicine Market in 2022. Among them, 10 batches were produced in Hebei (HB), 13 batches in Shanxi (SX), 11 batches in Shaanxi (SAX), and 9 batches in Chengde (CD). After identification by Associate Professor Wang Gang of Chongqing Medical University, they were all authentic SR listed in China Pharmacopoeia, and were the dry roots of SG of Labiatae.
For determination of the content of four flavonoids in SR: Baicalin, Wogonoside, Baicalein, Wogonin (purity ≥ 98%, Chengdu Manster Biotechnology Co., Ltd., Chengdu, China, MUST-15062716; MUST-15080512; MUST-15031608; MUST-15080513); Acetonitrile (HPLC pure, Shanghai Titan Technology Co., Ltd., Shanghai, China); Formic acid, 95% ethanol (Analytical pure, Shanghai Titan Technology Co., Ltd., Shanghai, China).
For determining the IC50 of SR on inhibiting cellular NO production: Fetal bovine serum (FBS), Dulbecco’s Modified Eagle Medium (DMEM) high glucose medium, Penicillin–Streptomycin, Phosphate-buffered saline (PBS) (Shanghai Titan Technology Co., Ltd., Shanghai, China, P2273445; 208538; P2246997; C8022; P2135776); Lipopolysaccharide (LPS) (Sigma-Aldrich Trading Co., Ltd., Shanghai, China, L2880); Nitric oxide (NO) assay kit (Beyotime Biotechnology Co., Ltd., Shanghai, China, S0021); Dexamethasone (Beijing Solarbio Science & Technology Co., Ltd., Beijing, China., 203U024).

3.2. Determination of Chromaticity Value

The chromaticity value of SR powder was determined using a CM-5 spectrophotometer (Konica Minolta Japan Co., Ltd., Tokyo, Japan). A total of 43 batches of powdered samples were evenly spread on glass slides and measured under the following standardized conditions: using CIE approved D65 light source (CM-5 spectrophotometer, Konica Minolta Japan Co., Ltd., Tokyo, Japan), color temperature 6504 K. white background, measuring aperture 30 mm, viewing angle 10°, after calibration by white board, determine the chromaticity value of sample powder, duplicate twice, and take the average value. In L*, a*, b* color space, L* value is lightness index, a*, b* are chromaticity index, where a* is red–green axis, b* is yellow–blue axis, sample powder color is expressed by total chromaticity value (ΔE), formula is ΔE = [(L*)2 + (a*)2 + (b*)2]{1/2}.

3.3. Preparation of Sample Solution

Weigh approximately 0.05 g of powdered sample (40 mesh) using the ES220A balance (Chongqing Lizhen Technology Co., Ltd., Chongqing, China) with a precision of 0.1 mg, and transfer it into a stoppered conical flask. Add 50 mL of 70% ethanol (purity ≥ 95%), weigh the flask, and perform ultrasonic extraction SB-5200DT ultrasonic cleaner (360 W, 40 kHz) (Ningbo Scientz Biotechnology Co., Ltd., Ningbo, China) for 1 h. After cooling to room temperature, weigh the flask again and replenish the lost weight with 70% ethanol. Filter the solution and pass it through a 0.22 μm membrane to obtain the final sample solution.

3.4. Preparation of the Reference Solution

Accurately weigh appropriate amounts of baicalin, wogonoside, baicalein and wogonin reference standards using the XSE105DU balance (Mettler Toledo International Inc., Greifensee, Switzerland) with a precision of 0.01 mg, and dissolve them in methanol to prepare stock solutions with concentrations of 1075 μg/mL, 406.8 μg/mL, 1060 μg/mL, and 1033 μg/mL, respectively. Subsequently, dilute the stock solutions with 20% acetonitrile to obtain the final reference solution containing baicalin (64.80 μg/mL), wogonoside (31.00 μg/mL), baicalein (28.00 μg/mL), and wogonin (2.72 μg/mL).

3.5. HPLC Conditions

The contents of baicalin, wogonoside, baicalein, and wogonin were determined using a validated high-performance liquid chromatography (HPLC) method established by our research group [34]. Briefly, the analysis was performed on a Shimadzu LC-20AD HPLC system (Shimadzu Corporation, Kyoto, Japan) equipped with a Diamonsil® Plus 5 C18 column (4.6 μm × 250 mm, 5 μm). Mobile phase A consisted of acetonitrile–water–formic acid aqueous solution (21:78:1, v/v/v) and mobile phase B was acetonitrile–water–formic acid aqueous solution (80:20:1, v/v/v). Gradient elution was performed as follows: 0–10 min, 100% A; 10–35 min, 100% A → 90% A; 35–70 min, 90% A → 65% A; 70–85 min, 65% A → 5% A. The detection wavelength was set at 280 nm, with the column temperature maintaining at 30 °C, a flow rate of 1.0 mL/min, and an injection volume of 10 μL.

3.6. Routine Testing

Moisture content was determined using the second method (oven-drying method) described in General Rule 0832 of the 2020 edition of the Chinese Pharmacopoeia (Part IV) [1]. The total ash content was determined using the method for total ash specified under General Rule 2302 in the 2020 edition of the Chinese Pharmacopoeia (Part IV) [1]. The alcohol-soluble extract content was determined using the hot extraction method for alcohol-soluble extracts as specified under General Rule 2201 for the determination of extracts in the 2020 edition of the Chinese Pharmacopoeia (Part IV) [1].

3.7. Determination of NO Concentration

RAW 264.7 cells (Chongqing Golden Magpie Technology Development Co., Ltd., Chongqing, China) were maintained in DMEM high-glucose medium supplemented with FBS under standard conditions (37 °C, 5% CO2) (3111 CO2 incubator, Thermo Forma, Inc., Waltham, MA, USA). The cultures were routinely passaged and refreshed with new medium. For all experiments, only cells in the logarithmic phase of growth were harvested.
The cells were seeded in 24-well plates at a density of 2 × 105 cells/mL and cultured for 24 h. After incubation, the old medium was aspirated and discarded. The cells were then divided into the following groups: a control group (Control, 0.1% DMSO), a model group (LPS, 1 μg/mL), and an experimental group (LPS + 400 μg/mL ethanol-soluble extract of SR). Following 24 h of treatment, 50 μL of each sample were collected. Then, 50 μL of Griess Reagent I and Griess Reagent II were added to each well. The optical density (OD) at 540 nm was measured using a microplate reader (Synergy HTX micro plate reader, Shanghai Genebio International Trading Co., Ltd., Shanghai, China). The concentration of NO was calculated based on a standard curve. The experiment was repeated three times independently. The NO inhibition rate (%) of SR on LPS-induced RAW 264.7 cells was calculated using the following formula:
Inhibition Rate (%) = (ODmodel − ODexperimental)/(ODmodel − ODcontrol) × 100%
ODmodel refers to the absorbance of the LPS treated cell wells, ODexperimental refers to the absorbance of the treated cell wells, and ODcontrol refers to the absorbance of the untreated cell wells.
Subsequently, the half-maximal inhibitory concentration (IC50) was determined by curve fitting using a log function with base 10.

3.8. Data Analysis

GraphPad Prism 10.6.0 was used for statistical analysis. Data were presented as mean ± standard deviation for descriptive purposes. Due to the heterogeneity of variances in our data, we employed non-parametric tests: the Kruskal–Wallis test was used to compare differences among the four groups, followed by the Dunn’s multiple comparison test for significant variables. For all chemical, physicochemical, and colorimetric analyses, measurements were performed in duplicate. The anti-inflammatory activity (IC50) was determined from three independent biological replicates (n = 3). The mean values were used for subsequent analysis.

3.9. Model Hyperparameter Settings

Based on an input–output framework where 12 quality indices of SR serve as inputs and four geographical origins (HB, SX, SAX, CD) as the output, four distinct machine learning algorithms—RF, RBF, BP, and ELM—were implemented and comparatively evaluated to establish a robust origin identification model. The input parameters, which were objectively analyzed and quantified, encompassed chemical composition (baicalin ×1, wogonoside ×2, baicalein ×3, wogonin ×4), pharmacopoeial limits (moisture ×5, alcohol-soluble extract ×6, total ash ×7), color values (L* ×8, a* ×9, b* ×10, ΔE ×11), and anti-inflammatory activity (IC50 for NO clearance ×12). All computational work was conducted in MATLAB R2024a, incorporating rigorous strategies such as dataset partitioning and regularization to prevent overfitting and ensure methodological reproducibility.

3.9.1. RF Model Parameter Setting

RF model employs empirical prior probabilities based on the actual distribution of each class in the training data: CD: 20.9%, HB: 23.3%, SAX: 25.6%, SX: 30.2%. This setting accounts for the class imbalance in the real dataset and helps avoid bias toward the majority class. For each node split, RF randomly selects √p ≈ 3 features from the total of 12 features as candidate splitting variables (where p is the total number of features). This default configuration balances tree diversity and split quality, aligning with standard RF practice. Each decision tree is constructed using bootstrap sampling, where approximately 63.2% of the training samples are randomly drawn with replacement. This standard approach ensures that each tree is trained on a different subset, enhancing model diversity—a core principle of the Bagging algorithm.
The RF comprised 100 decision trees, a number determined through grid-search optimization. Tree depth was indirectly controlled by setting the minimum leaf size to 5, which effectively limits maximum depth without imposing an explicit depth constraint.
To prevent overfitting, an 80–20 stratified split was applied: 35 samples were used for training, and 8 samples were reserved as an independent test set. Hyperparameter optimization was performed internally on the training set using 5-fold cross-validation, thereby avoiding further partitioning of the limited sample size into a separate validation set. Through grid-search optimization, the minimum leaf size (MinLeafSize) was set to 5, meaning each terminal node contained at least 5 samples. This parameter effectively controls tree depth and mitigates overfitting, and was selected from the candidate values [1, 3, 5, 8, 10] via 5-fold cross validation. The stopping criteria for the RF include node purity—splitting stops when all samples in a node belong to the same class; minimum sample size—splitting stops when the node contains ≤ 5 samples (MinLeafSize = 5); and fixed tree number—100 trees were built, with convergence monitored via out-of-bag (OOB) error. Together, these criteria ensure the model’s generalization capability.

3.9.2. ELM

The ELM implementation followed the standard single-hidden-layer feedforward network architecture with random projection. Network architecture: 20 neurons in the hidden layer. Activation function: sigmoid activation function was employed for all hidden neurons. Weight initialization: input weights and hidden layer biases were randomly initialized from a uniform distribution over [−1, 1]. Training algorithm: unlike iterative backpropagation, ELM computes the output weights analytically through Moore–Penrose pseudoinverse of the hidden layer output matrix. Regularization: L2 regularization with parameter λ = 0.01 was incorporated into the weight calculation to enhance generalization performance. Computational efficiency: the non-iterative training approach provides computational advantages, particularly for small to medium-sized datasets.

3.9.3. BP

A feedforward neural network trained with backpropagation was implemented using MATLAB’s patternnet function with the following specifications. Network architecture: a single hidden layer architecture with 8 neurons was employed, based on preliminary experimentation. Activation functions: hidden layer; hyperbolic tangent sigmoid function. Output layer: softmax function for multi-class probability estimation. Training algorithm: scaled conjugate gradient backpropagation (trainscg) was utilized for efficient training with small datasets. Learning Parameters: learning rate, 0.01; momentum factor, 0.9; maximum epochs, 1000. Regularization: L2 regularization with parameter λ = 0.01 was applied to the weight updates to prevent overfitting. Early stopping: to further mitigate overfitting, early stopping was implemented with a patience of 10 epochs. Training was halted when the validation error failed to improve for 10 consecutive epochs, and the weights corresponding to the minimum validation error were restored.

3.9.4. RBF

The RBF was constructed using MATLAB’s newrb function, which implements an iterative network growing algorithm. The network architecture and training parameters were configured as follows: Center selection: hidden neuron centers were determined through sequential orthogonalization, where training samples causing the largest reduction in network error were iteratively added as new radial basis function centers. RBF: Gaussian activation functions were employed for all hidden neurons: φ(||x − c_i||) = exp(−||x − c_i||2/(2σ2)), where c_i represents the center of the i-th neuron and σ denotes the spread parameter. Spread parameter optimization: the unified spread parameter (σ) was optimized through 3-fold cross-validation over the range [1.5, 2.0, 2.5, 3.0, 3.5]. The optimal value of σ = 2.5 was selected based on validation accuracy. Hidden Layer Configuration: the network architecture included 8 neurons in the hidden layer, determined through cross-validation. Output layer: a linear activation function was used in the output layer, with final class determination performed through argmax operation on the output values. Training algorithm: the network weights between hidden and output layers were calculated using regularized least squares to prevent overfitting. Stopping criteria: network construction terminated when either the mean squared error fell below the goal error threshold of 0.01, or the maximum number of neurons 8 was reached.

3.9.5. Hyperparameter Optimization and Model Evaluation

All hyperparameters were optimized using grid search combined with k-fold cross-validation (k = 5). Model performance was evaluated using multiple metrics including accuracy, precision, recall, and F1-score. The independent test set (20% of total samples) was reserved for final model evaluation and comparison. To ensure statistical robustness, all experiments were repeated 10 times with different random seeds, and performance metrics were reported as mean ± standard deviation.

4. Conclusions

This study aims to establish a novel method for origin identification that comprehensively characterizes the quality of SR. This study systematically collected 43 batches of SR samples from four origins: HB, SX, SAX, and CD. By integrating the measurement of 12 indicators—including key flavonoid components (baicalin, wogonoside, baicalein, wogonin), physicochemical parameters (moisture, total ash, alcohol-soluble extract), color attributes (L*, a*, b*, ΔE), and in vitro anti-inflammatory activity (IC50 for NO clearance)—a high-dimensional dataset was constructed to comprehensively characterize the chemical, physical, and biological activity of SR. By constructing and comparing five machine learning models, it was found that RF performed optimally in integrating this multi-source information. This enabled a more comprehensive identification of the origin of SR, effectively overcoming the limitations of traditional single-indicator evaluations.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/molecules31040680/s1, Figure S1: PCA score plot (PC1 vs. PC2) of SR samples from four geographical origins.

Author Contributions

Conceptualization, X.-L.L. and T.Z.; Methodology, X.-L.L. and T.Z.; Software, X.-L.L. and T.Z.; Validation, X.-L.L. and T.Z.; Investigation, M.-Y.Z.; Resources, H.L.; Data Curation, J.-X.Y. and H.L.; Writing—Original Draft Preparation, X.-L.L. and T.Z.; Writing—Review and Editing, J.-X.Y. and H.L.; Visualization, X.-L.L. and T.Z.; Supervision, B.Y.; Project Administration, H.L.; Funding Acquisition, H.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Scientific and Technological Innovation Project of China Academy of Chinese Medical Sciences (Grant No. CI2021A04511), Key R&D Program of Shaanxi Province, China (Grant No. 2021CXGC010508).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available in the article and Supplementary Materials.

Acknowledgments

We wish to acknowledge the help of two institutions, Chongqing University of Chinese Medicine and China Academy of Chinese Medical Sciences.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Chinese Pharmacopoeia Commission. Pharmacopoeia of China, Part 1; China Medical Science Press: Beijing, China, 2020. [Google Scholar]
  2. Cui, X.B.; Cai, H.; Li, H.N.; Tao, Y.; Huang, P.; Qian, X.C.; Li, J.S.; Cai, B.C. Simultaneous determination of 10 flavonoids in crude and wine-processed Radix Scutellariae by UHPLC. J. Chromatogr. Sci. 2016, 54, 312–317. [Google Scholar]
  3. Han, J.; Ye, M.; Xu, M.; Sun, J.H.; Wang, B.R.; Guo, D.A. Characterization of flavonoids in the traditional Chinese herbal medicine-Huangqin by liquid chromatography coupled with electrospray ionization mass spectrometry. J. Chromatogr. B 2007, 848, 355–362. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Wang, H.W.; Yin, Z.F.; Li, H.B.; Yuan, X.X.; Yang, M.M.; Zhao, G.Q. Chemical constituents from stems and leaves of Scutellaria baicalensis. Chin. J. Exp. Tradit. Med. Form. 2016, 22, 41–44. [Google Scholar]
  5. Ji, S.; Li, R.; Wang, Q.; Miao, W.J.; Li, Z.W.; Si, L.L.; Qiao, X.; Yu, S.W.; Zhou, D.M.; Ye, M. Anti-H1N1 virus, cytotoxic and Nrf2 activation activities of chemical constituents from Scutellaria baicalensis. J. Ethnopharmacol. 2015, 176, 475–484. [Google Scholar] [CrossRef] [Scilit]
  6. Dou, J.; Wang, Z.; Ma, L.; Peng, B.; Mao, K.; Li, C.Q.; Su, M.Q.; Zhou, C.L.; Peng, G.Y. Baicalein and baicalin inhibit colon cancer using two distinct fashions of apoptosis and senescence. Oncotarget 2018, 9, 20089–20102. [Google Scholar] [CrossRef] [Scilit]
  7. Cheng, O.M.; Li, Z.H.; Han, Y.; Jiang, Q.S.; Yan, Y.; Cheng, K. Baicalin improved the spatial learning ability of global ischemia/reperfusion rats by reducing hippocampal apoptosis. Brain Res. 2012, 1470, 111–118. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Wang, Z.L.; Wang, S.; Kuang, Y.; Hu, Z.M.; Qiao, X.; Ye, M. A comprehensive review on phytochemistry, pharmacology, and flavonoid biosynthesis of Scutellaria baicalensis. Pharm. Biol. 2018, 56, 465–484. [Google Scholar] [CrossRef] [Scilit]
  9. Dai, B.X.; Dong, B.L.; Cai, Y.Q.; Zhu, S.S. Content determination of baicalin from Radix Scutellariae herbal materials and decoction residues and in vitro antibacterial activity. J. Guangzhou Univ. Tradit. Chin. Med. 2020, 37, 722–725. [Google Scholar]
  10. Lin, C.C.; Shieh, D.E. The anti-inflammatory activity of Scutellaria rivularis extracts and its active components, baicalin, baicalein and wogonin. Am. J. Chin. Med. 1996, 24, 31–36. [Google Scholar] [CrossRef] [Scilit]
  11. Park, K.I.; Park, H.S.; Kang, S.R.; Nagappan, A.; Lee, D.H.; Kim, J.A.; Han, D.Y.; Kim, G.S. Korean Scutellaria baicalensis water extract inhibits cell cycle G1/S transition by suppressing cyclin D1 expression and matrix-metalloproteinase-2 activity in human lung cancer cells. J. Ethnopharmacol. 2011, 133, 634–641. [Google Scholar] [CrossRef] [Scilit]
  12. Wang, L.; Feng, T.; Su, Z.L.; Pi, C.; Wei, Y.M.; Zhao, L. Latest research progress on anticancer effect of baicalin and its aglycone baicalein. Arch. Pharm. Res. 2022, 45, 535–557. [Google Scholar] [CrossRef] [Scilit]
  13. Li, Q.; Chen, Y.J.; Zhang, X.; Zuo, S.L.; Ge, H.F.; Chen, Y.Y.; Liu, X.; Zhang, J.H.; Ruan, H.Z.; Feng, H. Scutellarin attenuates vasospasm through the Erk5-KLF2-eNOS pathway after subarachnoid hemorrhage in rats. J. Clin. Neurosci. 2016, 34, 264–270. [Google Scholar] [CrossRef] [Scilit]
  14. Mo, J.; Yang, R.H.; Li, F.; Zhang, X.C.; He, B.; Zhang, Y.; Chen, P.; Shen, Z.Q. Scutellarin protects against vascular endothelial dysfunction and prevents atherosclerosis via antioxidation. Phytomedicine 2018, 42, 66–74. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Huang, H.B.; Geng, Q.Q.; Yao, H.; Shen, Z.H.; Wu, Z.H.; Miao, X.Q.; Shi, P.Y. Protective effect of scutellarin on myocardial infarction induced by isoprenaline in rats. Iran. J. Basic Med. Sci. 2018, 21, 267–276. [Google Scholar]
  16. Feng, Z.P. Quality Analysis and Comparative Study of Scutellariae radix from Different Origins. Master’s Thesis, Shaanxi Normal University, Xi’an, China, 2020. [Google Scholar]
  17. Wang, Y.H.; Jia, M.Q.; Gao, Y.; Zhao, B.N. Multiplex quantitative analysis of 9 compounds of Scutellaria baicalensis Georgi in the plasma of pespiratory syncytial virus-infected mice based on HPLC-MS/MS and pharmacodynamic effect correlation analysis. Molecules 2023, 28, 6001. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Wu, X.H.; Zhang, Q.Q. Determination of baicalein and baicalin in Scutellaria baicalensis by HPLC fingerprint combined with chemical pattern recognition. Chem. Res. Appl. 2025, 37, 2616–2624. [Google Scholar]
  19. Chen, H.Y.; He, Y. Machine learning approaches in Traditional Chinese Medicine: A systematic review. Am. J. Chin. Med. 2022, 50, 91–131. [Google Scholar] [CrossRef] [Scilit]
  20. Wang, Q.Q.; Shen, T.; Zuo, Z.T.; Huang, H.Y.; Wang, Y.Z. Data fusion and multi-components quantitative analysis for identification and quality evaluation of Gentiana rigescens from different geographical origins. Chin. J. Chin. Mater. Med. 2018, 43, 1162–1168. [Google Scholar]
  21. Zhou, J.R.; Sun, J.; Shen, X.X.; Shao, Q.S.; Wang, L.B.; Wang, Z.A. Study on genetic diversity of Peucedanum praeruptorum germplasm resourcesin traditional production areas. J. Chin. Med. Mater. 2021, 44, 2543–2548. [Google Scholar]
  22. Song, Y.N.; Yin, Z.; Zhang, C.; Hao, S.J.; Li, H.B.; Wang, S.F.; Yang, X.C.; Li, Q.; Zhuang, D.Y.; Zhang, X.Y.; et al. Random forest classifier improving phenylketonuria screening performance in two Chinese populations. Front. Mol. Biosci. 2022, 9, 986556. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. He, S.; Long, W.J.; Hai, C.Y.; Chen, H.Y.; Tang, C.J.; Rong, X.M.; Yang, J.; Fu, H.Y. Rapid identification of traditional Chinese medicines (Lonicerae japonicae flos and Lonicerae flos) and their origins using excitation-emission matrix fluorescence spectroscopy coupled with chemometrics. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2024, 307, 123639. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Liu, T.L.; Dai, J.R.; Su, T.C.; Chiu, C.H.; Tsai, H.T.; Chiu, C.F.; Lin, J.C.; Hu, C.Y. Development and industrial application of geographical origin identification for Taiwanese oolong tea. J. Food Drug Anal. 2024, 32, 498–505. [Google Scholar] [CrossRef] [Scilit]
  25. Zuo, E.G.; Sun, L.; Yan, J.Y.; Chen, C.; Chen, C.; Lv, X.Y. Rapidly detecting fennel origin of the near-infrared spectroscopy based on extreme learning machine. Sci. Rep. 2022, 12, 13593. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  26. Ye, F.P.; Wheeler, C.; Chen, B.; Hu, J.Q.; Chen, K.K.; Chen, W. Calibration and verification of DEM parameters for dynamic particle flow conditions using a backpropagation neural network. Adv. Powder Technol. 2019, 30, 292–301. [Google Scholar] [CrossRef] [Scilit]
  27. Wei, J.R.; Xu, W.M. Anti-sway positioning control method for overhead cranes using reinforcement learning adaptive sliding mode under input saturation constraints. J. Shanghai Marit. Univ. 2025, 46, 133–141. [Google Scholar]
  28. Sun, Y.Q.; Song, X.C.; Yang, S.Y.; Lu, N.; Gao, Z.H.; Kong, L.S.; Zhan, J.H. Deep learning-augmented inductively coupled plasma atomic emission spectrometry for multivariate authentication of green tea origin and grades. Food Res. Int. 2025, 219, 117015. [Google Scholar] [CrossRef] [Scilit]
  29. Long, W.J.; Zhang, Q.; Wang, S.R.; Suo, Y.X.; Chen, H.Y.; Bai, X.Y.; Yang, X.L.; Zhou, Y.P.; Yang, J.; Fu, H.Y. Fast and non-destructive discriminating the geographical origin of Hangbaiju by hyperspectral imaging combined with chemometrics. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2023, 284, 121786. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Huang, J.P.; Xia, Z.B.; Jing, Y.J.; Wang, Q.L.; Zou, Y.R.; Peng, L.; Zhang, G.; Gao, J.; Wang, H.Y.; Yan, Y.G. Correlations between appearance traits and internal quality of Scutellariae radix in different harvest periods based on theory of “quality evaluation through morphological identification”. Chin. Tradit. Herb. Drugs 2024, 55, 3487–3496. [Google Scholar]
  31. Wu, Y.X.; Weng, L.L.; Jiang, Y.X.; Su, Y.; Hou, X.L. Analysis of the correlation between the content of chemical constituents and chromaticity of Scutellaria baicalensis Georgi based on the principle of chromatic aberration. Mod. Tradit. Chin. Med. Mater. Med-World Sci. Technol. 2020, 22, 2839–2844. [Google Scholar]
  32. Hao, D.X.; Li, Y.S.; Shi, J.; Jiang, J.G. Baicalin alleviates chronic obstructive pulmonary disease through regulation of HSP72-mediated JNK pathway. Mol. Med. 2021, 27, 53. [Google Scholar] [CrossRef] [Scilit]
  33. Han, X.T.; Tang, Y.N.; Liu, Z.Q.; Wang, H.Y.; Bao, L.Y.; Li, F.; Mao, M.; Du, H. Influence of different processing methods on the effect of ‘glycoside protection by inactivating enzyme’ and the quanlity of Scutellariae radix pieces. Chin. J. Tradit. Chin. Med. Pharm. 2022, 37, 120–124. [Google Scholar]
  34. Li, H.; Liu, J.; Dong, H.J.; Liu, H.L.; Yang, B. Comparison of HPLC and UPLC for the determination of 5 flavonoids in Scutellaria baicalensis. China Pharm. 2014, 25, 3293–3296. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.