CN107220670B - Method for extracting characteristics of supervised artificial taste system based on discrete wavelet transform - Google Patents
Method for extracting characteristics of supervised artificial taste system based on discrete wavelet transform Download PDFInfo
- Publication number
- CN107220670B CN107220670B CN201710391480.2A CN201710391480A CN107220670B CN 107220670 B CN107220670 B CN 107220670B CN 201710391480 A CN201710391480 A CN 201710391480A CN 107220670 B CN107220670 B CN 107220670B
- Authority
- CN
- China
- Prior art keywords
- wavelet
- calculating
- artificial taste
- coefficient
- discrimination
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F18/2155—Generating training patterns; Bootstrap methods, e.g. bagging or boosting characterised by the incorporation of unlabelled data, e.g. multiple instance learning [MIL], semi-supervised techniques using expectation-maximisation [EM] or naïve labelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
Abstract
The invention belongs to the technical field of gas phase chemical analysis, and discloses a method for extracting characteristics of a supervised artificial taste system based on discrete wavelet transform, which comprises the following steps: regarding any working electrode in the electrode array of the artificial taste sense system, regarding the time domain original response of the working electrode as a time sequence and performing discrete wavelet change to obtain a series of wavelet coefficients, and converting the wavelet coefficients into energy ratios; working electrodes are arranged in the electrode array of the artificial taste sense system, and the t-th sample mean value and all sample mean values are calculated; calculating the average distance in the classes and the average distance between the classes; solving a discrimination coefficient; and calculating the total discrimination coefficient and the discrimination coefficients corresponding to all the wavelet coefficients to obtain the optimal energy ratio. The invention reduces the data complexity, and reduces the original data dimension from 228000 (30000 x 6+1500 x 32) to 6; in addition, the identification accuracy of the KNN method is greatly improved.
Description
Technical Field
The invention belongs to the technical field of gas phase chemical analysis, and particularly relates to a method for extracting characteristics of a supervised artificial taste system based on discrete wavelet transform.
Background
The artificial gustatory system is a novel gas phase chemical analysis means, and has the advantages of rapid detection, no wound, simple and convenient operation, low cost and the like. The artificial gustation system is mainly divided into two parts of an electrode array and a mode recognition method, wherein the electrode array mostly adopts an inert metal electrode with cross sensitivity to form a three-electrode system, and the electrodes in the three-electrode system can be divided into the following parts according to the difference of self functions: a reference electrode, an auxiliary electrode and a working electrode. The system forms an electric field in a solution through a reference electrode, an auxiliary electrode and a working electrode form a loop under the action of the electric field, and the mode recognition method distinguishes and identifies substances according to different loop current responses. Because electric fields with different frequencies and intensities can generate rich transient response of working electrode current, the current artificial gustation system mostly adopts 'multi-frequency pulse' to carry out electric field modulation on a reference electrode, response with rich frequency components can be obtained on the working electrode, and an original signal is usually represented in a time domain form and needs to be subjected to feature extraction through a frequency domain analysis method such as discrete wavelet transformation so as to be convenient for distinguishing a 'pattern recognition' part. The traditional discrete wavelet transform can generate a large number of wavelet coefficients along with the increase of the number of decomposition layers, the complexity of 'pattern recognition' can be increased by selecting excessive wavelet coefficients as features, and the possibility of missing the selection of the optimal wavelet coefficients exists due to the fact that the selection amount is too small.
In summary, the problems of the prior art are as follows: in the traditional discrete wavelet transform, too many wavelet coefficients are selected as features, so that the complexity of pattern recognition is increased, and the selection quantity is too small and the optimal wavelet coefficients are missed.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method for extracting the characteristics of a supervised artificial taste system based on discrete wavelet transform.
The invention is realized in this way, a method for extracting the characteristics of the supervised artificial gustation system based on discrete wavelet transform comprises: regarding any working electrode in the electrode array of the artificial taste sense system, regarding the time domain original response of the working electrode as a time sequence and performing discrete wavelet change to obtain a series of wavelet coefficients, and converting the wavelet coefficients into energy ratios; working electrodes are arranged in the electrode array of the artificial taste sense system, and the t-th sample mean value and all sample mean values are calculated; calculating the average distance in the classes and the average distance between the classes; solving a discrimination coefficient; and calculating the total discrimination coefficient and the discrimination coefficients corresponding to all the wavelet coefficients to obtain the optimal energy ratio.
Further, the method for extracting the characteristics of the supervised artificial taste system based on the discrete wavelet transform comprises a wavelet coefficient conversion stage and an optimal energy ratio searching stage.
Further, the wavelet coefficient conversion stage comprises:
obtaining wavelet coefficientsWherein i is the number of discrete wavelet transform decomposition layers, j is the jth wavelet coefficient after the ith layer decomposition, j ∈ N is less than or equal to 2i(ii) a Wavelet coefficientConversion to energy ratio as follows
Further, the optimal energy ratio searching stage comprises:
WhereinCharacteristic value, M, representing the mth training sampletEach represents the number of the t-th type samples;
2) calculating the average distance d in classwAnd the average distance d between classesb:
3) Calculating the discrimination coefficient of the jth wavelet coefficient of the ith layer to the tth sample
4) Repeating the steps 1) to 3), and solving the corresponding T-type samplesCalculating the total discrimination coefficient theta of the jth wavelet coefficient of the ith layeri,j:
5) Repeating the steps 1) to 4), and calculating the total discrimination coefficient theta corresponding to all the wavelet coefficientsi,j;
6) Finding the optimal energy ratio*:
(i*,j*)=arg min θi,j;
Wherein (i)*,j*) The wavelet coefficient representing the minimum total discrimination coefficient is the ith*Layer j (j)*The number of the main components is one,*and the final characteristic extraction result is used as the input of a subsequent pattern recognition method.
Another objective of the present invention is to provide an artificial taste system applying the supervised artificial taste system feature extraction method for discrete wavelet transform.
The invention has the advantages and positive effects that: the data complexity is reduced, the original data dimension is reduced from 228000 (30000 x 6+1500 x 32) to 6, and the complexity and the calculation cost of a subsequent pattern recognition method are reduced; when a nearest neighbor (KNN) method is adopted as a subsequent pattern recognition method, the average recognition accuracy of the multi-class sample recognition system can be increased from 57.14% to 83.33%.
Drawings
FIG. 1 is a flow chart of a method for extracting features of a supervised artificial taste system based on discrete wavelet transform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The following detailed description of the principles of the invention is provided in connection with the accompanying drawings.
As shown in fig. 1, the method for extracting features of a supervised artificial gustatory system based on discrete wavelet transform according to the embodiment of the present invention includes the following steps:
s101: regarding any working electrode in the electrode array of the artificial taste sense system, regarding the time domain original response of the working electrode as a time sequence and performing discrete wavelet change to obtain a series of wavelet coefficients, and converting the wavelet coefficients into energy ratios;
s102: working electrodes are arranged in the electrode array of the artificial taste sense system, and the t-th sample mean value and all sample mean values are calculated; calculating the average distance in the classes and the average distance between the classes; solving a discrimination coefficient; and calculating the total discrimination coefficient and the discrimination coefficients corresponding to all the wavelet coefficients to obtain the optimal energy ratio.
The method for extracting the characteristics of the supervised artificial taste system based on the discrete wavelet transform provided by the embodiment of the invention is divided into two stages of wavelet coefficient conversion and optimal energy ratio search.
1. Wavelet coefficient conversion stage
For artificial flavorAny working electrode k in the electrode array of the sensing system takes the time domain original response as a time sequence and carries out discrete wavelet change to obtain a series of wavelet coefficientsWherein i is the number of discrete wavelet transform decomposition layers, j is the jth wavelet coefficient after the ith layer decomposition, j ∈ N is less than or equal to 2i. Wavelet coefficientConversion to energy ratio as follows
2. Optimal energy ratio search phase
Assuming that there are K working electrodes in the electrode array of the artificial taste systemThere are M training samples of the T class, wherein the T class sample MtAnd then:
1) calculating the t-th sample mean value and all sample mean values:
2) Calculating the average distance d in classwAnd the average distance d between classesb:
4) Repeating the steps 1) to 3), and solving all TCalculating the total discrimination coefficient thetai,j:
5) Repeating the steps 1) to 4), and calculating the discrimination coefficient theta corresponding to all the wavelet coefficientsi,j。
6) Finding the optimal energy ratio*:
(i*,j*)=arg min θi,j;
Will eventually be*As a result of the feature extraction, as input for a subsequent "pattern recognition" method.
The application of the principles of the present invention will now be described in further detail with reference to specific embodiments.
The embodiment of the invention uses an artificial olfaction system to analyze 7 substances such as black tea, green tea, Pu' er tea, oolong tea, red wine, white spirit, beer and the like. Data were collected 9 times for each material at different concentrations. In each data acquisition process, the number of the working electrodes is 6, the sampling rate of the system is 20Hz, the acquisition duration is 25min, 30000 data are acquired by each electrode in total, and the excitation pulse length of the electrode array is 150. In order to verify the effect of the involved data fusion method, 6 times of data acquisition results are randomly selected from each substance for training, the rest 3 times are used as test samples, and a nearest neighbor algorithm KNN is used as a classifier for identification. The number of wavelet decomposition layers was 10, and 4 experiments were performed. For comparison, two feature extraction methods were used in table 1: "method 1" is a proposed method, and method 2 is a method of directly using the original data as KNN input data, and as can be seen from the results in the table, the proposed method reduces the complexity of data, and reduces the original data dimension from 228000 (30000 × 6+1500 × 32) to 6; in addition, the identification accuracy of the KNN method is greatly improved.
TABLE 1 identification accuracy comparison Table
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (3)
1. A method for extracting features of a supervised artificial taste system based on discrete wavelet transform is characterized by comprising the following steps: regarding any working electrode in the electrode array of the artificial taste sense system, regarding the time domain original response of the working electrode as a time sequence and performing discrete wavelet change to obtain a series of wavelet coefficients, and converting the wavelet coefficients into energy ratios; working electrodes are arranged in the electrode array of the artificial taste sense system, and the t-th sample mean value and all sample mean values are calculated; calculating the average distance in the classes and the average distance between the classes; solving a discrimination coefficient; calculating the total discrimination coefficient and the discrimination coefficients corresponding to all wavelet coefficients to obtain the optimal energy ratio;
the method for extracting the characteristics of the supervised artificial taste system based on the discrete wavelet transform comprises a wavelet coefficient conversion stage and an optimal energy ratio searching stage;
the optimal energy ratio searching stage comprises:
1) calculating the t-th sample mean value and all sample mean values:
2) calculating the average distance d in classwAnd the average distance d between classesb:
4) Repeating the steps 1) to 3), and solving all TCalculating the total discrimination coefficient thetai,j:
5) Repeating the steps 1) to 4), and calculating the discrimination coefficient theta corresponding to all the wavelet coefficientsi,j;
6) Finding the optimal energy ratio*:
(i*,j*)=argminθi,j;
Will be provided with*As a result of the feature extraction, as an input for a subsequent pattern recognition method.
2. The method of discrete wavelet transform-based supervised artificial taste system feature extraction as recited in claim 1, wherein the wavelet coefficient transformation stage comprises:
obtaining wavelet coefficientsWherein i is the number of discrete wavelet transform decomposition layers, j is the jth wavelet coefficient after the ith layer decomposition, j ∈ N is less than or equal to 2i(ii) a Wavelet coefficientConverted to energy ratio according to
3. An artificial taste system using the supervised artificial taste system feature extraction method of discrete wavelet transform as claimed in any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710391480.2A CN107220670B (en) | 2017-05-27 | 2017-05-27 | Method for extracting characteristics of supervised artificial taste system based on discrete wavelet transform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710391480.2A CN107220670B (en) | 2017-05-27 | 2017-05-27 | Method for extracting characteristics of supervised artificial taste system based on discrete wavelet transform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107220670A CN107220670A (en) | 2017-09-29 |
CN107220670B true CN107220670B (en) | 2020-07-14 |
Family
ID=59948422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710391480.2A Active CN107220670B (en) | 2017-05-27 | 2017-05-27 | Method for extracting characteristics of supervised artificial taste system based on discrete wavelet transform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220670B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109239585A (en) * | 2018-09-06 | 2019-01-18 | 南京理工大学 | A kind of method for diagnosing faults based on the preferred wavelet packet of improvement |
CN112910813B (en) * | 2021-04-10 | 2022-09-06 | 青岛科技大学 | LDA-KNN-based underwater sound signal automatic modulation identification method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101692053A (en) * | 2009-10-09 | 2010-04-07 | 江苏大学 | Multi-sensing information fusion based instrumental intelligent evaluation method for quality of famous tea |
CN102520341A (en) * | 2011-12-05 | 2012-06-27 | 南京航空航天大学 | Analog circuit fault diagnosis method based on Bayes-KFCM (Kernelized Fuzzy C-Means) algorithm |
CN103234918A (en) * | 2013-04-12 | 2013-08-07 | 泸州品创科技有限公司 | Method for discriminating liquor odor by liquid array taste sense bionic sensor |
CN104268575A (en) * | 2014-09-29 | 2015-01-07 | 西南大学 | Electronic nose signal processing method based on mixing characteristic matrix |
US9201068B2 (en) * | 2008-09-03 | 2015-12-01 | Clarkson University | Bioelectronic tongue for food allergy detection |
CN105160359A (en) * | 2015-09-17 | 2015-12-16 | 华南理工大学 | Complex structure damage cooperative identification method based on ultrasonic guided-wave |
CN106096649A (en) * | 2016-06-08 | 2016-11-09 | 北京科技大学 | Sense of taste induced signal otherness feature extracting method based on core linear discriminant analysis |
CN106093120A (en) * | 2016-05-27 | 2016-11-09 | 北京科技大学 | A kind of Feature Parameter Fusion method of Electronic Nose response signal in tea grades identification |
CN106127259A (en) * | 2016-07-04 | 2016-11-16 | 西南大学 | E-nose signal Feature fusion based on degree of isolation and distinctiveness ratio |
-
2017
- 2017-05-27 CN CN201710391480.2A patent/CN107220670B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9201068B2 (en) * | 2008-09-03 | 2015-12-01 | Clarkson University | Bioelectronic tongue for food allergy detection |
CN101692053A (en) * | 2009-10-09 | 2010-04-07 | 江苏大学 | Multi-sensing information fusion based instrumental intelligent evaluation method for quality of famous tea |
CN102520341A (en) * | 2011-12-05 | 2012-06-27 | 南京航空航天大学 | Analog circuit fault diagnosis method based on Bayes-KFCM (Kernelized Fuzzy C-Means) algorithm |
CN103234918A (en) * | 2013-04-12 | 2013-08-07 | 泸州品创科技有限公司 | Method for discriminating liquor odor by liquid array taste sense bionic sensor |
CN104268575A (en) * | 2014-09-29 | 2015-01-07 | 西南大学 | Electronic nose signal processing method based on mixing characteristic matrix |
CN105160359A (en) * | 2015-09-17 | 2015-12-16 | 华南理工大学 | Complex structure damage cooperative identification method based on ultrasonic guided-wave |
CN106093120A (en) * | 2016-05-27 | 2016-11-09 | 北京科技大学 | A kind of Feature Parameter Fusion method of Electronic Nose response signal in tea grades identification |
CN106096649A (en) * | 2016-06-08 | 2016-11-09 | 北京科技大学 | Sense of taste induced signal otherness feature extracting method based on core linear discriminant analysis |
CN106127259A (en) * | 2016-07-04 | 2016-11-16 | 西南大学 | E-nose signal Feature fusion based on degree of isolation and distinctiveness ratio |
Non-Patent Citations (1)
Title |
---|
"A feature extraction method based on wavelet packet analysis for discrimination of Chinese vinegars using a gas sensors array";Yong Yin, Huichun Yu, Hongshun Zhang;《Sensors and Actuators B: Chemical》;20080731;第1005-1009页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107220670A (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108718288B (en) | Method for recognizing digital signal modulation mode based on convolutional neural network | |
CN110197209B (en) | Radiation source identification method based on multi-feature fusion | |
CN101919695A (en) | Electrocardiosignal QRS complex detection method based on wavelet transform | |
CN107220670B (en) | Method for extracting characteristics of supervised artificial taste system based on discrete wavelet transform | |
Hati et al. | Plant recognition from leaf image through artificial neural network | |
CN103902987A (en) | Station caption identifying method based on convolutional network | |
CN110084812B (en) | Terahertz image defect detection method, device and system and storage medium | |
CN107798351B (en) | Deep learning neural network-based identity recognition method and system | |
CN106357575A (en) | Multi-parameter jointly-estimated interference type identification method | |
CN113283331A (en) | Multi-class target identification method and system for unattended sensor system | |
CN106295708B (en) | A kind of continuous data preprocess method based on Fisher classifier group | |
CN116127288B (en) | Nanopore sensing signal noise removing method and device based on independent component analysis | |
CN107528646B (en) | Interference signal identification and extraction method based on broadband spectrum | |
CN104125050B (en) | Ultrahigh frequency RFID card reader protocol conformance test method | |
CN114186596B (en) | Multi-window identification method and device for spectrogram peaks and electronic equipment | |
CN114239657A (en) | Time sequence signal identification method based on complex value interference neural network | |
CN108507607B (en) | Weak signal detection method based on kernel function | |
CN111464468A (en) | Signal modulation mode identification method, device, equipment and readable storage medium | |
CN107894837A (en) | Dynamic sentiment analysis model sample processing method and processing device | |
CN109598216B (en) | Convolution-based radio frequency fingerprint feature extraction method | |
CN108008262B (en) | Rapid partial discharge detection method | |
CN110336638A (en) | A kind of short-term burst signal detecting method based on time-frequency figure | |
CN115100733A (en) | RFID gesture recognition method, computer device, product and storage medium | |
CN114358041A (en) | Characteristic waveform extraction method and analysis method based on hybrid algorithm | |
CN104820074A (en) | Electronic nose characteristic extraction method based on moving window function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |