Next Article in Journal
A Capillary Computing Architecture for Dynamic Internet of Things: Orchestration of Microservices from Edge Devices to Fog and Cloud Providers
Previous Article in Journal
Signal Processing for Time Domain Wavelengths of Ultra-Weak FBGs Array in Perimeter Security Monitoring Based on Spark Streaming
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Discrimination between Alternative Herbal Medicines from Different Categories with the Electronic Nose

State Key Laboratory of Industrial Control Technology, Institute of Cyber-Systems and Control, Zhejiang University, Hangzhou 310027, China
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(9), 2936; https://doi.org/10.3390/s18092936
Submission received: 29 July 2018 / Revised: 12 August 2018 / Accepted: 1 September 2018 / Published: 4 September 2018
(This article belongs to the Section Chemical Sensors)

Abstract

:
As alternative herbal medicine gains soar in popularity around the world, it is necessary to apply a fast and convenient means for classifying and evaluating herbal medicines. In this work, an electronic nose system with seven classification algorithms is used to discriminate between 12 categories of herbal medicines. The results show that these herbal medicines can be successfully classified, with support vector machine (SVM) and linear discriminant analysis (LDA) outperforming other algorithms in terms of accuracy. When principal component analysis (PCA) is used to lower the number of dimensions, the time cost for classification can be reduced while the data is visualized. Afterwards, conformal predictions based on 1NN (1-Nearest Neighbor) and 3NN (3-Nearest Neighbor) (CP-1NN and CP-3NN) are introduced. CP-1NN and CP-3NN provide additional, yet significant and reliable, information by giving the confidence and credibility associated with each prediction without sacrificing of accuracy. This research provides insight into the construction of a herbal medicine flavor library and gives methods and reference for future works.

1. Introduction

Following its long history, alternative herbal medicine has gained popularity across the world [1]. However, its classification tends to be a difficult job [2,3]. There is an idiosyncrasy associated with herbal medicines—many different categories of herbal medicines have similar physical appearances after preprocessing in pharmacies. Meanwhile, the most convenient means for discrimination of herbal medicines currently is to consult doctors which is highly dependent on doctors’ knowledge and experience. Therefore, the similarity between herbs’ appearance necessitates a large amount of time for discrimination and elicits high error rates, leading to certain merchants’ substituting expensive medicines for inferior counterparts. Therefore, it is necessary to put forth a standard and convenient quality evaluation process to distinguish between herbal medicines of different categories for the betterment of customers all around the world.
The artificial olfaction system, generally recognized as electronic nose, simulates the mechanism of mammal olfaction and can be used as a fast, cheap, non-instrumental, and stable analytical tool to deal with mixtures of volatile compound gas. So far, electronic nose has been applied in such domains as evaluating environment quality [4,5,6,7,8], medical diagnosis [9,10,11,12,13,14], and especially, in food evaluation [15,16,17]. With regard to food evaluation, Wojnowski and his team [18] used a portable modular electronic nose intended for food analysis, combined with the SVM method, to successfully classify poultry and rapeseed oil samples. The prototype was also used to detect the adulteration of extra virgin olive oil and rapeseed oil with an overall accuracy of 82%. In the article “Electronic noses for food quality: A review” [19], the authors summarize recent work related to electronic nose use in the food industry, focusing on the application of the electronic nose in food quality monitoring, such as in meat, milk, fish, tea, coffee, and wine. Macías Miguel et al. [20] developed a portable and low-cost electronic nose prototype based on an mbed microcontroller and tested the performance of the electronic nose by measuring the ethanol content of the wine synthetic matrix. The electronic nose with a neural network classifier is used to distinguish wine samples containing 10%, 12%, and 14% V/V alcohol content with a classification error of less than 1%. Majchrzak, T. and co-workers [21] have successfully used electronic noses for the analysis of edible oils, in particular, for determining the geographical origins of products, as well as for detecting adulteration and deterioration caused by external factors. Additionally, the group led by Lin [22] used the electronic nose to analyze the juices of raw lotus root (RLR) and full lotus root powder (FLRP) and found the homogeneity of their major olfactory components. Rodriguez and colleagues [23] analyzed the quality of coffee with the E-nose and classified the flaws of Columbian coffee to justify the efficacy of using the E-nose to evaluate coffee quality. Li and co-workers [24] integrated the E-nose and chemistry analytical method to distinguish red ginsengs from Korean ginsengs. By implementing Principal Component Analysis (PCA), Discriminatory Factor Analysis (DFA), and Soft Independent Model Cluster Analysis (SIMCA), this group successfully classified these two kinds of ginsengs. Miao and his co-workers [25] combined the results from the E-nose and NIR (Near Infrared) to successfully distinguish ginsengs from nine different locations. By using the support vector machine, these scholars reached classification accuracies of 90.18 ± 4.94 % and 97.98 ± 2.77 % for the E-nose and NIR respectively. Afterwards, with data fusion methods at the feature level and decision level, the accuracies were shown to be 99.58 ± 1.23 % and 99.24 ± 1.57 % , indicating that data fusion can be used to expand the results gained from electronic nose.
In addition to classification results, the reliability of classifications of alternative herbal medicine is also of great significance, since the results are closely associated with the treatment of diseases. A bad classification with poor reliability renders the discrimination process useless and poses direct threats to patients’ health. Currently, in order to provide information about the prediction reliability, methods such as probably approximately correct learning (PAC) and Bayesian learning have been issued. Nevertheless, the large number of samples that do not offer details about the reliability of individual prediction [26] lead PAC to be not so appropriate for the herbal medicine classification problem. On the other hand, although methods such as Bayesian learning, logistic regression [27], and Platt’s method [28] do associate individual prediction with additional reliability information, they are usually based on stringent distribution assumptions. Notwithstanding, since data gathered from the E-nose is usually influenced by sensor drifts due the variations in the surrounding environment, the distribution assumptions cannot be readily satisfied.
Conformal prediction was issued and improved by Vladimir Vovk and his co-workers [26,27,29,30]. It is based on the identical and independent distribution assumptions which state that all samples and labels are generated from the same identical and independent distributions which is a weaker assumption when compared with the methods mentioned above. When applied to the processing of E-nose data, conformal prediction can provide promising information about reliability for each prediction. With the characteristic nonconformity measure, conformal prediction can provide additional information about confidence and credibility for each prediction made and avoid overestimating the overall accuracy [31].
Based on previous research and analysis, our group selected 12 different categories of typical herbal medicines used in China, including Astragalus, Liquorice, and Chinese Angelica, as the medicines for the experiments. Using a self-assemblied electronic nose system, our group used support vector machine (SVM) [32,33], decision tree (DT) [34], linear discriminant analysis (LDA) [35], K-nearest neighbors (KNN) [36], artificial neural network (ANN), Naive Bayes (NB), principal component analysis (PCA) and conformal prediction based on K-nearest neighbors (CP-KNN) to distinguish between and analyze diverse herbal medicines with leave-one-out cross validation. The whole process can be interpreted from Figure 1.

2. Conformal Prediction

2.1. Definition

Classification and regression are the usual issues in machine learning. Herbal medicine discrimination is one of the classification problems. Generally, in classification problems, there is usually a training set with many observations containing features and labels: ( ( x 1 , y 1 ) , ... , ( x n , y n ) ) .
Each observation consists of one feature vector ( x i X ) and one label ( y i Y ) in which X is the object space and Y is the label space. As long as the objects and labels are established, example space Z can be established:
z i = ( x i , y i ) , i = 1 , 2 , ... , ( n 1 ) .
When a new sample ( x n ) appears, the task is to predict the label ( y n ) associated with it.
A simple predictor finds one function (F) which reflects the new feature vector ( x n ) in object space to one label in the label space:
F : Z × X Y .
A conformal predictor has another parameter, the significance level ( ϵ ( 0 , 1 ) ). Additionally, the confidence level, representing the confidence underlying each prediction, is represented by 1 ϵ . Given a specific significance level, a conformal predictor outputs a set of predicted labels in the label space based on the conformity of each label predicted:
Γ ϵ ( z 1 , ... , z n 1 , x n ) .
Meanwhile, the output sets from conformal predictors are nested as shown below:
Γ 1 ϵ 1 ( z 1 , ... , z n 1 , x n ) Γ 2 ϵ 2 ( z 1 , ... , z n 1 , x n ) ( ϵ 1 ϵ 2 ) .
Conformal predictors output prediction sets according to the nonconformity measure, which can be represented by matrix A that associates each observation ( z i Z ( i = 1 , 2 , , n ) ) with a real number ( α i R ( i = 1 , 2 , , n ) ). This nonconformity measure, based on a specific algorithm such as KNN, indicates how well conformed each combination of feature and sample is when placed in the observations excluding the observation being examined:
α i = A n ( z 1 , z i 1 , z i + 1 , , z n ) , i = 1 , , 2 .
Additionally, A has exchangeability; for any n and any permutation ( π ),
( α 1 , , α n ) = A n ( z 1 , , z n ) ( α π ( 1 ) , , α π ( n ) ) = A ( z π ( 1 ) , , z π ( n ) ) .
After giving the definition of nonconformity measure, the conformal predictor dependent on A can be represented by:
Γ ϵ ( z 1 , z 2 , z n 2 , z n 1 , z n ) = { y | p y > ϵ } .
For a newly emerged feature vector ( x n ), a conformal predictor evaluates the conformity level of each combination of the vector and every possible label in the label space, which is represented by the p-value given below. For each possible label ( y Y ), the p-value associated with it is defined as:
p y = | { i = 1 , , n | α i y > α n y } | n ,
where p y represents how well the newly added observation conforms to the existing observations when the label of x n is y.
Then, it outputs all the possible labels in the set Γ ϵ based on a given significance level ( ϵ ( 0 , 1 ) ).
For conformal prediction, the validity of the prediction means:
P ( y n Γ ϵ ( x 1 , y 1 , , x n 1 , y n 1 , x n ) ) > 1 ϵ ,
P ( y n Γ ϵ ( x 1 , y 1 , , x n 1 , y n 1 , x n ) ) < ϵ .

2.2. Nonconformity Measure

In theory, any algorithm can be modified to measure nonconformity. Vladimir Vovk initially used KNN as the fundamental algorithm. Therefore, this typical method was also implemented in our work. For sake of simplicity and conciseness, we used CP-1NN and CP-3NN to represent conformal prediction based on 1NN and 3NN respectively. To use KNN to calculate nonconformity measure for a feature-label combination ( x i , y i ) , to begin with, the distances between this combination and any other observation already in training set were calculated and denoted as:
d ( x i , x j ) , j = 1 , 2 , , i 1 , i + 1 , , n .
Then, k nearest observations sharing the same label were found: ( x i s , y i s ) , s = 1 , , k . Meanwhile, k nearest observations with different labels were found: ( x j s , y j s ) , s = 1 , , k . Afterwards, the nonconformity measure was calculated with the following formula:
α i = s = 1 k d ( x i s , y i s ) s = 1 k d ( x j s , y j s ) .
From what has been shown, a corollary can be made that the closer to observations sharing the same label the new combination is, the better conformed the combination is, which indicates a higher confidence for the feature–label combination.

2.3. Offline Conformal Prediction

With the nonconformity measurement mentioned above, offline conformal predictors, which are based on fixed training set and test sets, can inform users of the confidence and credibility of each prediction which enables users to make decisions more wisely based on the reliability of each prediction. Conformal predictors can be required to output the label with the highest p-value, which is referred to as forced prediction [31]. Along with the predicted results, conformal predictor shows confidence and credibility:
c o n f i d e n c e = s u p { 1 ϵ : Γ ϵ 1 } ,
c r e d i b i l i t y = i n f { ϵ : Γ ϵ = 0 } .
In the classification, the confidence score is equal to 1 minus the second largest p-value which indicates the confidence of rejecting other possible labels. Credibility is equal to the largest p-value which shows how good the output label is in terms of conformity. Based on this measure, a reliable prediction has a confidence of approximately 1 and a credibility of not too close to 0.

3. Experiments and Data Processing

3.1. Medicine Selection and Preprocessing

Based on research, our group selected 12 different categories of traditional Chinese herbal medicines for experiments (including Astragalus, Liquorice, Chinese Angelica, Saposhnikovia Divaricata, Radix Angelicae Pubescentis, Radix Angelicae Dahuricae, Notopterygium Incisum, Codonopsis Pilosula, Radix Bupleuri, Ligusticum Chuanxiong Hort, Radix Peucedani, and Pueraria Lobata). These herbal medicines mainly come from the Umbelliferae Apiaceae family. In addition, all the medicines are derived from the root parts of each category. The criteria of our selection were the similarities between their appearances and biological classifications, and the misleading and substituting phenomena that appear in the market. The physical appearances of the medicines are shown in Figure 2.
We firstly used an electric pulverizer to grind the 12 kinds of medicines listed above into powders. Then, we prepared 50 samples for each kind of medicine (a total of 12 × 50 = 600 samples). We gathered 8 g of powder into 125 mL glass containers, sealed the containers with para-films, heated the samples for 10 h in an incubator whose temperature was set to be 50 C, and waited while the volatile gases above the powder were saturated for 10 h.

3.2. Self-Assembled Electronic Nose System and Experiment

The equipment used was an electronic nose system from the State Key Laboratory of Industrial Control Technology in Zhejiang University [31,37,38], which contains 16 TGS (Taguchi Gas Sensors) type metal oxide semi-conductive (MOS) sensors bought from Figaro Engineering Inc. (Osaka, Japan). TGS sensors have already shown robust performances in food classification [39,40]. Each sensor in this sensor panel fixed on a circuit in a 200 mL chamber has respective affinity while reacting with certain gases and the features are listed in Table 1. The sensors selected can respond to the volatile gas compounds emanated by different types of herbal medicines which includes many different types of phenols and aldehydes. Meanwhile, these sensors do not have excessive specificity towards one type of gas which is appropriate for herbal medicine odors which have complicated compositions. A heater voltage of 5 V was supplied to each sensor to ensure better performance in accordance with the recommendations from Figaro Engineering Inc. A brief layout of the system is shown in Figure 3.
The gas transporting system consisted of a three-way valve and two gas pumps to alter between the flow of target gas and the flow of standard gas (clean and dry air). Meanwhile, the pump system ensured that the flow of gas was 1 L per minute. With regard to the signal recording system, a data acquisition (DAQ) unit USB 6211 manufactured by National Instrument (Austin, TX, USA) was bought to record the responses of sensors and the control signals of valves and pumps using a software based on Labview 2014.
We used the electronic nose system to analyze all 600 samples, one by one. The environment temperature was 22–27 C and the relative humidity in the laboratory during experiments was 50–70% and the environment conditions were relatively stable during experiments. The overall process of the experiment for one single sample is shown in Figure 4. Each individual test lasted for 400 s in total and the sampling frequency was set to be 100 Hz. Firstly, sensor panels were cleaned with 1 L/min standard gas to return to the baselines for 20 s. Secondly, target gas was filled into the chamber and the flow of standard gas was stopped. We used medical injectors to extract 10 mL gas mixtures in the head-space of each sample and injected the gas into the chamber where the sensor panel was located. The injection of target gas was less than 1 s and the gas was injected as soon as possible. Afterwards, a period of 180 s was set for the reaction which was regarded as the “rising and stabilizing” period, after which the standard gas was pumped in again and the pump letting gas out was also opened. The recording process lasted for another 140 s after the system entered the “declining” period. Finally, the sensors were stabilized for another 60 s.

3.3. Data Processing and Feature Extraction

Typical sensor response curves are shown in Figure 5; these indicate the responses to the sixth Astragalus sample. Firstly, all the data from the sensor signals were calibrated by subtracting the baselines to eliminate sensor drifts:
V = V S V 0 ,
where V s is the actual response of sensors, and V 0 represents the baseline value.
Afterwards, 8 commonly used features for each sensor (a total of 8 × 16 = 128 features) were extracted:
1.
Maximum Value
V m a x = m a x ( V ) .
2.
Integral Value
V i n t = 0 T V ( t ) d t ,
where T represents the total time for one record (T = 340 s).
3–8.
Exponential moving average of the derivative of V [41]
E a ( V ) = [ m i n ( y ( k ) ) , m a x ( y ( k ) ) ] , 2000 < k < 34 , 000 .
The discrete sampling exponential moving average and smoothing factor a were defined as
y ( k ) = ( 1 a ) y ( k 1 ) + a ( V ( k ) V ( k 1 ) ) ,
a = 1 100 S R , 1 10 S R , 1 S R ,
y ( 1 ) = a V ( 1 ) ,
where S R = 100 represents the sampling frequency. E a ( V ) is the vector containing the smallest and largest values in the period of time after the injection of the gas being tested. After feature extraction, feature matrices (600 × 128) were made for the 12 herbal medicines. Data processing was conducted by MATLAB R2016a and R2017b.

4. Results and Discussion

4.1. Performances of Simple Predictors

Using the leave-one-out cross validation method, we used seven different kinds of classification algorithms as our simple predictors in the classification task. The results are listed in Table 2 with parameters tuned for each algorithms. For instance, performances of SVM with different kernels and KNN with different k parameters are shown in Table 3 and Table 4. As is indicated in this table, in this classification problem, SVM performed the best with a classification accuracy of 98.94%, and LDA was second with an accuracy of 98.33%. Meanwhile, despite the differences in their respective classification accuracies, all 7 algorithms classified these 12 categories of herb medicines with accuracies above 90% which justifies the use of the electronic nose and machine learning algorithms in herbal medicine classification.

4.2. PCA Analysis

For classification algorithms, accuracy is not the solitary factor that should be taken into consideration. Additionally, the time cost of classification should be taken into consideration. In order to show the time cost and to lower time cost, we introduced the principal component analysis (PCA) which is a frequently used algorithm that is used to reduce the feature dimensionality with the least amount of sacrifice. In this section, the classification accuracy and time cost measured by PCA for the six specific algorithms used in the classification are mentioned. The results are illustrated in Table 5, and the computer we have used was a normal personal computer (CPU: Intel Core i7-7700HQ @ 2.80 GHZ, 4 Cores; RAM: DDR4 2400 MHz 8 GB, MSI, New Taipei City, Taiwan). For this analysis, we calculated the mean accuracy and mean time spent on five runs of each algorithm.
Based on the results shown in the table, it is clear that, generally, with lower dimensions, the classification accuracy shows a declining tendency. What is more, with reduced dimensionality, it takes far less time for each algorithm to model and classify all 600 samples which justifies the meaning of PCA. When comparisons are made among different algorithms, SVM and LDA tend to outperform other algorithms in terms of accuracy when the dimensions are 128 or 30, but a greater amount time must be sacrificed. However, with the reduction of dimensions, this accuracy advantage tends to be less evident. Therefore, according to this analysis, it is advisable for users to choose classification algorithms wisely and strike a balance between accuracy and time cost by using PCA, a great tool for reducing feature dimension.
Meanwhile, with PCA, we can depict the distribution of samples by lowering the number of dimensions to 2D, as is shown in Figure 6. From this figure, we can see that, visually, it is possible for different kinds of herbal medicines to be classified even if we condense the features into a 2D space.

4.3. Performance of Conformal Prediction

In addition to the machine learning algorithms mentioned above, to gain more information about the prediction reliability, we applied conformal predictions based on 1NN (CP-1NN) and 3NN (CP-3NN) in our work. The prediction accuracies in offline mode are listed in Table 6. According to the accuracy results, it is clear that CP-1NN performed worse when compared with the simple predictor 1NN, while CP-3NN performed better when compared with the simple predictor 3NN. Meanwhile, CP-3NN performed better than CP-1NN in terms of accuracy in our experiments.
For conformal predictors, predictions are not the only products. What is also significant is the reliability information, which is given as confidence and credibility. We randomly selected 5 samples from a total of 600 samples which used CP-1NN for analysis to serve as examples, as is shown in Table 7. According to this table, CP-1NN gave correct labels for the samples with indices of 5, 233, and 512, and the confidence values associated with them were approximately 1, while their respective credibility levels did not approximate 0, which manifests the high prediction reliability. On the contrary, CP-1NN erroneously predicted the labels for sample 384 and sample 478. These two predictions have high confidence but low credibility, which justifies the wrong outputs of CP-1NN. After analyzing these five examples, we depicted the confidence and credibility levels of all 600 predictions with CP-1NN and CP-3NN, as shown in Figure 7 (CP-1NN) and Figure 8 (CP-3NN). We can see that nearly all predictions tend to feature high confidence but credibility values vary with diverse samples. Through comparing CP-1NN and CP-3NN, we found that predictions given by CP-3NN showed higher confidence values but lower credibility levels. A possible reason for this may be that with the addition of new neighbors for nonconformity measurement, confidence can be boosted with more information about the sample space. Meanwhile, when a larger number of neighbors is taken into consideration, the model can be more complicated and the requirement for conformity of each single feature–label combination depends not on one sample but three samples which may cause the credibility to suffer.
With the additional reliability information given by conformal predictors, users can gain a better understanding of each prediction and make better decisions based on the classification results.

4.4. Implications and Discussions

As shown in the results above, by using electronic nose, a convenient and non-instrumental analyzing approach, we managed to effectively discriminate between 12 different categories of herbal medicine. Additionally, accuracy varied with different algorithms, and it was shown that PCA can be used to lower the time expenditure in discrimination and to visualize the sample distribution on a 2D plane. This work provides great insights into the construction of an alternative herbal medicine flavor fingerprint library which would aid in the identification of inferior substitutes that have appeared in herb medicine markets, leading to better treatment for patients. Meanwhile, since, in addition to prediction accuracy, reliability also plays an important role in medicine evaluation tasks, as has been shown in previous research [31], we used conformal prediction and provided a method of revealing the prediction reliability. This enables users to understand the potential risks. When conformal predictors indicate low reliability, users can be advised to further analyze the medicines with other methods, which lowers the possibility of misjudgement solely based on electronic nose when the results are not reliable. This additional reliability information given by conformal prediction enables practitioners to evaluate herbal medicine qualities more effectively. If the machine gives out an unreliable prediction result, it is advisable for users to re-examine the medicine with other analyzing measures, contributing to more faith and credibility in the market.
Admittedly, analysis with the electronic nose only still has disadvantages. There are several things that should be taken into consideration while constructing flavor fingerprint library.
Firstly, sensor driftt, sensor poisoning, and sensitivity variation are common problems associated with the E-nose, as mentioned in previous publications [31,42]. Therefore, data fusion with data gathered from other analytical means, such as electronic tongue and spectroscopy, could be a promising solution to allow better accuracy and credibility, as shown in previous studies [25,31].
Secondly, the detailed and concrete relationships between volatile compound gases from herbal medicines and sensor responses have not been fathomed by researchers. So far, there is no universal E-nose that is suitable for all applications, as mentioned by Ref. [6]. Therefore, if the physical basis for analysis with electronic nose is determined by more scholars, a specifically-made electronic noses targeted at alternative herbal medicine discrimination could be invented, significantly reducing the cost of classification.
What is more, in this work, we selected eight features for each sensor. More studies on areas such as sensor selection and optimization [37] should be done in the future to improve the feature extraction process to solve problems such as superfluous information and sensitivity declines.
Finally, as shown in this work, different algorithms tend to have different levels of performance. So far, scholars have used different algorithms when applying the electronic nose in their respective domain, s and there has been no standard algorithm that has been vastly agreed on for discriminating between herbal medicines with the electronic nose [5,9,23,25,31]. Therefore, it is necessary that more research on the choice of pattern recognition algorithms that are most suitable for electronic nose application are done to find out the most appropriate algorithms based on real-world data.

5. Conclusions

In this work, after careful selection and experiments, discrimination analysis of 12 categories of herbal medicines were done with a self-assemblied electronic nose system. Though different in their performances, seven algorithms managed to classify the 12 categories of heral medicines, with SVM and LDA outperforming other algorithms with the highest accuracies of 98.94% and 98.33% respectively. After using PCA, the time expenditure required for classification can be reduced; however, it is also possible that the accuracy may decrease, and it is inevitable for users to balance between time cost and classification accuracy. Among all seven algorithms, the conformal predictions based on KNN (CP-1NN and CP-3NN) can give additional and significant information about the prediction reliability without sacrificing accuracy, which is of key importance, since medicine quality is closely associated with patients’ health and treatment. This essay provides an inspirational approach for the establishment of a herbal medicine flavor fingerprint library which could facilitate the quick and accurate recognition and evaluation of herbal medicines.

Author Contributions

X.Z., X.G., R.W., Z.W. and G.L. designed the experiments; X.Z., X.G., R.W. performed the experiments; X.Z., X.G. and R.W. analyzed the data; X.Z. wrote the paper; X.G. revised the paper; Z.W., Y.W. and G.L. gave instructions on experiments and data analysis.

Funding

The work is supported by the Natural Science Foundation of China (Grant No. 61773342) and Autonomous Research Project of the State Key Laboratory of Industrial Control Technology, China (Grant No. ICT1805).

Conflicts of Interest

The authors declare no conflict of interest:

Abbreviations

The following abbreviations are used in this manuscript:
DTDecision Tree
NBNaive Bayes
SVMSupport Vector Machine
LDALinear Discriminant Analysis
PCAPrincipal Component Analysis
KNNK-Nearest Neighbors
CPConformal Prediction
TCMTraditional Chinese Medicine

References

  1. Efferth, T.; Li, P.C.; Konkimalla, V.S.; Kaina, B. From traditional Chinese medicine to rational cancer therapy. Trends Mol. Med. 2007, 8, 353–361. [Google Scholar] [CrossRef] [PubMed]
  2. Li, N.; Wang, Y.; Xu, K. Fast discrimination of traditional Chinese medicine according to geographical origins with FTIR spectroscopy and advanced pattern recognition techniques. Opt. Express 2006, 17, 7630–7635. [Google Scholar] [CrossRef]
  3. Cho, I.H.; Lee, H.J.; Kim, Y.S. Differences in the Volatile Compositions of Ginseng Species (Panax sp.). J. Agric. Food Chem. 2012, 31, 7616–7622. [Google Scholar] [CrossRef] [PubMed]
  4. De Vito, S.; Piga, M.; Martinotto, L.; Di Francia, G. CO, NO2 and NOx urban pollution monitoring with on-field calibrated electronic nose by automatic bayesian regularization. Sens. Actuators B Chem. 2009, 1, 182–191. [Google Scholar] [CrossRef]
  5. Zhang, L.; Tian, F.; Nie, H.; Dang, L.; Li, G.; Ye, Q.; Kadri, C. Classification of multiple indoor air contaminants by an electronic nose and a hybrid support vector machine. Sens. Actuators B Chem. 2012, 11, 114–125. [Google Scholar] [CrossRef]
  6. Wilson, A.D.; Baietto, M. Applications and Advances in Electronic-Nose Technologies. Sensors 2009, 7, 5099–5148. [Google Scholar] [CrossRef] [PubMed]
  7. Muñoz, R.; Sivret, E.C.; Parcsi, G.; Lebrero, R.; Wang, X.; Suffet, I.H.; Stuetz, R.M. Monitoring techniques for odour abatement assessment. Water Res. 2010, 18, 5129–5149. [Google Scholar] [CrossRef] [PubMed]
  8. Gębicki, J.; Dymerski, T.; Namiesnik, J. Monitoring of odour nuisance from landfill using electronic nose. Chem. Eng. Trans. 2014, 40, 85–90. [Google Scholar]
  9. Schmekel, B.; Winquist, F.; Vikström, A. Analysis of breath samples for lung cancer survival. Anal. Chim. Acta 2014, 1–2, 82–86. [Google Scholar] [CrossRef] [PubMed]
  10. Montuschi, P.; Mores, N.; Mondino, C.; Barnes, P.J. The Electronic Nose in Respiratory Medicine. Respiration 2013, 1, 72–84. [Google Scholar] [CrossRef] [PubMed]
  11. Chatterjee, S.; Castro, M.; Feller, J.F. An e-nose made of carbon nanotube based quantum resistive sensors for the detection of eighteen polar/nonpolar VOC biomarkers of lung cancer. J. Mater. Chem. B 2013, 36, 4563–4575. [Google Scholar] [CrossRef]
  12. Pavlou, A.K.; Magan, N.; Mcnulty, C.; Jones, J.; Sharp, D.; Brown, J.; Turner, A.P. Use of an electronic nose system for diagnoses of urinary tract infections. Biosens. Bioelectron. 2008, 10, 893–899. [Google Scholar] [CrossRef]
  13. Kodogiannis, V.S.; Lygouras, J.N.; Tarczynski, A.; Chowdrey, H.S. Artificial Odor Discrimination System Using Electronic Nose and Neural Networks for the Identification of Urinary Tract Infection. IEEE Trans. Inf. Technol. Biomed. 2008, 6, 707–713. [Google Scholar] [CrossRef] [PubMed]
  14. Covington, J.A.; Westenbrink, E.W.; Ouaret, N.; Harbord, R.; Bailey, C.; O’Connell, N.; Cullis, J.; Williams, N.; Nwokolo, C.U.; Bardhan, K.D.; et al. Application of a Novel Tool for Diagnosing Bile Acid Diarrhoea. Sensors 2013, 9, 11899–11912. [Google Scholar] [CrossRef] [PubMed]
  15. Musatov, V.Y.; Sysoev, V.V.; Sommer, M.; Kiselev, I. Assessment of meat freshness with metal oxide sensor microarray electronic nose: A practical approach. Sens. Actuators B Chem. 2010, 1, 99–103. [Google Scholar] [CrossRef]
  16. Baldwin, E.A.; Bai, J.; Plotto, A.; Dea, S. Electronic Noses and Tongues: Applications for the Food and Pharmaceutical Industries. Sensors 2011, 5, 4744–4766. [Google Scholar] [CrossRef] [PubMed]
  17. Ragazzo-Sanchez, J.A.; Chalier, P.; Chevalier-Lucia, D.; Calderon-Santoyo, M.; Ghommidh, C. Off-flavours detection in alcoholic beverages by electronic nose coupled to GC. Sens. Actuators B Chem. 2009, 1, 29–34. [Google Scholar] [CrossRef]
  18. Wojnowski, W.; Majchrzak, T.; Dymerski, T.; Gębicki, J.; Namieśnik, J. Portable Electronic Nose Based on Electrochemical Sensors for Food Quality Assessment. Sensors 2017, 12, 2715. [Google Scholar] [CrossRef] [PubMed]
  19. Loutfi, A.; Coradeschi, S.; Mani, G.K.; Shankar, P.; Rayappan, J.B.B. Electronic noses for food quality: A review. J. Food Eng. 2015, 144, 103–111. [Google Scholar] [CrossRef]
  20. Macías Macías, M.; Agudo, J.E.; García Manso, A.; García Orellana, C.J.; González Velasco, H.M.; Gallardo Caballero, R. A Compact and Low Cost Electronic Nose for Aroma Detection. Sensors 2013, 5, 5528. [Google Scholar] [CrossRef] [PubMed]
  21. Majchrzak, T.; Wojnowski, W.; Dymerski, T.; Gębicki, J.; Namieśnik, J. Electronic noses in classification and quality control of edible oils: A review. Food Chem. 2018, 246, 192–201. [Google Scholar] [CrossRef] [PubMed]
  22. Liu, J.; Zhang, M.; Wang, S. Processing characteristics and flavour of full lotus root powder beverage. J. Sci. Food Agric. 2010, 14, 2482–2489. [Google Scholar] [CrossRef] [PubMed]
  23. Rodríguez, J.; Durán, C.; Reyes, A. Electronic Nose for Quality Control of Colombian Coffee through the Detection of Defects in “Cup Tests”. Sensors 2010, 1, 36–46. [Google Scholar] [CrossRef] [PubMed]
  24. Li, S.; Li, X.R.; Wang, G.L.; Nie, L.X.; Yang, Y.J.; Wu, H.Z.; Wei, F.; Zhang, J.; Tian, J.G.; Lin, R.C. Rapid discrimination of Chinese red ginseng and Korean ginseng using an electronic nose coupled with chemometrics. J. Pharm. Biomed. Anal. 2012, 21, 605–609. [Google Scholar] [CrossRef] [PubMed]
  25. Miao, J.; Luo, Z.; Wang, Y.; Li, G. Comparison and data fusion of an electronic nose and near-infrared reflectance spectroscopy for the discrimination of ginsengs. Anal. Methods 2016, 6, 1265–1273. [Google Scholar] [CrossRef]
  26. Gammerman, A.; Vovk, V. Hedging Predictions in Machine Learning The Second Computer Journal Lecture. Comput. J. 2007, 2, 151–163. [Google Scholar] [CrossRef]
  27. Nouretdinov, I.; Devetyarov, D.; Vovk, V.; Burford, B.; Camuzeaux, S.; Gentry-Maharaj, A.; Tiss, A.; Smith, C.; Luo, Z.; Chervonenkis, A. Multiprobabilistic prediction in early medical diagnoses. Ann. Math. Artif. Intell. 2015, 74, 1–20. [Google Scholar] [CrossRef]
  28. Zhou, C.; Nouretdinov, I.; Luo, Z.; Adamskiy, D.; Randell, L.; Coldham, N.; Gammerman, A. A Comparison of Venn Machine with Platt’s Method in Probabilistic Outputs; Springer: Berlin/Heidelberg, Germany, 2011; pp. 483–490. [Google Scholar]
  29. Vovk, V. Conditional validity of inductive conformal predictors. Mach. Learn. 2013, 2–3, 349–376. [Google Scholar] [CrossRef]
  30. Vovk, V.; Gammerman, A.; Shafer, G. Algorithmic Learning in a Random World; Springer: New York, NY, USA, 2005. [Google Scholar]
  31. Wang, Z.; Sun, X.; Miao, J.; Wang, Y.; Luo, Z.; Li, G. Conformal Prediction Based on K-Nearest Neighbors for Discrimination of Ginsengs by a Home-Made Electronic Nose. Sensors 2017, 8, 1869. [Google Scholar] [CrossRef] [PubMed]
  32. Vapnik, V. The Nature of Statistical Learning Theory; Springer Science & Business Media: New York, NY, USA, 1995; pp. 988–999. [Google Scholar]
  33. Kaur, R.; Kumar, R.; Gulati, A.; Ghanshyam, C.; Kapur, P.; Bhondekar, A.P. Enhancing electronic nose performance: A novel feature selection approach using dynamic social impact theory and moving window time slicing for classification of Kangra orthodox black tea (Camellia sinensis (L.) O. Kuntze). Sens. Actuators B Chem. 2012, 10, 309–319. [Google Scholar] [CrossRef]
  34. Breiman, L.I.; Friedman, J.H.; Olshen, R.A.; Stone, C.J. Classification and Regression Trees (CART). Encycl. Ecol. 1984, 3, 358. [Google Scholar]
  35. Chen, Q.; Liu, A.; Zhao, J.; Ouyang, Q. Classification of tea category using a portable electronic nose based on an odor imaging sensor array. J. Pharm. Biomed. Anal. 2013, 5, 77. [Google Scholar] [CrossRef] [PubMed]
  36. Cover, T.; Hart, P. Nearest neighbor pattern classification. IEEE Trans. Inf. Theory 1967, 1, 21–27. [Google Scholar] [CrossRef]
  37. Sun, X.; Liu, L.; Wang, Z.; Miao, J.; Wang, Y.; Luo, Z.; Li, G. An optimized multi-classifiers ensemble learning for identification of ginsengs based on electronic nose. Sens. Actuators A Phys. 2017, 266, 135–144. [Google Scholar] [CrossRef]
  38. Wang, Y.; Miao, J.; Lyu, X.; Liu, L.; Luo, Z.; Li, G. Valid Probabilistic Predictions for Ginseng with Venn Machines Using Electronic Nose. Sensors 2016, 7, 1088. [Google Scholar] [CrossRef] [PubMed]
  39. Haddi, Z.; Boughrini, M.; Ihlou, S.; Amari, A. Geographical classification of Virgin Olive Oils by combining the electronic nose and tongue. Proceedings of IEEE Sensors 2012, Taipei, Taiwan, 28–31 Octobert 2012; pp. 1–4. [Google Scholar] [CrossRef]
  40. Timsorn, K.; Wongchoosuk, C.; Wattuya, P.; Promdaen, S.; Sittichat, S. Discrimination of chicken freshness using electronic nose combined with PCA and ANN. In Proceedings of the International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology, Nakhon Ratchasima, Thailand, 14–17 May 2014; pp. 1–4. [Google Scholar]
  41. Muezzinoglu, M.K.; Vergara, A.; Huerta, R.; Rulkov, N.; Rabinovich, M.I.; Selverston, A.; Abarbanel, H.D.I. Acceleration of chemo-sensory information processing using transient features. Sens. Actuators B Chem. 2009, 2, 507–512. [Google Scholar] [CrossRef]
  42. Kiani, S.; Minaei, S.; Ghasemi-Varnamkhasti, M. Application of electronic nose systems for assessing quality of medicinal and aromatic plant products: A review. J. Appl. Res. Med. Aromat. Plants 2016, 1, 1–9. [Google Scholar] [CrossRef]
Figure 1. Research steps.
Figure 1. Research steps.
Sensors 18 02936 g001
Figure 2. Physical appearances of the 12 categories of herbal medicine.
Figure 2. Physical appearances of the 12 categories of herbal medicine.
Sensors 18 02936 g002
Figure 3. Layout of self-assembled E-nose system.
Figure 3. Layout of self-assembled E-nose system.
Sensors 18 02936 g003
Figure 4. Experiment process for one single sample.
Figure 4. Experiment process for one single sample.
Sensors 18 02936 g004
Figure 5. Sensor responses to Astragalus given by the E-nose system (voltage (v) versus time (0.01 s)).
Figure 5. Sensor responses to Astragalus given by the E-nose system (voltage (v) versus time (0.01 s)).
Sensors 18 02936 g005
Figure 6. Distribution of samples after PCA.
Figure 6. Distribution of samples after PCA.
Sensors 18 02936 g006
Figure 7. Confidence values and credibility levels for 12 herbal medicine classifications with CP-1NN.
Figure 7. Confidence values and credibility levels for 12 herbal medicine classifications with CP-1NN.
Sensors 18 02936 g007
Figure 8. Confidence and credibility for 12 herbal medicine classifications with CP-3NN.
Figure 8. Confidence and credibility for 12 herbal medicine classifications with CP-3NN.
Sensors 18 02936 g008
Table 1. The response characteristics of sensors.
Table 1. The response characteristics of sensors.
No.Sensor TypeSpecific Response Sensitivity
1TGS800Carbon monoxide, ethanol, methane, hydrogen, ammonia
2TGS813Carbon monoxide, ethanol, methane, hydrogen, isobutane
3TGS813Carbon monoxide, ethanol, methane, hydrogen, isobutane
4TGS816Carbon monoxide, ethanol, methane, hydrogen, isobutane
5TGS821Carbon monoxide, ethanol, methane, hydrogen
6TGS822Carbon monoxide, ethanol, methane, acetone, n-hexane,
benzene, isobutane
7TGS822Carbon monoxide, ethanol, methane, acetone,
n-Hexane, benzene, isobutane
8TGS826Ammonia, trimethyl amine
9TGS830Ethanol, R-12, R-11, R-22, R-113
10TGS832R-134a, R-12 and R-22, ethanol
11TGS880Carbon monoxide, ethanol, methane, hydrogen, isobutane
12TGS2620Methane, Carbon monoxide, isobutane, hydrogen
13TGS2600Carbon monoxide, hydrogen
14TGS2602Hydrogen, ammonia ethanol, hydrogen sulfide, toluene
15TGS2610Ethanol, hydrogen, methane, isobutane/propane
16TGS2611Ethanol, hydrogen, isobutane, methane
Table 2. Classification performances of different algorithms.
Table 2. Classification performances of different algorithms.
Prediction Tasks and AlgorithmsDTKNNLDASVMNBBP (Back Propagation)
12 Categories of herbal medicine92.17%91.67%98.33%98.94%91.33%90.83%
Table 3. Prediction accuracy of SVM with different kernels in offline mode.
Table 3. Prediction accuracy of SVM with different kernels in offline mode.
Task and SVM KernelLinearQuadraticMLP (Multilayer Perceptron Kernel)RBF (Radial Basis Function)
12 TCM discrimination98.94%98.92%82.51%93.69%
Table 4. Prediction accuracy of KNN with parameter k in offline mode.
Table 4. Prediction accuracy of KNN with parameter k in offline mode.
The K of KNN13579
12 TCM discrimination91.67%91.50%90.17%90.00%88.50%
Table 5. PCA analysis in terms of accuracy and time cost.
Table 5. PCA analysis in terms of accuracy and time cost.
Test ItemDT1NN3NNLDASVMNB
Accuracy92.17%91.67%91.50%98.33%98.94%91.33%
Time(s)36.6050.2770.29337.987967.555166.992
PCA:30-D (99.74% Information)DT1NN3NNLDASVMNB
Accuracy81.83%91.17%90.67%95.50%97.64%87.50%
Time(s)15.2080.1220.15231.759695.29948.531
PCA:5-D (95.44% Information)DT1NN3NNLDASVMNB
Accuracy82.33%87.67%87.67%85.00%87.32%84.50%
Time(s)6.9840.0810.08429.778252.20217.679
Table 6. Conformal prediction accuracy in offline mode.
Table 6. Conformal prediction accuracy in offline mode.
Prediction TasksCP-1NNCP-3NN1NN3NN
12 categories of herbal medicines91.50%92.17%91.67%91.50%
Table 7. Five typical individual predictions for 12 herbal medicine classifications with CP-1NN.
Table 7. Five typical individual predictions for 12 herbal medicine classifications with CP-1NN.
Sample IndexTrue LabelForced PredictionConfidenceCredibility
51 (Astragalus)1 (Astragalus)0.99500.7433
2335 (Radix Angelicae Pubescentis)5 (Radix Angelicae Pubescentis)0.98830.4650
3848 (Codonopsis Pilosula)10 (Ligusticum Chuanxiong Hort)0.94000.1317
47810 (Ligusticum Chuanxiong Hort)8 (Codonopsis Pilosula)0.91830.0867
51211 (Radix Peucedani)11 (Radix Peucedani)0.99500.7383

Share and Cite

MDPI and ACS Style

Zhan, X.; Guan, X.; Wu, R.; Wang, Z.; Wang, Y.; Li, G. Discrimination between Alternative Herbal Medicines from Different Categories with the Electronic Nose. Sensors 2018, 18, 2936. https://doi.org/10.3390/s18092936

AMA Style

Zhan X, Guan X, Wu R, Wang Z, Wang Y, Li G. Discrimination between Alternative Herbal Medicines from Different Categories with the Electronic Nose. Sensors. 2018; 18(9):2936. https://doi.org/10.3390/s18092936

Chicago/Turabian Style

Zhan, Xianghao, Xiaoqing Guan, Rumeng Wu, Zhan Wang, You Wang, and Guang Li. 2018. "Discrimination between Alternative Herbal Medicines from Different Categories with the Electronic Nose" Sensors 18, no. 9: 2936. https://doi.org/10.3390/s18092936

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop