Epilepsy detection system combining multi-scale scatter entropy and multi-label K nearest neighbor
By combining multi-scale dispersion entropy and multi-label K-nearest neighbor classifiers, the complexity features of EEG signals are extracted and the KNN classification method improved by Bayesian probability is used to solve the problem of long manual judgment and false detection in epilepsy detection in the existing technology. It solves problems with high classification accuracy and achieves higher classification accuracy and system stability.
Patent Information
- Application Number
- CN202110619740.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-03
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology relies on manual judgment in epilepsy detection, which is time-consuming and has a high false detection rate. Moreover, the single-scale analysis method cannot fully utilize the information in the EEG data, resulting in low classification accuracy.
Combining multi-scale dispersion entropy and multi-label K nearest neighbor classifier, the complexity features of EEG signals are extracted through multi-scale dispersion entropy, and the KNN classification method improved by Bayesian probability is used to make full use of the useful information in EEG data and reduce Mark costs and improve classification accuracy.
It effectively reduces the computational redundancy of the epilepsy detection system, improves the classification accuracy of epileptic seizure and non-ictal signals, overcomes the problems of slow calculation and insufficient stability of the single-scale analysis method, and improves the stability and stability of the system. accuracy.
Smart Images

Figure CN115429291B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electroencephalogram signal processing, and in particular, relates to an epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbors. Background Art
[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.
[0003] Epilepsy is a focal neurological disorder caused by abnormal discharges in the human brain, and is a neurological disease that is extremely difficult to cure. Strengthening the prevention and research of epilepsy can not only further alleviate the pain caused by epileptic seizures to patients and their families, improve their quality of life, but also have far-reaching significance for improving the quality of the population and the national health level.
[0004] At present, the basic method of epilepsy detection is for doctors to manually interpret the electroencephalogram (EEG) of epilepsy patients, inquire about their medical history and clinical manifestations, and determine the type of epilepsy based on experience to assess whether the patient is eligible for surgical treatment. However, manual identification is time-consuming and boring, and is mixed with the doctor's personal experience and subjective judgment, which will lead to a high false positive rate. Therefore, it is of great application value and clinical significance to develop an automatic detection system that uses computer algorithms to assist in the detection of epilepsy diseases, automatically analyze the electroencephalogram (EEG), and thus achieve the classification output of epileptic seizure signals and non-seizure signals. Among them, feature extraction and classifier selection are the key to the automatic epilepsy detection system.
[0005] The inventors found that effective EEG features can reduce the redundancy of the operation process of the epilepsy detection system. Commonly used data features include extreme values, variance, permutation entropy, etc., but they are all single-scale analysis methods based on EEG sequences. At the same time, the selection of a classifier with excellent performance is as important as the extraction of feature values. Existing classification methods only represent EEG samples as an instance to train the classification model and then derive the label of the unclassified model, without utilizing the rich information contained in the EEG data itself. Summary of the invention
[0006] In order to solve the above problems, the present disclosure provides an epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbor. The scheme combines the method of multi-scale spread entropy and multi-label K nearest neighbor classifier. The multi-scale spread entropy overcomes the disadvantage of slow calculation of permutation entropy for epilepsy data, and the mutation signal has little effect on it, and has better stability. At the same time, the multi-label K nearest neighbor classifier method fully utilizes the useful information contained in the unknown label EEG data and reduces the annotation cost, thereby improving the classification accuracy of the epilepsy detection system.
[0007] According to a first aspect of an embodiment of the present disclosure, an epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbors is provided, comprising:
[0008] A data acquisition unit, which is used to acquire the EEG signal to be detected and perform preprocessing;
[0009] A coarse-grained processing unit, which is used to perform composite coarse-grained processing on the EEG sequence obtained after preprocessing to obtain a preset number of coarse-grained sequences;
[0010] A feature extraction unit, which is used to calculate the dispersion entropy of each coarse-grained sequence according to the dispersion entropy principle, and then obtain the multi-scale dispersion entropy of the EEG sequence;
[0011] The classification unit is used to input the multi-scale walk entropy into a pre-trained KNN classification model based on Bayesian probability improvement, obtain the confidence of the classification result of the EEG signal to be detected, and determine the label set of the EEG signal to be detected based on the maximum a posteriori probability criterion.
[0012] Furthermore, the EEG sequence obtained after the preprocessing is subjected to composite coarse-graining processing to obtain a preset number of coarse-grained sequences. Specifically, for the EEG sequence after the preprocessing, different scale factors are preset, and the specific calculation formula of the kth coarse-grained sequence under the set scale factor τ is as follows:
[0013]
[0014] Furthermore, the scatter entropy of each coarse-grained sequence is calculated according to the scatter entropy principle, and then the multi-scale scatter entropy of the EEG sequence is obtained. Specifically, at each scale factor τ, the scatter entropy of each coarse-grained sequence is calculated according to the scatter entropy principle. Then the multi-scale scatter entropy is defined as:
[0015]
[0016] Among them, the parameter X represents the initial EEG sequence signal, the parameter τ represents the multi-scale factor in multi-scale coarse-graining, and the parameters m, c, and d represent the embedding dimension, category, and delay in the scatter entropy, respectively.
[0017] Furthermore, the KNN classification model improved based on Bayesian probability is specifically as follows: for each EEG signal sample, a preset number of instances closest to it are obtained in advance, and then the label sets of these instances are obtained, and then the label set of the new instance is determined by the maximum a posteriori probability criterion.
[0018] According to a second aspect of an embodiment of the present disclosure, an electronic device is provided, including an EEG signal acquisition device, a memory, a processor, and a computer program stored and running on the memory, wherein when the processor executes the program, the function of the epilepsy detection system combining multi-scale scatter entropy and multi-label K nearest neighbors is realized.
[0019] According to a third aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the function of the epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbors is realized.
[0020] Compared with the prior art, the beneficial effects of the present invention are:
[0021] (1) The scheme disclosed in the present invention adopts an indicator for measuring the complexity and irregularity of EEG sequences - multi-scale scatter entropy. The multi-scale scatter entropy is a new method proposed on the basis of scatter entropy. It overcomes the shortcomings of permutation entropy such as slow calculation of epilepsy data, and is less affected by mutation signals. It has better stability and can effectively extract effective features from EEG signals to improve classification accuracy.
[0022] (2) Based on the K-nearest neighbor framework, the scheme proposes a KNN classification method based on Bayesian probability improvement. Through the multi-label classification method, it fully utilizes the useful information contained in the unknown label EEG data and reduces the labeling cost, thereby improving the classification accuracy of the epilepsy detection system.
[0023] Advantages of additional aspects of the present disclosure will be given in part in the following description and in part will become apparent from the following description or will be learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings constituting a part of the present disclosure are used to provide a further understanding of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure.
[0025] Figure 1 It is a schematic diagram of the structure of the epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbors described in the first embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.
[0027] It should be noted that the following detailed descriptions are all illustrative and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.
[0028] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0029] In the absence of conflict, the embodiments in the present disclosure and the features in the embodiments may be combined with each other.
[0030] Embodiment 1:
[0031] The purpose of this embodiment is to provide an epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbors, including:
[0032] A data acquisition unit, which is used to acquire the EEG signal to be detected and perform preprocessing;
[0033] A coarse-grained processing unit, which is used to perform composite coarse-grained processing on the EEG sequence obtained after preprocessing to obtain a preset number of coarse-grained sequences;
[0034] A feature extraction unit, which is used to calculate the dispersion entropy of each coarse-grained sequence according to the dispersion entropy principle, and then obtain the multi-scale dispersion entropy of the EEG sequence;
[0035] The classification unit is used to input the multi-scale walk entropy into a pre-trained KNN classification model based on Bayesian probability improvement, obtain the confidence of the classification result of the EEG signal to be detected, and determine the label set of the EEG signal to be detected based on the maximum a posteriori probability criterion.
[0036] Specifically, for ease of understanding, the solution disclosed in the present disclosure is described in detail below with reference to the accompanying drawings:
[0037] The electroencephalogram records the slight current signals emitted by the human cerebral cortex during an epileptic seizure, and the seizure information it reflects cannot be provided by other physiological methods. The processing and analysis of the EEG signals of epileptic patients will provide extremely valuable information for the diagnosis, treatment, automatic detection and revelation of the pathogenesis of epilepsy. At present, the detection of EEG is mainly completed by manual visual discrimination, but manual analysis of EEG is a time-consuming, laborious and subjective task. Therefore, it is very necessary to develop automatic detection technology for epileptic seizures.
[0038] The automatic epilepsy detection system is to complete the binary classification task of the patient's EEG signals during the seizure period and non-seizure period. Its basic process includes EEG data acquisition - raw EEG signal preprocessing - feature value extraction and selection - pattern classification - result output.
[0039] In order to solve the problems of low efficiency, high misjudgment rate and low accuracy of current automatic seizure detection technology in manual EEG analysis, this patent proposes a new method combining multi-scale spread entropy and multi-label K-nearest neighbor (MLKNN) classifier for the first time. Multi-scale spread entropy overcomes the shortcomings of slow calculation of permutation entropy for epilepsy data, and has less impact on it due to mutation signals, and has better stability. MLKNN makes full use of the useful information contained in the unknown label EEG data and reduces the annotation cost, thereby improving the classification accuracy of the epilepsy detection system.
[0040] The collected EEG signals are preprocessed first. The original EEG signals are filtered using a Butterworth filter to remove power frequency interference, pseudo-error interference, and interference from noise signals such as ECG signals and EMG signals, which facilitates subsequent research and analysis of EEG signals.
[0041] The Butterworth low-pass filter can be expressed as follows:
[0042]
[0043] Where n = filter order, ω c = cut-off frequency, ω p = passband edge frequency, Value at the edge of the passband.
[0044] The original data is generally the EEG signal recorded over a long period of time. According to the sampling frequency of 256HZ, for the long-range EEG signal, a 4s smoothing window function is selected to perform non-repetitive segmentation operation on the original EEG signal. Each segment of the obtained segmentation result contains 1024 EEG signal sample points. The EEG signals during the attack period and the non-attack period are marked and distinguished.
[0045] Then extract features from the EEG data to replace the original EEG signals for subsequent processing. Effective feature selection can reduce the redundancy of the entire operation process. Scattered entropy is a nonlinear dynamic method used to characterize the complexity and irregularity of EEG sequences. Scattered entropy overcomes the shortcomings of traditional permutation entropy, such as slow calculation speed and poor timeliness for epilepsy data sets, as well as the shortcomings of being easily affected by mutation signals. The advantages of the spread entropy algorithm are fast calculation speed, little impact from mutation signals, and taking into account the influence of the size relationship between EEG signal amplitudes. The specific algorithm steps are as follows:
[0046] (1) Assume that there exists an EEG sequence x = {y j ,j=1,2,...N}, the EEG sequence x is mapped to y={y j ,j=1,2,...N},y j∈(0,1), the specific mapping process is as follows:
[0047]
[0048] Where μ and б represent the expectation and standard deviation of the standard normal distribution respectively.
[0049] (2) Map the obtained y to the corresponding interval [1, 2...c] through linear transformation. The specific mapping function is as follows:
[0050]
[0051] Among them, R represents the rounding function, and c represents the number of categories mapped to the epilepsy data region values.
[0052] (3) Settings is the embedding vector, and its calculation process is as follows:
[0053]
[0054] In the formula, the condition i=1, 2, ..., N-(m-1)d, where m and d represent the dimension and delay of the EEG embedding vector respectively.
[0055] (4) Dispersion pattern If satisfied When , the embedding vector The corresponding scatter pattern is
[0056] (5) According to each scattering mode Calculate the probability of seizures and non-seizures The calculation process is as follows:
[0057]
[0058] Among them, the function It represents the vector Mapping to Schema The number of The meaning of expression is vector Map to divided by the embedding vector The number of elements in
[0059] According to the definition of Shannon entropy, the scatter entropy of the original EEG sequence x is defined as:
[0060]
[0061] Among them, DE represents the dispersion entropy of EEG signals, and the larger the DE value, the higher the irregularity of the EEG sequence, and vice versa. According to the calculation principle of dispersion entropy, when all the dispersion patterns of the EEG sequence have the same probability, the higher the irregularity of the EEG sequence, the dispersion entropy value DE will reach the maximum value of ln(c m ). When the spread entropy takes its minimum value, the condition is that with probability p(πv 0 v 1 v m-1 )When only one value is not zero, the EEG sequence at this time represents a completely regular and measurable data.
[0062] The multi-scale scatter entropy is designed to solve the problem that the single-scale scatter entropy is incomplete in extracting complex features of EEG signals, and has better stability than the traditional coarse-grained multi-scale process, and has certain advantages in feature extraction and error calculation of EEG signals. Compared with the multi-scale basic entropy and multi-scale permutation entropy, the expectation and standard deviation of the normal distribution function used in the composite multi-scale scatter entropy algorithm are calculated based on the mean and standard deviation of all EEG data. The algorithm principle of multi-scale scatter entropy is as follows:
[0063] For the original EEG sequence {u(i), i=1, 2, ..., L}, composite coarse-grained processing is performed, and the kth coarse-grained sequence under the set scale factor τ is The specific calculation of the EEG sequence is shown as follows:
[0064]
[0065]
[0066] Under each scale factor τ, the scatter entropy of each coarse-grained sequence is calculated according to the scatter entropy principle. Then the multi-scale scatter entropy is defined as:
[0067]
[0068] Among them, the parameter X represents the initial EEG sequence signal, the parameter τ represents the multi-scale factor in multi-scale coarse-graining, and the parameters m, c, and d represent the embedding dimension, category, and delay in the scatter entropy, respectively.
[0069] In the process of coarse-graining, traditional methods such as multi-scale permutation entropy and multi-scale basic entropy mainly use scale factors to equidistantly segment the original EEG sequence and then calculate the average value of the segmented sequence. In multi-scale scatter entropy (MDE), each scale factor τ is calculated according to By calculating τ coarse-grained sequences, calculating the spread entropy of each coarse-grained sequence and then averaging these spread entropies, the fluctuation of entropy value with the increase of scale factor can be reduced.
[0070] Next, train the classifier and test the EEG features to get the results. Continuously adjust the training parameters to optimize the classifier performance, so that the test results are close to the results marked by the doctor, and improve the accuracy of classification. The selection of a classifier with excellent performance is as important as the selection of feature values.
[0071] This algorithm uses MLKNN: using Bayesian probability to improve the traditional KNN algorithm. Simply put, the k-nearest neighbor algorithm uses the distance measurement method between the characteristic values of EEG data for classification. The KNN algorithm is the simplest and most effective classification algorithm, which is simple and easy to implement. However, when the epilepsy data is large, a lot of storage space is required, and the distance between the sample to be tested and all samples in the training data set needs to be calculated, which is very time-consuming. The main idea of MLKNN is that for each epilepsy sample, the k instances closest to it (the k instances with the smallest distance to it in the feature space) can be obtained first, and then the label set of these epilepsy samples is obtained, and then the label set of the new instance is determined by the maximum a posteriori probability criterion.
[0072] Furthermore, the MLKNN algorithm is implemented as follows:
[0073] Input: training set D, domain k value, test data t, smoothing coefficient s.
[0074] Output: The label set of the test data, Confidence of the predicted result. % Calculate the prior probability
[0075] (1) for l∈L do
[0076] (2)
[0077] (3) Determine the neighborhood N(x) of EEG data i ),i∈{1,...,n}% Determine the number of EEG data in the neighborhood k containing each label and the number without corresponding labels;}
[0078] (4) for l∈L do
[0079] (5) {The number of k-neighbors of EEG data in the initialized neighborhood that contain each label and the number of labels without corresponding labels;
[0080] for j∈{0,...k}do
[0081] {c[j]=0,c'[j]=0;}
[0082] (6) Calculate the number of EEG data with each label and without corresponding label in the k-neighborhood of the EEG data in the neighborhood
[0083] for i∈{1,...,n}do
[0084] {
[0085] then c[δ]=c[δ+1];
[0086] else c'[δ]=c'[δ]+1;}
[0087] % Calculate label posterior probability
[0088] (7) for j∈{0,...,k}do
[0089] (8) {Calculate the prior probability when the EEG data contains label l
[0090]
[0091] (9) Calculate the prior probability when EEG data has no label l
[0092] %calculate and }}
[0093] (10) Determine N(t);
[0094] (11) Get the number of data corresponding to each label in the neighborhood of the test data
[0095] for l∈L do
[0096]
[0097] (12) Get the label set of test data
[0098]
[0099] (13) Get the confidence of the test data classification results
[0100]
[0101] Among them, x represents EEG data, is the sample label set, is the label vector of EEG data x, Indicates whether the lth label is included in the label subset of the EEG dataset x; N(x) indicates the neighborhood of data x in the training dataset. is the number of data containing each label in the neighborhood of EEG data x; Indicates that the test data contains label l, Indicates that the test data does not contain label l; s is the smoothing coefficient, generally using the Laplace smoothing coefficient, that is, s = 1, n is the number of training samples, is the number of instances with label l in the data neighborhood; c[j] represents the number of instances with label l in the k-neighborhood of the data in the neighborhood, and c'[j] represents the number of instances without label l in the k-neighborhood of the data in the neighborhood. S is the training sample, k is the neighborhood value set by the user, t is the test sample, s is the Laplace smoothing coefficient, represents the predicted label set of the test data, is a real vector that measures the confidence of the prediction result.
[0102] After the EEG data is feature extracted and the classifier outputs the results, the EEG data is post-processed. The classifier output results are processed by smoothing, lead fusion, etc. to further improve the accuracy.
[0103] Furthermore, in order to prove the effectiveness of the solution described in the present disclosure, the following experiments were performed in this embodiment to prove:
[0104] This algorithm uses a scalp EEG dataset collected from Boston Children's Hospital in the United States. The subjects of the Boston Children's Hospital dataset are pediatric epilepsy patients with a history of intractable epilepsy and who have stopped taking anti-epileptic drugs for a period of time. The total EEG data recording time of this dataset is about more than 900 hours, all of which are collected using the internationally accepted 10-20 EEG system electrode position method, with a resolution of 16 bits and a sampling frequency of 256Hz. A multi-channel acquisition method is used. Four patients were selected from this dataset for experimental verification.
[0105] If the EEG data correctly identified by the algorithm as the epileptic seizure period and the intermittent period are defined as true positive and true negative, respectively, and the EEG data incorrectly detected as the epileptic seizure period and the intermittent period are defined as false positive and false negative, respectively, then the three evaluation indicators are defined as follows:
[0106] Sensitivity = number of true positive segments / (number of true positive segments + number of false negative segments);
[0107] Specificity = number of true negative segments / (number of true negative segments + number of false negative segments);
[0108] Recognition accuracy = (number of true positive segments + number of true negative segments) / total number of EEG segments used for testing.
[0109] Table 1. Experimental results
[0110]
[0111] In further embodiments, there is also provided:
[0112] An electronic device includes a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the functions of the system described in Embodiment 1 are completed. For the sake of brevity, no further description is given here.
[0113] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0114] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.
[0115] A computer-readable storage medium is used to store computer instructions. When the computer instructions are executed by a processor, the functions of the system described in the first embodiment are completed.
[0116] The system in the first embodiment can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the functions of the above system in combination with its hardware. To avoid repetition, it will not be described in detail here.
[0117] Those skilled in the art will appreciate that the units, i.e., algorithm steps, of the various examples described in conjunction with this embodiment can be implemented in electronic hardware or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0118] The epilepsy detection system provided by the above embodiment that combines multi-scale spread entropy with multi-label K nearest neighbors can be realized and has broad application prospects.
[0119] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
[0120] Although the above describes the specific implementation methods of the present disclosure in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present disclosure. Technical personnel in the relevant field should understand that on the basis of the technical solution of the present disclosure, various modifications or variations that can be made by those skilled in the art without creative work are still within the scope of protection of the present disclosure.
Claims
1. An epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbor, characterized in that: include: A data acquisition unit, which is used to acquire the EEG signal to be detected and perform preprocessing; A coarse-grained processing unit, which is used to perform composite coarse-grained processing on the EEG sequence obtained after preprocessing to obtain a preset number of coarse-grained sequences; A feature extraction unit, which is used to calculate the scatter entropy of each coarse-grained sequence according to the scatter entropy principle, and then obtain the multi-scale scatter entropy of the EEG sequence; The classification unit is used to input the multi-scale scatter entropy into a pre-trained KNN classification model based on Bayesian probability improvement, obtain the confidence of the classification result of the EEG signal to be detected, and determine the label set of the EEG signal to be detected based on the maximum a posteriori probability criterion.
2. The epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbor as claimed in claim 1, characterized in that: The EEG sequence obtained after preprocessing is subjected to composite coarse-graining processing to obtain a preset number of coarse-grained sequences. Specifically, for the EEG sequence after preprocessing, different scale factors are preset. The specific calculation formula of the kth coarse-grained sequence under the set scale factor τ is as follows:
3. The epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbor as claimed in claim 1, characterized in that: The method calculates the scatter entropy of each coarse-grained sequence according to the scatter entropy principle, and then obtains the multi-scale scatter entropy of the EEG sequence. Specifically, at each scale factor τ, the scatter entropy of each coarse-grained sequence is calculated according to the scatter entropy principle. Then the multi-scale scatter entropy is defined as: Among them, the parameter X represents the initial EEG sequence signal, the parameter τ represents the multi-scale factor when performing multi-scale coarse-graining, and the parameters m, c, and d represent the embedding dimension, category, and delay in the scatter entropy, respectively.
4. The epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbor as claimed in claim 1, characterized in that: The KNN classification model improved based on Bayesian probability is specifically as follows: for each EEG signal sample, a preset number of instances closest to it are obtained in advance, and then the label sets of these instances are obtained, and then the label set of the new instance is determined by the maximum a posteriori probability criterion.
5. The epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbor as claimed in claim 4, characterized in that: For each EEG signal sample, a preset number of instances closest to it are obtained in advance, and the distance calculation method adopted is the chi-square distance.
6. The epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbor as claimed in claim 1, characterized in that: After obtaining the classification results of the EEG signals to be detected, the results output by the classifier are smoothed and the leads are fused.
7. The epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbor as claimed in claim 1, characterized in that: The preprocessing includes filtering the EEG signal using a Butterworth filter.
8. The epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbor as claimed in claim 1, characterized in that: The preprocessing also includes performing a non-repetitive segmentation operation on the original EEG signal using a smooth window function of a preset time period to obtain an EEG sequence.
9. An electronic device comprising an electroencephalogram signal acquisition device, a memory, a processor, and a computer program stored and running on the memory, characterized in that: When the processor executes the program, the function of the epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbors as described in any one of claims 1 to 8 is realized.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the function of the epilepsy detection system combining multi-scale spread entropy and multi-label K nearest neighbors as described in any one of claims 1 to 8 is realized.
Citation Information
Patent Citations
ML-kNN (machine learning-k-nearest neighbor) improving method and ML-kNN improving system applicable to multi-label classification
CN107133293A
Classifier training method and computer readable storage medium
CN110942103A
