A method, device and storage medium for cerebrovascular disease diagnosis based on machine learning

Through a machine learning-based cerebrovascular disease diagnosis method, EEG data and cross-wavelet transform technology are used to extract cross-spectral features of brain intervals, which solves the problems of inaccurate and low-efficiency cerebrovascular disease diagnosis results in the existing technology, and achieves a better High diagnostic accuracy and efficiency.

CN118383778BActive Publication Date: 2024-10-29THE PEOPLES HOSPITAL SHAANXI PROV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410810525.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-29
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

Existing diagnostic methods for cerebrovascular disease suffer from inaccurate diagnostic results and low efficiency. In particular, they rely on doctors’ personal experience and symptom interpretation, resulting in inconsistent and low-efficiency diagnostic results.

Method used

Using a method based on machine learning, by obtaining EEG data sets containing healthy and patients with different degrees of cerebrovascular disease, pre-training the cerebrovascular disease diagnosis and classification model, preprocessing the EEG data and locating the brain source, and using cross wavelet transform to extract brain intervals The cross-spectral features are used to construct a functional connectivity matrix as input to classify the target of diagnosis into health, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment.

Benefits of technology

The accuracy and efficiency of diagnosis of cerebrovascular diseases are improved, and the types of cerebrovascular diseases are more accurately classified through machine learning models, which reduces the influence of doctors' subjective judgment and improves the reliability and efficiency of diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118383778B_ABST
    Figure CN118383778B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and storage medium for diagnosing cerebrovascular disease based on machine learning, the method comprising: obtaining a sample EEG data set containing healthy patients and patients with different degrees of cerebrovascular disease; wherein each sample in the sample EEG data set has a health status or lesion degree mark; training a preset machine learning classification model according to the sample EEG data set to obtain a cerebrovascular disease diagnosis classification model; obtaining EEG data of a target to be diagnosed, pre-processing the EEG data of the target to be diagnosed and inputting the cerebrovascular disease diagnosis classification model, classifying the EEG data of the target to be diagnosed by the cerebrovascular disease diagnosis classification model for health status or lesion degree, and obtaining a cerebrovascular disease diagnosis result of the target to be diagnosed. In this way, the accuracy and efficiency of the cerebrovascular disease diagnosis process are improved through the machine learning model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a cerebrovascular disease diagnosis method, device, equipment and storage medium based on machine learning. Background Art

[0002] With the changes in human lifestyle and daily diet, as well as the increasing fast pace and irregularity of modern life, the incidence of cerebrovascular diseases has increased year by year. Cerebrovascular disease is one of the leading causes of death and disability worldwide, covering various types of brain vascular abnormalities, such as cerebral infarction, cerebral hemorrhage, etc. Early and accurate diagnosis of cerebrovascular disease is of great significance for improving patients' survival rate and quality of life. However, the onset of cerebrovascular disease is often hidden, and the symptoms are diverse, causing many patients to enter the middle and late stages of the disease when diagnosed, missing the best time for treatment.

[0003] Traditional diagnostic methods mainly rely on the doctor's clinical experience and the interpretation of the patient's symptoms. However, the existing methods are not only affected by the doctor's personal experience and subjective judgment, there may be inconsistency and inaccuracy in the diagnostic results, but the diagnostic efficiency is also relatively low. Summary of the invention

[0004] The embodiments of the present application solve the problems of inaccurate diagnosis results and low efficiency in the prior art by providing a cerebrovascular disease diagnosis method, device, equipment and storage medium based on machine learning.

[0005] In order to achieve the above object, the technical solution of the embodiment of the present invention is:

[0006] In a first aspect, an embodiment of the present invention provides a method for diagnosing cerebrovascular disease based on machine learning, comprising: obtaining a sample EEG data set including healthy patients and patients with cerebrovascular disease of varying degrees; wherein each sample in the sample EEG data set includes healthy patients, patients with cerebrovascular disease without cognitive impairment, and patients with cerebrovascular disease with cognitive impairment; pre-training a preset machine learning classification model according to the sample EEG data set to obtain a cerebrovascular disease diagnosis classification model; obtaining EEG data of a target to be diagnosed, and pre-processing the EEG data of the target to be diagnosed including electrode positioning, re-referencing, signal filtering, data segmentation, and independent component analysis to remove interference such as high-frequency noise and artifacts, and implementing time / event-based EEG signal segmentation to obtain a low-density EEG signal of the target to be diagnosed;

[0007] The low-density EEG signal of the target to be diagnosed is used to estimate the source signal of each brain region by the minimum norm estimation method, and the EEG signal generated by different brain regions of the target to be diagnosed is inversely generated;

[0008] Among the EEG signals generated by different brain regions of the target to be diagnosed after brain source localization, the EEG signals of any two brain regions are subjected to cross wavelet transform to obtain the wavelet cross-spectral characteristics between the different brain regions of the target to be diagnosed; the cross wavelet transform includes firstly performing continuous wavelet transform on the EEG signals of the corresponding two brain regions, and then calculating the continuous wavelet complex conjugate matrix between the two EEG signals; the cross wavelet transform is expressed as:

[0009]

[0010] in, Indicates scale and position, is a time series, represents a smoothing operator in time and scale, Indicates plural, , Indicated in scale and location The continuous wavelet transform on represents the desired cross wavelet transform;

[0011] The cross wavelet transform is performed on the EEG signals of any two brain regions to obtain the wavelet cross-spectral features between the different brain regions of the target to be diagnosed, including:

[0012] Through cross-wavelet transform, we construct the wavelet coherence real number matrix reflecting the correlation characteristics between different brain regions, the complex number matrix of wavelet cross-spectrum, the conversion from scale to period, the conversion from scale to frequency, the influence cone of wavelet coherence and the matrix of continuous wavelet transform, and draw the cross-wavelet spectrum diagram based on it; among them, wavelet coherence is used to indicate the consistency of changes between EEG signals of two brain regions, and wavelet cross-spectrum is a measure of the power distribution of two signals; wavelet coherence real number matrix Calculated by the following formula:

[0013]

[0014] For the EEG signals of all brain regions of the target to be diagnosed, cross wavelet spectrograms are calculated in pairs, and wavelet cross spectrum features between every two brain regions are extracted according to the cross wavelet spectrograms; wherein the wavelet cross spectrum features are complex number matrices; and the values ​​of the wavelet cross spectrum feature matrix include real and imaginary parts;

[0015] The wavelet cross-spectrum feature matrix is ​​divided in the frequency domain according to the frequencies corresponding to the five different brain waves; in the time domain, it is divided into five blocks according to the time; Grids, calculate the average value of the imaginary part of the wavelet cross-spectrum value in each grid, remove the mean value of the grid where the influence cone is located, and obtain a 5 times 5 wavelet cross-spectrum matrix as the wavelet cross-spectrum numerical matrix between the two brain regions;

[0016] The wavelet cross-spectrum numerical matrices of the two brain regions are averaged and combined to be converted into a brain region functional connection matrix; wherein the functional connection matrix composed of different brain regions is used to reflect the signal interaction activities of all brain regions of the target to be diagnosed, and is used as the EEG feature of the target to be diagnosed for further classification;

[0017] The brain region functional connection matrix is ​​input as a feature into the cerebrovascular disease diagnosis classification model, and the cerebrovascular disease diagnosis classification model is used to classify the target to be diagnosed into healthy, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment, so as to obtain a diagnosis result of the target to be diagnosed.

[0018] In some possible implementations, the EEG data of the target to be diagnosed includes the EEG data of different preset events of the target to be diagnosed within a preset time; the preset events include at least eyes opening, eyes closing, and hyperventilation; the cerebrovascular disease diagnosis classification results include at least: healthy, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment.

[0019] In some possible implementations, electrode positioning is used to match the EEG data of the target to be diagnosed with the corresponding channel according to the adopted electrode placement standard; re-referencing is used to use the electrode with a potential close to zero as the reference electrode; signal filtering is used to select the corresponding low-pass threshold and high-pass threshold to filter the EEG data of the target to be diagnosed; data segmentation is used to import different preset events and perform segmented analysis; independent component analysis is used to decompose the EEG data of the target to be diagnosed into different components and remove interfering noise components.

[0020] In the second aspect, an embodiment of the present invention provides a cerebrovascular disease diagnosis device based on machine learning, including: a sample data acquisition module, used to obtain a sample EEG data set containing healthy patients and patients with different degrees of cerebrovascular disease; wherein each sample in the sample EEG data set has a disease classification label, including healthy, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment; a model training module, used to pre-train a preset machine learning classification model according to the sample EEG data set to obtain a cerebrovascular disease diagnosis classification model; a diagnosis classification module, used to obtain the EEG data of the target to be diagnosed, pre-process the EEG data of the target to be diagnosed and input the data into the cerebrovascular disease diagnosis classification model after brain source localization, and use the cerebrovascular disease diagnosis classification model to classify the EEG data of the target to be diagnosed, including healthy, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment, to obtain a diagnosis result of the target to be diagnosed.

[0021] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory for storing executable instructions; and a processor for implementing the method provided in the first aspect of the present invention when executing the executable instructions or computer programs stored in the memory.

[0022] In a fourth aspect, the present invention provides a computer-readable storage medium storing executable instructions for causing a processor to execute the method provided in the first aspect of the present invention.

[0023] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:

[0024] In an embodiment of the present invention, a sample EEG data set including healthy patients and patients with different degrees of cerebrovascular disease is obtained; wherein each sample in the sample EEG data set has a disease classification label, including healthy patients, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment; a preset machine learning classification model is trained according to the sample EEG data set to obtain a cerebrovascular disease diagnosis classification model; the EEG data of the target to be diagnosed is obtained, and the EEG data of the target to be diagnosed is preprocessed and the brain source is localized, and then input into the cerebrovascular disease diagnosis classification model, and the EEG data of the target to be diagnosed is classified into healthy patients, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment by the cerebrovascular disease diagnosis classification model to obtain the diagnosis result of the target to be diagnosed. In this way, the accuracy and efficiency of the diagnosis process of healthy patients, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment are improved by the machine learning model. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present invention, the accompanying drawings required for use in the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0026] Figure 1 A schematic diagram of an embodiment of a method for diagnosing cerebrovascular disease based on machine learning provided for the implementation of the present invention;

[0027] Figure 2a Side view of standard electrode placement;

[0028] Figure 2b A top view of the standard electrode placement;

[0029] Figure 3 Schematic diagram of the structure of 19 component EEG maps in an embodiment of the present invention;

[0030] Figure 4is a schematic diagram of brain area distribution in an embodiment of the present invention;

[0031] Figure 5 Schematic diagram of EEG signal waveforms in different brain regions according to an embodiment of the present invention;

[0032] Figure 6 is a schematic diagram of the relationship between arrows and phase angles in an embodiment of the present invention;

[0033] Figure 7a The cross wavelet spectrum is for healthy people;

[0034] Figure 7b This is the cross wavelet spectrum of cerebrovascular patients;

[0035] Figure 7c Cross-wavelet spectrogram for cerebrovascular cognitive impairment;

[0036] Figure 8 It is a schematic diagram of the structure of cross wavelet transform region division in an embodiment of the present invention;

[0037] Fig. 9 Schematic diagram of the structure of the functional connection based on wavelet cross-spectrum in an embodiment of the present invention;

[0038] Fig.10 is a schematic diagram of a precision variation curve in an embodiment of the present invention;

[0039] Fig.11 Schematic diagram of ROC curves of different classifiers in embodiments of the present invention;

[0040] Fig.12 is a structural schematic diagram of a cerebrovascular disease diagnosis device based on machine learning in an embodiment of the present invention;

[0041] Fig.13 The figure is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] In the relevant description of this embodiment, the terms "including, containing, having" and the like are open terms and are generally understood to include but not be limited to; the term "at least one" is generally understood to mean one or more, where "plurality" refers to two or more; the term "at least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items, for example, "at least one of a, b or c", or "at least one of a, b and c", can all represent: a, b, c, ab (i.e., a and b), ac, bc, or abc, where a, b, c can be single or multiple, respectively; the symbol "A / B" is used to describe the selection relationship of associated objects, generally indicating an "or" relationship before and after.

[0044] In the following description of the present embodiment, the terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0045] Those skilled in the art should understand that in the following description of the embodiments of the present application, the order of serial numbers does not mean the order of execution, some or all of the steps can be executed in parallel or sequentially, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0046] Those skilled in the art will appreciate that the numerical ranges in the embodiments of the present application are to be construed as also specifically disclosing each intermediate value between the upper and lower limits of the scope. Each smaller range between the intermediate value in any stated value or stated range and any other stated value or intermediate value in the range is also included in the present invention. The upper and lower limits of these smaller ranges may be independently included or excluded in the scope.

[0047] Unless otherwise specified, the technical / scientific terms used herein have the same meanings as those generally understood by those skilled in the art to which this application belongs. Although this application only describes preferred methods and materials, any methods and materials similar or equivalent to these may also be used in the implementation or testing of this application. All documents mentioned in this specification are incorporated by reference to disclose and describe methods and / or materials related to the documents. In the event of a conflict with any incorporated document, the content of this specification shall prevail.

[0048] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.

[0049] Figure 1A schematic diagram of an embodiment of a method for diagnosing cerebrovascular disease based on machine learning provided for the implementation of the present invention is shown in FIG. Figure 1 As shown, the above-mentioned cerebrovascular disease diagnosis method based on machine learning may include:

[0050] S101, obtaining a sample EEG data set including healthy patients and patients with different degrees of cerebrovascular disease; wherein each sample in the sample EEG data set has a health status or a disease degree label;

[0051] In some embodiments, the sample electroencephalography (EEG) data set can be derived from a reliable public database or professional medical institution to ensure that it contains sufficient healthy control groups and EEG data samples of patients with different degrees of lesions (such as patients with cerebrovascular disease, patients with cerebrovascular disease and cognitive impairment). Alternatively, it can be obtained by measuring the actual EEG data of the sample patients. Each sample can be marked with a clear health status or degree of lesion, which can be based on the doctor's diagnosis, scale score or other clinical assessment methods. The data set covers different areas of the brain and contains EEG data from multiple electrode channels, which can fully capture brain electrical activity. The data can be stored in formats such as EDF, MNE-EPOCHS or MATLAB's .mat file. Before using the sample EEG data set, data preprocessing steps such as filtering, denoising and data normalization can also be performed to optimize data quality.

[0052] S102, training a preset machine learning classification model according to the sample EEG data set to obtain a cerebrovascular disease diagnosis classification model;

[0053] In some embodiments, the preset machine learning classification model can be any existing classification model, such as K-nearest neighbor, logistic regression, or support vector machine (SVM).

[0054] Specifically, the above step S102 may include:

[0055] S11, Data preprocessing: Preprocess the EEG data set, such as filtering (removing noise and artifacts), downsampling (reducing the amount of calculation), etc. According to the labeling information, the data is divided into a healthy group and groups with different degrees of lesions (including patients with cerebrovascular disease and patients with cerebrovascular disease plus cognitive impairment). Data division: The preprocessed data set is divided into a training set, a validation set, and a test set. The training set is used for model training, the validation set is used to adjust the model hyperparameters and select the best model, and the test set is used to evaluate the generalization performance of the model.

[0056] S12, select or build a classification model:

[0057] Choose a suitable machine learning classification algorithm, such as the above-mentioned K nearest neighbor, logistic regression, or support vector machine (SVM).

[0058] S13, model training:

[0059] The classification model is trained using the training set. This typically involves feeding the data into the model, calculating the difference between the model's predictions and the actual labels (i.e., the loss function), and then updating the model parameters to minimize the loss through an optimization algorithm such as gradient descent. During the training process, a validation set can be used to monitor the performance of the model and make hyperparameter adjustments as needed.

[0060] S14, Model Evaluation:

[0061] Use the test set to evaluate the trained model. Evaluation indicators can include accuracy, precision, recall, etc. If the model performance is poor, you may need to readjust the model structure, hyperparameters, or try other classification algorithms.

[0062] S15, model optimization:

[0063] Based on the results of the model evaluation, the model is optimized. This can include adjusting the model structure, adding or reducing features, using more complex feature extraction methods, etc. If the dataset is small or unbalanced, data augmentation or resampling techniques can be used to improve model performance.

[0064] S103, obtaining EEG data of the target to be diagnosed, pre-processing the EEG data of the target to be diagnosed and inputting the data into a cerebrovascular disease diagnosis classification model, classifying the EEG data of the target to be diagnosed into a health state or a degree of lesions by using the cerebrovascular disease diagnosis classification model, and obtaining a cerebrovascular disease diagnosis result of the target to be diagnosed.

[0065] In some embodiments, the EEG data of the target to be diagnosed includes the EEG data of different preset events of the target to be diagnosed within a preset time; the preset events include at least eyes opening, eyes closing and hyperventilation; the cerebrovascular disease diagnosis classification results include at least: healthy, cerebral hemorrhage patients and vascular cognitive impairment patients.

[0066] For example, the preset time is 15 minutes, and the EEG data of the target to be diagnosed can be obtained by opening the eyes for 2 minutes, closing the eyes for 2 minutes, alternating between opening and closing the eyes for 3 times, and finally hyperventilating for 3 minutes. At the same time, the name, age, gender, age and other data of the target to be diagnosed can also be recorded.

[0067] In some embodiments, preprocessing the EEG data of the target to be diagnosed may include: electrode positioning, re-referencing, signal filtering, data segmentation, independent component analysis and other processing processes.

[0068] Specifically, for data preprocessing, you can first use MATLAB's EEGLAB plug-in to familiarize yourself with various formats of EEG signal conversion, information reading, and processing steps, and then write code based on Python's MNE library to batch process EEG data sets.

[0069] For example, electrode positioning is to match the EEG data of the target to be diagnosed with the corresponding channel according to the adopted electrode placement standard. For example, taking the international 10-20 standard electrode as an example, Figure 2a to Figure 2b Schematic diagram of the structure of the international 10-20 standard electrode placement in an embodiment of the present invention, wherein: Figure 2a This is a side view of a standard electrode placement. Figure 2b Top view of a standard electrode placement. Figure 2a to Figure 2b There are 19 scalp electrodes and 2 ear electrodes. The electrode names can be named Fp1, Fp2, F3, Fz, F4, F7, F8, T3, T4, T5, T6, C3, Cz, C4, P3, Pz, P4, O1, O2 according to the brain location. The two ear electrodes are A1 and A2. The signals collected by the 21 electrodes using this placement standard must correspond to the location.

[0070] The specific electrode placement standards can be shown in Table 1 below:

[0071] Table 1

[0072]

[0073] In some embodiments, re-referencing refers to selecting an electrode with a potential close to 0 as a reference electrode. Currently, common reference methods include bipolar reference and average reference. Average reference is to use the average value of all electrode potentials after collection as a reference signal. Bipolar reference is to select two electrodes with less activity in the left and right brains as reference electrodes to avoid the problem of asymmetric activity of the left and right brains. Here, the two ear poles A1 and A2 are used as reference electrodes, that is, the average value of the two mastoid data (the two mastoid data are the potentials of the A1 and A2 electrodes) is used as the reference data, which is called bilateral mastoid reference. The way to perform re-referencing is to obtain the recording electrode potential minus the reference electrode potential. The potential of the ideal reference electrode should be zero or stable.

[0074] In some embodiments, signal filtering is used to select corresponding low-pass thresholds and high-pass thresholds to filter the EEG data of the target to be diagnosed. Among them, the low pass is to set the cut-off frequency, and signals below this cut-off frequency can come in, and signals exceeding this setting will be blocked or attenuated. The low pass is to prevent interference from high-frequency signals, such as electromyography or other noise signals, to ensure that the fast waves of the EEG signal are not interfered with. The high pass is to set the cut-off frequency, and signals above the cut-off frequency come in, and signals below the setting will be blocked or attenuated. The high pass is to ensure that the slow waves in the EEG signal are not interfered with. Bandpass filtering means that signals within a certain frequency band can be passed, while signals outside this frequency band will be attenuated and filtered out, which is equivalent to completing high-pass filtering and low-pass filtering at the same time. In the embodiment of the present invention, the filtering functions include: denoising and selecting a specific frequency band to observe the signal.

[0075] In some embodiments, data segmentation is used to import different preset events and perform segmented analysis. Exemplarily, the existing targets to be diagnosed from the hospital record a total of 19 normal people, 29 patients with cerebral hemorrhage, and 29 patients with vascular dementia, with eyes open (Eyes Open, EO) for 2 minutes, eyes closed (Eyes Closed, EC) for 2 minutes, eyes open and closed alternately for 3 times, and hyperventilation (Hyperventilation, HV) for 3 minutes. Each target to be diagnosed has a total of 15 minutes of EEG data. At the same time, the name, age and condition of each target to be diagnosed are recorded. Because the recorded EEG data is 3 alternating 2 minutes of eyes closed, 2 minutes of eyes open and 3 minutes of hyperventilation, a total of 3 events, namely eyes closed, eyes open and hyperventilation. Therefore, different events need to be imported and segmented analysis. The main purpose of the experiment is to measure the resting state EEG, and the subject can reduce external interference more in the closed eye state. Hyperventilation can enhance the suspicious waveforms in the conventional EEG and increase the probability of pathological waves. Different EEG signal segments are divided according to the time of eyes opening, eyes closing, and hyperventilation. The segmentation method can be to first import the information of the three events of eyes opening, eyes closing, and hyperventilation, including event type, duration, starting point, etc., and then segment according to the event information, and label each segment with the corresponding event label. In this way, the eyes opening and closing data includes 3 segments, each segment is 2 minutes, and the hyperventilation segment lasts for 3 minutes. Of course, it can also be subdivided into smaller data segments according to needs, such as one minute segment, etc.

[0076] In some embodiments, independent component analysis is used to decompose the EEG data of the target to be diagnosed into different components and remove the interfering noise components that are obviously not brain waves to obtain cleaner EEG data. Through independent component analysis, the EEG topography of 19 components can be obtained. Figure 3 As shown, Figure 3The structure diagram of the 19 component EEG maps in the embodiment of the present invention is shown in FIG. The EEG map can be used to display the spatial distribution of EEG activity. It can distinguish the high and low values ​​by the depth of color. It is calculated by interpolation around the value at the electrode point. The EEG map can be both quantitative and qualitative, and can organically combine the functional changes and morphological positioning of the brain.

[0077] In some embodiments, after preprocessing the EEG data of the target to be diagnosed, the above method may further include: performing brain source localization on the EEG data of the target to be diagnosed, and inverting the source distribution of different brain regions that generate the EEG data of the target to be diagnosed.

[0078] It should be noted that the forward problem of brain source localization is to obtain the observed and recorded EEG from the distribution of EEG activity sources, and the inverse problem is to infer the source distribution of EEG activity from the recorded EEG data, including the location, direction and intensity information of the source. Source localization can reduce the volume conduction effect. Various tissues in the brain have strong or weak electrical conduction characteristics. If the signals between scalp electrodes are analyzed directly, it is very limited to reveal the interaction between sources inside the brain. In order to further analyze the correlation of brain source activity, the embodiment of the present invention can invert the source distribution of EEG signals by performing brain source localization.

[0079] In the embodiment of the present invention, the EEG data is source localized to calculate the EEG waveforms corresponding to different brain regions, so as to subsequently analyze the impact of cognitive impairment on the signal function interaction of different brain regions. Figure 4 As shown, Figure 4 The diagram is a schematic diagram of brain region distribution in an embodiment of the present invention. The cerebral cortex can be divided into the occipital lobe, temporal lobe, parietal lobe, frontal lobe and insular lobe. Different regions control different activities and consciousness of the human body, and different regions cooperate with each other to complete the activities required by the human body.

[0080] In some embodiments, brain source localization can be achieved through EEG source reconstruction methods.

[0081] Specifically, EEG source reconstruction requires EEG signals, three-dimensional coordinates of electrodes on the scalp, head models, and source models. The head model can be calculated by combining the MRI images of the subject with the boundary element method (Boundary Element Method, BEM). Among them, the boundary element method is a numerical technique for calculating the surface potential generated by a current source in a piecewise uniform volume conductor. The boundary element method is a partial differential numerical solution method developed on the basis of the finite element method, which has high calculation accuracy and can handle complex boundaries. The source model is to estimate the number, position and direction of the source to calculate the fitting data. By combining EEG data, MRI templates, and electrode positions to estimate the head model and calculate the source model, the EEG signals recorded by the electrodes can be projected into the source space to obtain the reconstructed source activation, and then the EEG time series signals in each area are calculated according to the regional layout of brain segmentation. In an embodiment of the present invention, by performing brain source localization, the network connection on the scalp surface can be transferred to the network connection in the brain, thereby improving accuracy.

[0082] In some embodiments, brain source localization can also be achieved through minimum norm estimation.

[0083] Specifically, the minimum norm estimation constructs a weighted minimum norm estimation (MNE) source model from the preprocessed EEG data, estimates the current source density and spectral power through the frequency band of each vertex of the grid, and determines the brain current amplitude at each grid position. The beamforming method scans all potential brain locations specified in the head model and estimates the contribution to the sensor data. It has good spatial resolution and is suitable for low-density EEG data source positioning. Here, the minimum norm estimation method can be used for the above Figure 3 The EEG signals of the 19 channels (i.e., Fp1, Fp2, F3, Fz, F4, F7, F8, T3, T4, T5, T6, C3, Cz, C4, P3, Pz, P4, O1, O2) shown in the figure are used for source localization. After obtaining the source distribution of the EEG, the subsequent analysis will be carried out at four different levels: original vertices, nodes based on atlas division, cortical areas or resting state networks, and the scope of each level is gradually expanded. The 19 channels can be converted to 16 areas, see Figure 5 As shown, Figure 5 Schematic diagram of EEG signal waveforms of different brain regions in an embodiment of the present invention. Figure 5 A collection of 16 regions was selected to invert the EEG signals of the corresponding electrodes into signal waveforms in 16 source domains. Subsequently, analysis can be carried out on the source domain waveforms to study the time-frequency correlation of EEG signals in different regions of the source domain.

[0084] It is understandable that EEG data may be interfered by various noises and artifacts during the acquisition process, such as electromyographic interference and electrooculographic interference. Through the above-mentioned prediction and brain source localization, the data quality can be significantly improved, these unnecessary noises can be removed, and the subsequent feature extraction and classification can be more accurate. In addition, in the prior art, the initial research on EEG was mainly carried out from the signal time domain. By analyzing the signal time domain, the shape of the brain wave, the change of the peak value, and the judgment of abnormal brain waves, etc., were observed. As for the application of cerebrovascular disease, the analysis of cerebrovascular diseases such as cognitive disorders of EEG signals in the past was mainly based on time-frequency calculation methods such as mutual information and spectral coherence. The research in the time domain mainly analyzes the law of changes of EEG signals over time and the effective information contained therein, including the frequency, amplitude, wavelength and transient distribution of the signal. The earliest EEG analysis method, the waveform feature description method, is to extract useful signal waveforms from the time domain. However, this simple qualitative analysis based on mutual information, spectral coherence, etc. is difficult to find meaningful information in complex and changeable EEG signals, resulting in general classification effect. Based on this, in some embodiments, before the EEG data of the target to be diagnosed is classified into a health state or a lesion degree using the cerebrovascular disease diagnosis classification model, the method may further include the following steps:

[0085] S21, performing cross wavelet transform calculation on the EEG signals of different brain regions of the target to be diagnosed after preprocessing and source localization, to obtain wavelet cross-spectral features of different brain regions of the target to be diagnosed;

[0086] S22, using the wavelet cross-spectrum feature as an indicator of functional connectivity, obtaining a functional connectivity matrix of the target to be diagnosed based on the wavelet cross-spectrum feature.

[0087] Specifically, we compared the EEG topography, time-frequency diagrams, and functional connectivity diagrams of healthy people, patients with cerebrovascular disease, and patients with cognitive impairment due to cerebrovascular disease. Then, we extracted features that can reflect the differences in EEG signals, compared the differences in brain waves of different patients based on the cross-wavelet transform effect based on the time-frequency diagram, analyzed the impact of cognitive impairment on patients' brain waves, and the manifestation of cognitive degradation in EEG signals.

[0088] In some embodiments, the cross wavelet transform is a tool for analyzing the correlation between two signals in the time-frequency domain. By performing a cross wavelet transform on the EEG signals of different brain regions, wavelet cross-spectral features can be extracted, which reflect the interaction and synchronization between different brain regions. These features are crucial for understanding the functional connectivity and neural activity patterns of the brain. Functional connectivity refers to the correlation or synchronization between neural activities of different brain regions. Using the wavelet cross-spectral features as indicators of functional connectivity, a functional connectivity matrix can be constructed, which can reveal the interaction relationship between different brain regions. This is of great significance for understanding the working mechanism of the brain, diagnosing brain diseases, and assessing the degree of lesions. Through preprocessing and feature extraction, a clearer and more representative feature set can be obtained, which can significantly improve the performance of subsequent classifiers. Using these processed features and the functional connectivity matrix as input, the classification model can more accurately judge the health status or degree of lesions of the target to be diagnosed.

[0089] Specifically, the cross wavelet transform is constructed from the continuous wavelet transform of two time series to reveal the common power and relative phase of the two time series in the time-frequency space. The continuous wavelet transform is a time-frequency transform method suitable for non-stationary signals such as EEG. The continuous wavelet transform uses a logarithmic frequency axis, which can better locate the frequency at low frequencies and the time at high frequencies.

[0090] In some embodiments, the cross wavelet transform calculation can be expressed by the following formula (1):

[0091] (1)

[0092] in, Indicates scale and position, is a time series, represents a smoothing operator in time and scale, Indicates plural, Indicated in scale and location The continuous wavelet transform on represents the desired cross wavelet transform.

[0093] In some embodiments, the output of the cross wavelet transform includes a real matrix of wavelet coherence, a complex matrix of wavelet cross-spectrum, a conversion from scale to period, a conversion from scale to frequency, an influence cone of wavelet coherence, and a matrix of continuous wavelet transform. Wavelet coherence can represent the degree of consistency of changes between two sequences, and the wavelet cross-spectrum is a measure of the power distribution of two signals. The influence cone indicates the location of edge effects in the coherent data through a 95% confidence level test, and the area outside the influence cone usually lacks credibility.

[0094] Exemplarily, the wavelet coherence matrix is ​​calculated This can be achieved by the following formula (2):

[0095] (2)

[0096] In the wavelet spectrum, arrows can be used to represent phase relationships, and specific directions can be used to represent the phase lag relationship between two signals. Figure 6 As shown, Figure 6 Schematic diagram of the relationship between arrows and phase angles in an embodiment of the present invention. Figure 6 The right arrow indicates a positive phase correlation, the left arrow indicates an opposite phase correlation, and the downward arrow indicates a positive phase correlation. x The phase is ahead of y , the upward arrow represents x The phase lags behind y , 45 degrees indicates x Lagging behind y , 135 degrees represents x Ahead of y The signal timing is shown by changing arrows. x and y The phase difference between the two time series signals can be reflected by the change of arrows in the cross wavelet spectrum.

[0097] In some embodiments, for different patients' EEG waveforms, such as the above Figure 4 As shown, by selecting the signal time series of two different areas (any two different areas among the 16 areas) and calculating the cross wavelet transform, we can get the cross wavelet spectra between the 16 areas (i.e., FG1 L, FG1 R, FG2 L, FG2 R, FG3 L, FG3 R, FG4 L, FG4 R, hOc1 L, hOc1 R, hOc2 L, hOc2R, hOc3 L, hOc3 R, hOc4 L, hOc4 R). The cross wavelet spectra of healthy people, patients with cerebrovascular disease, and patients with cerebrovascular disease and cognitive impairment are compared. Specifically, Figures 7a to 7c As shown, Figures 7a to 7c Schematic diagram of cross-wavelet transform comparison of different patients in an embodiment of the present invention. Figure 7a is the cross wavelet spectrum of healthy people, Figure 7b is the cross wavelet spectrum of cerebrovascular patients. Figure 7c This is the cross wavelet spectrum of cerebrovascular cognitive impairment. Figure 6As shown in the figure, as cognitive impairment worsens, the time-frequency correlation of EEG waves between the above-mentioned different regions gradually weakens, and the color of the spectrum gradually changes from yellow to blue, indicating that cognitive impairment affects the consistency of EEG signals between different brain regions and affects the interaction of EEG activities between different brain regions. The correlation of signal activities between brain regions will weaken with the development of cerebrovascular disease, thereby affecting the patient's brain cognitive activities and causing various cognitive impairments in patients.

[0098] In some embodiments, after obtaining the wavelet cross-spectrum characteristics of different brain regions of the target to be diagnosed, the functional connection can be calculated on the source domain, and the measurement index can be selected according to different functional connection methods. In the complex matrix of the wavelet cross-spectrum obtained by the cross wavelet transform, the values ​​include the real part and the imaginary part. This matrix is ​​divided, such as Figure 8 As shown, Figure 8 FIG. 1 is a schematic diagram of the structure of cross wavelet transform region division in an embodiment of the present invention. Figure 8 In the , the imaginary part of the wavelet cross-spectrum value in each square is averaged, and the mean of the fifth row of squares where the influence cone (the influence cone indicates the location where the edge effect appears in the coherent data) is removed, and a 4 times 5 wavelet cross-spectrum matrix can be obtained as the wavelet cross-spectrum numerical matrix between the two brain regions, and this can be used to establish functional connections between different brain regions.

[0099] Cross-wavelet transform is used to measure the correlation of EEG signals in various brain regions of a patient. The time-frequency correlation graphs of the two signals obtained by wavelet transform can be averaged and combined to form a functional connection matrix. Fig. 9 As shown, Fig. 9 The functional connection matrix composed of different brain regions can reflect the signal interaction activities of all brain regions of the patient, and can be used as the EEG characteristics of the patient for further classification.

[0100] After the EEG data of the target to be diagnosed is preprocessed, the brain source is localized, and the features are classified, the processed EEG data can be input into the above-constructed cerebrovascular disease diagnosis and classification model to classify the health status or the degree of the lesion. Specifically, it includes:

[0101] The functional connection matrix is ​​input as a classification feature into the cerebrovascular disease diagnosis classification model, and the diagnosis result of the target to be diagnosed is output through the cerebrovascular disease diagnosis classification model.

[0102] In the embodiment of the present invention, different signal correlation analysis methods are used to find the functional connection differences of the time-frequency characteristics of signals in different brain regions, so as to distinguish cerebrovascular disease patients with or without cognitive impairment and healthy people. The wavelet cross-spectral value calculated by cross-wavelet transform replaces the previous signal correlation measurement methods such as mutual information and spectral coherence to establish a more detailed functional connection matrix, and achieves better classification effect. Therefore, when using the cerebrovascular disease diagnosis classification model for diagnosis and classification, more accurate diagnosis and classification results can be obtained.

[0103] It is understandable that the existing EEG signal cognitive disorder analysis is mainly based on mutual information, spectral coherence, a time-frequency calculation method. The application of mutual information in EEG signal processing may be more focused on correlation analysis and information transmission analysis between signals, but may not be able to process EEG signals well in terms of time-frequency resolution, local feature extraction, multi-scale analysis, and real-time processing. To solve the above problems, the present application proposes to use cross-wavelet transform to calculate the time-frequency correlation of different brain regions, because cross-wavelet transform may be more suitable for processing EEG signals in terms of time-frequency resolution, local feature extraction, multi-scale analysis, and real-time processing. The present application uses the wavelet mutual spectrum value calculated by the cross-wavelet transform to replace the previous signal correlation measurement method such as mutual information and spectral coherence, thereby establishing a more detailed functional connection matrix and achieving better classification results.

[0104] In some embodiments, after obtaining the above diagnosis results, the above method can also evaluate the performance of the above cerebrovascular disease diagnosis classification model.

[0105] Taking the support vector machine model as an example, the support vector machine uses a grid search algorithm to obtain the optimal regularization constant (C) and kernel variance parameter (gamma). Each sample is calculated based on the patient's one-minute brain wave. Taking the above sample EEG data set as an example, the number of samples is 78, and each person takes 15 minutes, so 1170 samples can be obtained. Grid search is used, and its parameter settings are: the classifier estimator is a support vector machine; the setting of param_grid (that is, the value of the parameter to be optimized) includes: the kernel function is a radial basis function kernel, the regularization parameter is [1, 10, 100], and the kernel coefficient is [0.1, 0.01, 0.001, 0.0001, 0.00001]; in the embodiment of the present invention, 10-fold cross validation is performed. The test set accounts for 20%, and there are 234 test samples.

[0106] In some embodiments, for classification problems, classification accuracy, precision (macro), recall rate, F1 score, receiver operating characteristic (ROC) curve, precision recall rate (PR) curve can be used as evaluation criteria. The accuracy, precision (macro), recall rate (macro) and F1 score results obtained by the embodiment of the present invention can be shown in Table 2 below.

[0107] Table 2:

[0108]

[0109] It can be seen from Table 2 that, compared with the prior art, the method provided by the present invention has improved effects on various indicators.

[0110] In some embodiments, the three-classification problem can be viewed as three two-classification problems. Healthy people, patients with cerebrovascular disease, and patients with cognitive impairment due to cerebrovascular disease take turns to serve as positive examples, and the rest serve as negative examples. The precision and recall rates are calculated respectively, and then the macro average is calculated. The results are shown in Table 3.

[0111] Table 3:

[0112]

[0113] In some embodiments, the following Table 4 compares the classification performance using different machine learning models, including support vector, logistic regression and K nearest neighbor. After using the grid search algorithm to find the optimal parameters, the classification performance of the support vector machine is the best, and the classification accuracy of K nearest neighbor and logistic regression is only 75.2% and 73.9%.

[0114] Table 4

[0115]

[0116] In the embodiment of the present invention, as the number of training samples increases, the accuracy also increases. Fig.10 As shown, Fig.10 The following is a schematic diagram of the accuracy change curve in the embodiment of the present invention. When the number of training samples reaches 200, the accuracy reaches 70%, and then gradually increases with the increase in the number, slowly tends to be stable, and finally the classification accuracy of the support vector machine reaches 84.6%, and the logistic regression and K nearest neighbor also reach an accuracy of more than 70%. Fig.11 Schematic diagram of ROC curves of different classifiers in the embodiment of the present invention. Fig.11As shown in Figure 2, the area under the curve (AUC) of SVM is 0.8794, while the area under the curve (AUC) of logistic regression and K nearest neighbor is 0.7998 and 0.8399 respectively. Fig.11 It can be seen from the content shown that the classification performance of the support vector machine is better than that of other classification models. Therefore, the above-mentioned preset machine learning classification model in the embodiment of the present invention can select the support vector machine model.

[0117] In an embodiment of the present invention, a sample EEG data set containing healthy patients and patients with different degrees of cerebrovascular disease is obtained; wherein each sample in the sample EEG data set has a health status or a lesion degree mark; a preset machine learning classification model is trained according to the sample EEG data set to obtain a cerebrovascular disease diagnosis classification model; the EEG data of the target to be diagnosed is obtained, the EEG data of the target to be diagnosed is pre-processed and then input into the cerebrovascular disease diagnosis classification model, and the EEG data of the target to be diagnosed is classified into a health status or a lesion degree by the cerebrovascular disease diagnosis classification model to obtain a cerebrovascular disease diagnosis result of the target to be diagnosed. In this way, the accuracy and efficiency of the cerebrovascular disease diagnosis process are improved through the machine learning model.

[0118] Based on the same inventive concept, an embodiment of the present invention also provides a cerebrovascular disease diagnosis device based on machine learning. Fig.12 FIG. 1 is a schematic diagram of a cerebrovascular disease diagnosis device based on machine learning in an embodiment of the present invention. Fig.12 As shown, the machine learning-based cerebrovascular disease diagnostic device 1200 may include: a sample data acquisition module 1201, used to acquire a sample EEG data set containing healthy patients and patients with different degrees of cerebrovascular disease; wherein each sample in the sample EEG data set has a health status or a lesion degree label; a model training module 1202, used to train a preset machine learning classification model according to the sample EEG data set to obtain a cerebrovascular disease diagnosis classification model; a diagnosis classification module 1203, which acquires the EEG data of the target to be diagnosed, pre-processes the EEG data of the target to be diagnosed and inputs them into the cerebrovascular disease diagnosis classification model, and classifies the EEG data of the target to be diagnosed into a health status or a lesion degree through the cerebrovascular disease diagnosis classification model to obtain a cerebrovascular disease diagnosis result of the target to be diagnosed.

[0119] In some possible implementations, the EEG data of the target to be diagnosed includes the EEG data of different preset events of the target to be diagnosed within a preset time; the preset events include at least eyes opening, eyes closing and hyperventilation; the cerebrovascular disease diagnosis classification results include at least: healthy, cerebral hemorrhage patients and vascular cognitive impairment patients.

[0120] In some possible implementations, the EEG data of the target to be diagnosed is preprocessed, including: electrode positioning, re-referencing, signal filtering, data segmentation, and independent component analysis; wherein:

[0121] Electrode positioning is used to correspond the EEG data of the target to be diagnosed to the corresponding channel according to the adopted electrode placement standard;

[0122] Rereferencing is used to use an electrode with a potential close to zero as a reference electrode;

[0123] Signal filtering is used to select corresponding low-pass thresholds and high-pass thresholds to filter the EEG data of the target to be diagnosed;

[0124] Data segmentation is used to import different preset events and perform segmented analysis;

[0125] Independent component analysis is used to decompose the EEG data of the target to be diagnosed into different components and remove interfering noise components.

[0126] In some possible implementations, after preprocessing the EEG data of the target to be diagnosed, the method further includes: performing brain source localization on the EEG data of the target to be diagnosed, and inverting the source distribution of different brain regions that generate the EEG data of the target to be diagnosed.

[0127] In some possible implementations, the device also includes: a feature classification module, which is used to perform cross-wavelet transform calculations on the EEG signals of different brain regions of the EEG data of the target to be diagnosed after preprocessing and source localization, and obtain the wavelet cross-spectral features of different brain regions of the target to be diagnosed; using the wavelet cross-spectral features as indicators of functional connectivity, and obtaining the functional connectivity matrix of the target to be diagnosed based on the wavelet cross-spectral features.

[0128] In some possible implementations, the cross wavelet transform calculation is expressed as:

[0129]

[0130] in, Indicates scale and position, is a time series, represents a smoothing operator in time and scale, Indicates plural, Indicated in scale and location The continuous wavelet transform on represents the desired cross wavelet transform.

[0131] In some possible implementations, the diagnosis classification module 1203 is further used to input the functional connection matrix as a classification feature into a cerebrovascular disease diagnosis classification model, and output a diagnosis result of the target to be diagnosed through the cerebrovascular disease diagnosis classification model.

[0132] Based on the same inventive concept, an embodiment of the present application provides an electronic device, which may be consistent with the cerebrovascular disease diagnosis method based on machine learning in one or more of the above embodiments. Fig.13 FIG. 1 is a schematic diagram of the structure of an electronic device in an embodiment of the present invention, see Fig.13 As shown, the electronic device 1300 may adopt general computer hardware, including a processor 1301 and a memory 1302 .

[0133] In some possible implementations, at least one processor may constitute any physical device having a circuit that performs a logical operation on one or more inputs. For example, at least one processor may include one or more integrated circuits, including application specific integrated circuits, microchips, microcontrollers, microprocessors, all or part of a central processing unit, a graphics processing unit, a digital signal processor, a field programmable gate array, or other circuits suitable for executing instructions or performing logical operations. The instructions executed by at least one processor may be preloaded, for example, into a memory integrated with or embedded in a controller, or may be stored in a separate memory. The memory may include a random access memory, a read-only memory, a hard disk, an optical disk, a magnetic medium, a flash memory, other permanent, fixed or volatile memory, or any other mechanism capable of storing instructions. In some embodiments, at least one processor may include more than one processor. Each processor may have a similar structure, or the processors may have different configurations that are electrically connected or disconnected from each other. For example, the processor may be a separate circuit or integrated in a single circuit. When more than one processor is used, the processor may be configured to operate independently or collaboratively. The processors may be coupled electrically, magnetically, optically, acoustically, mechanically, or by other means that allow them to interact.

[0134] Based on the same inventive concept, the present application provides a computer storage medium, which stores computer executable instructions. After the computer executable instructions are executed by a processor, a cerebrovascular disease diagnosis method based on machine learning as described in one or more of the above embodiments can be implemented.

[0135] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other. Each embodiment focuses on the differences from other embodiments.

[0136] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the present application.

Claims

1. A method for diagnosing cerebrovascular disease based on machine learning, characterized in that: include: Obtaining an EEG data set containing samples of healthy patients and patients with different degrees of cerebrovascular disease; wherein each sample in the sample EEG data set has a disease classification label, including healthy, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment; Pre-training a preset machine learning classification model based on the sample EEG data set to obtain a cerebrovascular disease diagnosis classification model; Acquiring EEG data of a target to be diagnosed, performing preprocessing on the EEG data of the target to be diagnosed, including electrode positioning, re-referencing, signal filtering, data segmentation, and independent component analysis, to obtain a preprocessed EEG signal of the target to be diagnosed; The preprocessed EEG signal of the target to be diagnosed is used to estimate the source signal of each brain region by the minimum norm estimation method, and the EEG signal generated by different brain regions of the target to be diagnosed is inversely generated; Among the EEG signals generated by different brain regions of the target to be diagnosed after brain source localization, the EEG signals of any two brain regions are subjected to cross wavelet transform to obtain the wavelet cross-spectral characteristics between the different brain regions of the target to be diagnosed; the cross wavelet transform is expressed as: in, Indicates scale and position, is a time series, represents a smoothing operator in time and scale, Indicates plural, , Indicated in scale and location The continuous wavelet transform on represents the desired cross wavelet transform; Wherein, the wavelet cross-spectrum feature is a complex matrix; the value of the wavelet cross-spectrum feature matrix includes a real part and an imaginary part; The wavelet cross-spectrum feature matrix is ​​divided into: Grids; calculate the average value of the imaginary part of the wavelet cross-spectrum value in each grid, remove the mean value of the grid where the influence cone is located, and obtain a 5 times 5 wavelet cross-spectrum matrix as the wavelet cross-spectrum numerical matrix between the two brain regions; The wavelet cross-spectrum numerical matrices of the two brain regions are averaged and combined to be converted into a brain region functional connection matrix; wherein the brain region functional connection matrix is ​​used to reflect the signal interaction activities of all brain regions of the target to be diagnosed, and is used as the EEG feature of the target to be diagnosed for further classification; The brain region functional connection matrix is ​​input as a feature into the cerebrovascular disease diagnosis classification model, and the cerebrovascular disease diagnosis classification model is used to classify the target to be diagnosed into healthy, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment, so as to obtain a diagnosis result of the target to be diagnosed.

2. The method according to claim 1, characterized in that: The EEG data of the target to be diagnosed includes EEG data of different preset events of the target to be diagnosed within a preset time; The preset events at least include eyes opening, eyes closing and hyperventilation; The cerebrovascular disease diagnosis classification results at least include: healthy, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment.

3. The method according to claim 2, characterized in that The electrode positioning is used to correspond the EEG data of the target to be diagnosed to the corresponding channel according to the adopted electrode placement standard; The re-reference is used to use an electrode with a potential close to zero as a reference electrode; The signal filtering is used to select a corresponding low-pass threshold and a high-pass threshold to filter the EEG data of the target to be diagnosed; The data segmentation is used to import different preset events and perform segmented analysis; The independent component analysis is used to decompose the EEG data of the target to be diagnosed into different components and remove interfering noise components.

4. A cerebrovascular disease diagnostic device based on machine learning, the diagnostic device is used to execute the method according to any one of claims 1 to 3, characterized in that: include: A sample data acquisition module is used to acquire a sample EEG data set containing healthy patients and patients with different degrees of cerebrovascular disease; wherein each sample in the sample EEG data set has a disease classification label, including healthy, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment; A model training module, used to pre-train a preset machine learning classification model according to the sample EEG data set to obtain a cerebrovascular disease diagnosis classification model; The diagnostic classification module is used to obtain the EEG data of the target to be diagnosed, pre-process the EEG data of the target to be diagnosed and locate the brain source before inputting the data into the cerebrovascular disease diagnostic classification model, and classify the condition of the target to be diagnosed by the cerebrovascular disease diagnostic classification model, including classifications of healthy, cerebrovascular disease without cognitive impairment, and cerebrovascular disease with cognitive impairment, to obtain the diagnostic result of the target to be diagnosed.

5. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable instructions; A processor, configured to implement the method according to any one of claims 1 to 3 when executing the executable instructions or computer programs stored in the memory.

6. A computer-readable storage medium storing executable instructions or a computer program, characterized in that: When the executable instructions are executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Stroke electroencephalogram signal classification method and system

    CN109805928A

  • Automatic analysis method and system based on resting-state EEG frequency domain characteristics and brain network

    CN113576491A