CN112790774A - A primitive EEG deep learning classification method and application - Google Patents
A primitive EEG deep learning classification method and application Download PDFInfo
- Publication number
- CN112790774A CN112790774A CN202110182451.1A CN202110182451A CN112790774A CN 112790774 A CN112790774 A CN 112790774A CN 202110182451 A CN202110182451 A CN 202110182451A CN 112790774 A CN112790774 A CN 112790774A
- Authority
- CN
- China
- Prior art keywords
- deep learning
- eeg
- classification method
- layer
- neural network
- 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.)
- Pending
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/40—Detecting, measuring or recording for evaluating the nervous system
- A61B5/4076—Diagnosing or monitoring particular conditions of the nervous system
- A61B5/4088—Diagnosing of monitoring cognitive diseases, e.g. Alzheimer, prion diseases or dementia
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7203—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
- A61B5/7253—Details of waveform analysis characterised by using transforms
- A61B5/7257—Details of waveform analysis characterised by using transforms using Fourier transforms
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
- A61B5/7264—Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
- A61B5/7267—Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems involving training the classification device
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Molecular Biology (AREA)
- Public Health (AREA)
- Physiology (AREA)
- Veterinary Medicine (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Signal Processing (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Psychiatry (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Neurology (AREA)
- Mathematical Physics (AREA)
- Child & Adolescent Psychology (AREA)
- Developmental Disabilities (AREA)
- Hospice & Palliative Care (AREA)
- Psychology (AREA)
- Neurosurgery (AREA)
- Evolutionary Computation (AREA)
- Fuzzy Systems (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
The invention discloses an original electroencephalogram deep learning classification method which comprises the steps of extracting a test sample, converting the obtained test sample into a test input image, inputting the obtained test input image into a deep learning model, extracting robustness characteristics to obtain robustness characteristics, and inputting the extracted robustness characteristics into an extreme learning machine classifier for classification analysis. The deep learning model is composed of a convolution neural network and a long-term and short-term memory neural network. The convolutional neural network can utilize the convolutional layer to extract the characteristics, so that proper characteristics do not need to be searched repeatedly, and a large amount of time is saved. Meanwhile, the feature extraction is carried out by utilizing the convolution layer, the accuracy of the electroencephalogram analysis can be improved by changing the size of the convolution kernel, the operation is simple and convenient, the speed is higher, and the accuracy can reach more than 90%.
Description
Technical Field
The invention relates to the technical field of schizophrenia detection, in particular to a deep learning classification method and application of original brain electricity.
Background
The brain electrical signals are the spontaneous and rhythmic electrical activity of the brain cell population recorded by the electrodes. The electroencephalogram signals contain rich brain activity information, so the electroencephalogram signals are widely applied to electroencephalogram analysis research.
Most of the current electroencephalogram analysis depends on the comparison between normal electroencephalograms and abnormal electroencephalograms or on the experience of an analyst, a specific and reasonable analysis model is not available, subjective influence factors are more, and the accuracy is lower.
Disclosure of Invention
The invention aims to provide an original electroencephalogram deep learning classification method aiming at the technical defect of low accuracy of the original electroencephalogram deep learning classification method in the prior art.
The technical scheme adopted for realizing the purpose of the invention is as follows:
a method for deep learning and classifying original brain electricity comprises the following steps:
step A: extracting an original electroencephalogram time sequence signal of a person to be tested, and carrying out noise filtering processing on the original electroencephalogram time sequence signal, wherein the electroencephalogram time sequence signal of the person to be tested after the noise filtering processing is used as a test sample;
and B: converting the test sample obtained in the step A into a test input image;
and C: b, inputting the test input image obtained in the step B into a deep learning model, and extracting robust features in the deep learning model to obtain robust features;
step D: and C, inputting the robustness features extracted in the step C into an Extreme Learning Machine (ELM) classifier for classification. Reference documents: [1] li, S.Song, and Y.Wan, "Laplacian twist extension learning machine for semi-collaborative classification", neuro-typing, vol.321, pp.17-27,2018.
[2]Y.Yu and Z.Sun,“Sparse coding extreme learning machine for classification”,Neurocomputing,vol.261,pp.50-56,2017.
In the above technical solution, the test sample conversion method in step B is based on a short-time fourier transform algorithm.
In the above technical solution, the short-time fourier transform algorithm is completed by the following formula:
where z (u) is the electroencephalogram time-series signal at time u, g (u-t) is a window function, f is the electroencephalogram time-series signal sampling rate, j is a complex number, j is 1 × i, and i is an imaginary unit.
In the above technical solution, when the obtained test sample is converted into a test input image, a window of 3 seconds is used to perform short-time fourier transform.
In the above technical solution, in step C, the deep learning model is composed of a Convolutional Neural Network (CNN) and a long-short term memory neural network (LSTM). CNN and LSTM are stacked, and the characteristic matrix extracted by CNN is integrated into the matrix which can be input by LSTM. Reference [3] Saintath T N, Vinyals O, Senior A, et al. volumetric, Long Short-Term Memory, full connected Deep Neural Networks [ C ]// ICASSP 2015 + 2015IEEE International Conference on Acoustics, speed and Signal Processing (ICASSP). IEEE,2016.
In the above technical solution, the convolutional neural network has three layers, the first layer convolution kernel size is 3 × (3-20), preferably 3 × 20, the second layer convolution kernel size is 2 × (2-20), preferably 2 × 20, and the third layer convolution kernel size is 2 × (2-20), preferably 2 × 20. When the size of the convolution kernel in the convolution neural network is in the range, the accuracy rate can be ensured to be more than 90%.
In the above technical solution, the long-term and short-term memory neural network has three layers, the first layer is an input layer, the second layer is a hidden layer, the hidden unit of the hidden layer is 100, and the third layer is an output layer.
In the above technical solution, the training method of the deep learning model includes the following steps:
step 1: extracting original electroencephalogram time sequence signals of the schizophrenia patient and the healthy person, and performing noise filtering processing, wherein the electroencephalogram time sequence signals of the schizophrenia patient and the healthy person after the noise filtering processing are used as training samples;
step 2: dividing the training samples extracted in the step 1 into a training set and a verification set; the number of the electroencephalogram time sequences in the training set is 70% of the total number of the electroencephalogram time sequences in the training sample, and the number of the electroencephalogram time sequences in the verification set is 30% of the total number of the electroencephalogram time sequences in the training sample.
And step 3: based on a short-time Fourier transform algorithm, respectively converting the training set and the verification set divided in the step (2) into a training set input image and a verification set input image which can be identified by a convolutional neural network, wherein the training set input image and the verification set input image form a model input image set;
and 4, step 4: and (4) inputting the model input image set obtained by conversion in the step (3) into the deep learning model, extracting robustness characteristics, and training optimal parameters of the deep learning model.
And 5: and (4) outputting the optimal parameters of the deep learning model trained in the step (4).
Compared with the prior art, the invention has the beneficial effects that:
1. the original electroencephalogram deep learning classification method based on electroencephalogram and deep learning provided by the invention has the advantage that a deep learning model is composed of a convolutional neural network and a long-term and short-term memory neural network. The convolutional neural network can utilize the convolutional layer to extract the characteristics, so that proper characteristics do not need to be searched repeatedly, and a large amount of time is saved.
2. The original electroencephalogram deep learning classification method based on electroencephalogram and deep learning provided by the invention can improve the accuracy of electroencephalogram analysis by changing the size of a convolution kernel for performing feature extraction by using the convolution layer, is simple and convenient to operate and higher in speed, and can ensure that the accuracy is up to more than 90%.
3. According to the original electroencephalogram deep learning classification method based on electroencephalogram and deep learning, the long-term and short-term memory neural network can judge the time dependence on the characteristic extracted by the convolutional layer to further extract the robustness characteristic.
Drawings
FIG. 1 is a flowchart of an original electroencephalogram deep learning classification method based on electroencephalogram and deep learning.
FIG. 2 is a diagram showing the comparison of the brain electrical time series signals of schizophrenia and healthy people.
Figure 3 shows a 3s window short time fourier transform plot of schizophrenia versus healthy persons.
FIG. 4 shows a block diagram of CNN-LSTM-ELM.
Detailed Description
The present invention will be described in further detail with reference to specific examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example 1
A deep learning model is composed of a convolution neural network and a long-short term memory neural network. The convolutional neural network has three layers, the size of a convolution kernel of the first layer is 3X20, the size of a convolution kernel of the second layer is 2X20, and the size of a convolution kernel of the third layer is 2X 20. The long-term and short-term memory neural network comprises three layers, wherein the first layer is an input layer, the second layer is a hidden layer, a hidden unit arranged in the hidden layer is 100, and the third layer is an output layer.
The training method of the deep learning model comprises the following steps:
step 1: extracting training samples
Extracting original electroencephalogram time sequence signals of 45 schizophrenia patients and 39 healthy persons, and performing noise filtering processing, wherein the electroencephalogram time sequence signals of the schizophrenia patients and the healthy persons after the noise filtering processing are used as training samples.
Step 2: partitioning training samples
Dividing the training sample extracted in the step 1 into a training set and a verification set, wherein the number of the electroencephalogram time sequences in the training set is 70% of the total number of the electroencephalogram time sequences in the training sample, and the number of the electroencephalogram time sequences in the verification set is 30% of the total number of the electroencephalogram time sequences in the training sample.
And step 3: transforming a model input image set
And (3) respectively converting the training set and the verification set divided in the step (2) into a training set input image and a verification set input image which can be identified by the convolutional neural network (the image format which can be identified by the convolutional neural network is a two-dimensional matrix format) based on a short-time Fourier transform algorithm, wherein the training set input image and the verification set input image form a model input image set.
And 4, step 4: and (4) inputting the model input image set obtained by conversion in the step (3) into the deep learning model, extracting robustness characteristics, and training optimal parameters of the deep learning model.
And 5: and (4) outputting the optimal parameters of the deep learning model trained in the step (4).
Example 2
A method for deep learning and classifying original brain electricity comprises the following steps:
step A: extracting an original electroencephalogram time sequence signal, and carrying out noise filtering processing on the original electroencephalogram time sequence signal, wherein the electroencephalogram time sequence signal of a person to be tested after the noise filtering processing is used as a test sample;
and B: converting the test sample obtained in the step A into a test input image which can be identified by a convolutional neural network based on a short-time Fourier transform algorithm;
and C: inputting the test input image obtained in the step B into the deep learning model trained in the embodiment 1, and extracting the robustness characteristics in the trained deep learning model to obtain the robustness characteristics;
step D: and C, inputting the robustness features extracted in the step C into an extreme learning machine classifier for classification analysis.
The method can be used for detecting schizophrenia, and the extreme learning machine classifier detects schizophrenia and outputs a detection result.
Example 3
This example is based on example 2 and describes the detailed method or preference thereof.
In step 3 of example 1 and step B of example 2, the short-time fourier transform algorithm is completed by the following formula:
where z (u) is the electroencephalogram time-series signal at time u, g (u-t) is a window function, f is the electroencephalogram time-series signal sampling rate, j is a complex number, j is 1 × i, and i is an imaginary unit.
In step B, when the obtained test sample is converted into a test input image, short-time fourier transform is performed using a window of 3 seconds.
In the step D, the output detection result is that whether the testee has schizophrenia or does not have schizophrenia is judged according to the electroencephalogram time sequence signal.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011248815.3A CN112244875A (en) | 2020-11-10 | 2020-11-10 | Schizophrenia detection method based on electroencephalogram and deep learning |
CN2020112488153 | 2020-11-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112790774A true CN112790774A (en) | 2021-05-14 |
Family
ID=74265328
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011248815.3A Pending CN112244875A (en) | 2020-11-10 | 2020-11-10 | Schizophrenia detection method based on electroencephalogram and deep learning |
CN202110182451.1A Pending CN112790774A (en) | 2020-11-10 | 2021-02-07 | A primitive EEG deep learning classification method and application |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011248815.3A Pending CN112244875A (en) | 2020-11-10 | 2020-11-10 | Schizophrenia detection method based on electroencephalogram and deep learning |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN112244875A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113812933A (en) * | 2021-09-18 | 2021-12-21 | 重庆大学 | Real-time early warning system for acute myocardial infarction based on wearable devices |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107153825A (en) * | 2017-05-23 | 2017-09-12 | 哈尔滨理工大学 | A kind of epileptic electroencephalogram (eeg) sorting technique based on SVMs |
CN107693014A (en) * | 2017-11-22 | 2018-02-16 | 北京工业大学 | A kind of epileptic attack method for early warning based on bag of words and extreme learning machine |
CN110477865A (en) * | 2019-08-14 | 2019-11-22 | 深圳先进技术研究院 | A kind of epileptic attack detection device, terminal device and storage medium |
CN111631848A (en) * | 2020-05-31 | 2020-09-08 | 天津大学 | Mind-controlled prosthetic system based on brain-computer hybrid intelligence |
CN111881812A (en) * | 2020-07-24 | 2020-11-03 | 中国中医科学院针灸研究所 | Multi-modal emotion analysis method and system based on deep learning for acupuncture |
-
2020
- 2020-11-10 CN CN202011248815.3A patent/CN112244875A/en active Pending
-
2021
- 2021-02-07 CN CN202110182451.1A patent/CN112790774A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107153825A (en) * | 2017-05-23 | 2017-09-12 | 哈尔滨理工大学 | A kind of epileptic electroencephalogram (eeg) sorting technique based on SVMs |
CN107693014A (en) * | 2017-11-22 | 2018-02-16 | 北京工业大学 | A kind of epileptic attack method for early warning based on bag of words and extreme learning machine |
CN110477865A (en) * | 2019-08-14 | 2019-11-22 | 深圳先进技术研究院 | A kind of epileptic attack detection device, terminal device and storage medium |
CN111631848A (en) * | 2020-05-31 | 2020-09-08 | 天津大学 | Mind-controlled prosthetic system based on brain-computer hybrid intelligence |
CN111881812A (en) * | 2020-07-24 | 2020-11-03 | 中国中医科学院针灸研究所 | Multi-modal emotion analysis method and system based on deep learning for acupuncture |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113812933A (en) * | 2021-09-18 | 2021-12-21 | 重庆大学 | Real-time early warning system for acute myocardial infarction based on wearable devices |
Also Published As
Publication number | Publication date |
---|---|
CN112244875A (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104835507B (en) | A kind of fusion of multi-mode emotion information and recognition methods gone here and there and combined | |
CN110415728B (en) | Method and device for recognizing emotion voice | |
CN110353673A (en) | A kind of brain electric channel selection method based on standard mutual information | |
CN103294199B (en) | A kind of unvoiced information identifying system based on face's muscle signals | |
CN108550375A (en) | A kind of emotion identification method, device and computer equipment based on voice signal | |
Yuan et al. | A novel wavelet-based model for eeg epileptic seizure detection using multi-context learning | |
CN111597877A (en) | A fall detection method based on wireless signal | |
CN108363493A (en) | User characteristics method for establishing model, system and storage medium based on brain-computer interface | |
WO2023077592A1 (en) | Intelligent electrocardiosignal processing method | |
CN111326178A (en) | Multi-mode speech emotion recognition system and method based on convolutional neural network | |
CN104887263A (en) | Identity recognition algorithm based on heart sound multi-dimension feature extraction and system thereof | |
CN108567418A (en) | A kind of pulse signal inferior health detection method and detecting system based on PCANet | |
Yarga et al. | Efficient spike encoding algorithms for neuromorphic speech recognition | |
Whitehill et al. | Whosecough: In-the-wild cougher verification using multitask learning | |
WO2025059826A1 (en) | Text task-based speech disorder evaluation system | |
CN118656732B (en) | Method and system for identifying depression based on multi-mode data | |
CN112790774A (en) | A primitive EEG deep learning classification method and application | |
CN110811591A (en) | Heart failure grading method based on heart rate variability | |
CN113887339A (en) | Silent voice recognition system and method fusing surface electromyogram signal and lip image | |
CN116434759B (en) | A speaker recognition method based on SRS-CL network | |
Tan et al. | Towards real time implementation of sparse representation classifier (SRC) based heartbeat biometric system | |
CN112466284A (en) | Mask voice identification method | |
CN110706721A (en) | Recognition method of spark discharge of electrostatic precipitator based on BP neural network | |
CN117854546A (en) | Sound classification method and system based on channel attention and multi-scale Mel spectrogram | |
CN112472107B (en) | EEG artifact removal method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210514 |