Auxiliary epileptic focus position verification method based on epilepsy intracranial electroencephalogram
Quantifying causal relationships and causal brain networks through phase transfer entropy, combined with machine learning models, solves the problem of insufficient accuracy of epileptogenic focus location, achieves higher epileptogenic focus location accuracy and surgical outcome prediction, and provides clinical decision support , improving the success rate of surgery.
Patent Information
- Application Number
- CN202410545823.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-06
- Publication Date
- 2024-10-22
AI Technical Summary
The existing technology has low accuracy in locating the epileptogenic zone, and it is difficult to effectively determine the interactive information in the brain network, making pre-surgery evaluation complicated and subject to great subjective influence. Inaccurate positioning of the epileptogenic zone may lead to surgical failure.
Phase transfer entropy is used to quantify the causal relationship between intracranial EEG signals, construct a causal brain network, calculate the causal influence index characteristics of nodes, and combine it with a machine learning model to build an epileptogenic zone positioning model to provide auxiliary verification and prediction of surgical results.
It improves the accuracy of epileptogenic focus location, provides clinical decision support for doctors, shortens the preoperative evaluation cycle, reduces patient pain, and improves the success rate of surgery.
Smart Images

Figure CN118806296A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical electrophysiological auxiliary examination and evaluation, and in particular to an auxiliary verification method for the location of an epileptic focus based on an intracranial electroencephalogram (EEG). Background Art
[0002] Epilepsy is a chronic brain disease characterized by sudden abnormal discharges of brain neurons leading to transient brain dysfunction. According to statistics, about 1% of the world's population suffers from epilepsy. In China, epilepsy has become the second most common disease in neurology, second only to headache. At present, epilepsy has evolved into a major public health problem, which has imposed a significant burden on society, including epilepsy-related disability, mortality, comorbidities, psychology and costs. About 70%-80% of epilepsy patients can be effectively relieved by taking anti-epileptic drugs, but 20%-30% of patients still suffer from drug-resistant epilepsy.
[0003] Surgical resection of the epileptogenic zone and neuromodulation are the most effective treatment options for patients with drug-resistant epilepsy. The epileptogenic zone is defined as the smallest area of brain tissue that triggers epileptic activity. Successful surgery and neuromodulation can effectively control epileptic seizures or control epileptic seizures through medication, but the outcome of seizure freedom depends largely on the type of epilepsy and the accurate location of the epileptogenic zone. Therefore, before surgery, clinicians will conduct a comprehensive assessment of the patient to determine the location and extent of the epileptogenic zone. When the epileptogenic zone is inconsistent or uncertain in non-invasive methods such as scalp EEG, MRI, PET, and SPECT, invasive intracranial electroencephalogram (iEEG) monitoring is required, including cortical electroencephalogram (ECOG) and stereotactic electroencephalogram (SEEG). Subsequently, clinicians visually inspect the intracranial EEG to identify potential epileptic waveform features during the monitoring of multiple seizures over several days, and combine imaging observations to determine the starting area that causes epileptic seizures. This process is both complex and inevitably subject to subjectivity. Even if the clinical diagnosis believes that the epileptogenic zone has been fully identified, some patients may still relapse after surgery. Therefore, there is an urgent need to develop quantitative computational tools to assist clinicians in determining the epileptogenic zone. At the same time, the prediction of surgical outcomes for patients based on the treatment area is also crucial.
[0004] The invention patent No. 202310983285.4, "A modeling method and system for locating epileptogenic foci based on intracranial electrical stimulation", discloses the following technical solutions: obtaining CCEP data of the patient's stereotactic electroencephalogram during the interictal period, CCEP data is cortical-cortical evoked potential data; preprocessing the CCEP data to obtain processed data; extracting brain network features based on the processed data; performing statistical difference analysis on the brain network features to obtain difference features; using a machine learning model to train the difference features and construct a prediction model; using the prediction model to visualize the patient's epileptogenic area. The above scheme reduces the incidence and risk of patients in preoperative evaluation by reducing the diagnostic dependence on the ictal period records, shortening the invasive preoperative evaluation cycle, and alleviating the pain of long-term intracranial electroencephalogram placement for patients.
[0005] Consistent with the above technical solutions, most current studies are based on single-channel EEG signal analysis and feature extraction for epileptogenic focus localization, and the localization accuracy is not high. Since epilepsy is considered a brain network disease, the occurrence of epileptic seizures involves interactions between different brain regions, so the spatial brain network interconnected between brain channel signals contains important information. How to determine appropriate indicators to establish the patient's brain network to extract relevant features through analysis, thereby improving the accuracy of epileptogenic focus localization and achieving the purpose of providing doctors with clinical decision-making assistance has become a technical problem that needs to be solved urgently. Summary of the invention
[0006] The purpose of the present invention is to provide a consistent method for auxiliary verification of the location of the epileptic focus based on the intracranial electroencephalogram of epilepsy, which can effectively improve the accuracy of epileptic focus positioning, provide doctors with clinical auxiliary decision-making, and assist in verifying the results of epileptic focus positioning.
[0007] The present invention adopts the following technical solutions:
[0008] An auxiliary verification method for the location of an epileptic focus based on an intracranial electroencephalogram (EEG) comprises the following steps in sequence:
[0009] A: Construct intracranial EEG dataset;
[0010] B: Preprocess the data in the intracranial EEG dataset;
[0011] C: Using the preprocessed intracranial EEG data, based on phase shift entropy, the causal relationship between intracranial EEG signals in each time window is calculated through the sliding window method to construct a causal brain network;
[0012] D: Calculate the causal influence index characteristics of nodes in the causal brain network in each time window;
[0013] E: Construct an epileptogenic zone localization model and train it based on the causal influence index characteristics; based on the trained epileptogenic zone localization model, use the intracranial EEG data of the patient to be tested to locate the epileptogenic zone of the patient to be tested, and use the localization results to assist in verifying the doctor's judgment results.
[0014] In step B, phase transfer entropy is used as an indicator to quantify the causal relationship between intracranial EEG signals. The calculation formula for the phase transfer entropy between a given source signal x(t) and a target signal y(t) is:
[0015]
[0016] Among them, PTE X→Y represents the phase transfer entropy from the source signal x(t) to the target signal y(t), θ(t) is the phase time series obtained by the Hilbert transform, and δ is the delay time; H(X,Y) represents the joint entropy, H(X,Y) = -∑P(X,Y)logP(X,Y, P(X,Y) represents the probability.
[0017] The causal brain network is a matrix A composed of the causal relationships between different signals, that is, the phase transfer entropy values between intracranial EEG signals collected in different brain regions; each node in the causal brain network corresponds to a brain region, the i-th row of the matrix A represents the causal influence of node i on other nodes, and the i-th column of the matrix A represents the causal influence of other nodes on node i.
[0018] The step D comprises the following specific steps:
[0019] D1: Calculate the causal influence of nodes on the causal brain network and the causal influence of the causal brain network on nodes;
[0020] D2: Use the non-integer rank sum ratio method to sort the causal influence value of each node on the network and the causal influence value of the network on the node from small to large;
[0021] D3: Project each node into a two-dimensional rank space. The horizontal axis of each projection is the rank of the node's causal influence on all other nodes in the network, and the vertical axis is the rank of the node's causal influence on all other nodes in the network.
[0022] D4: Calculate the causal influence index feature of each node in the two-dimensional rank space;
[0023] D5: Sort the node causal impact index features under all time windows in chronological order to obtain the two-dimensional features of the node causal impact index changing with time, and then normalize the two-dimensional features to the global maximum and minimum values to finally obtain the causal impact index features of each patient.
[0024] In step D1, the causal influence of node i on the causal brain network is defined as the bi-norm of the phase transfer entropy vector between node i and all other nodes, that is, the bi-norm of the i-th row vector in the causal brain network matrix A||A i,: ||2; define the causal influence of the causal brain network on node i as the two-norm of the phase transfer entropy vector between all other nodes and node i, that is, the two-norm of the i-th column vector in the causal brain network matrix A||A :,i| |2.
[0025] In the step D2, the specific calculation formula of the rank value is as follows:
[0026]
[0027] Among them, R represents the value of rank, n is the number of network nodes, x∈(x1,x2,...x n ) is the causal influence value of the node,
[0028] In step D4, the calculation formula of the causal influence index of node i is as follows:
[0029]
[0030] Among them, rr i represents the rank of the causal influence of node i on all other nodes, cr i It represents the rank of the causal influence of node i on all other nodes. Represents the node i and the ideal SOZ node in the two-dimensional rank space The degree of proximity between Represents the relationship between node i and the ideal non-SOZ node in the two-dimensional rank space The degree of closeness between them, CII∈[0,+∞).
[0031] In step B, the preprocessing includes removing impurities, filtering and denoising.
[0032] The step E comprises the following specific steps:
[0033] E1: Construct an epileptogenic zone localization model. According to the causal influence index characteristics of all patients, extract the characteristics of SOZ nodes and non-SOZ nodes respectively and form an epileptogenic focus classification feature dataset;
[0034] E2: Based on the data in the epileptogenic focus classification feature dataset, a machine learning classification model was constructed and the classification model was trained and validated using the ten-fold cross-validation method. The model parameters were tuned using the grid search method. Finally, the accuracy, sensitivity, specificity, and area under the receiver operating characteristic curve (AUC) were used to evaluate the performance of the model in distinguishing SOZs. The calculation formula is as follows:
[0035]
[0036]
[0037]
[0038] Among them, Accuracy represents accuracy, TP represents the number of correctly classified samples that are predicted as positive, TN represents the number of correctly classified samples that are predicted as negative, FP represents the number of false positives that are predicted as positive, FN represents the number of false positives that are predicted as negative, Sensitivity represents sensitivity, and Specificity represents specificity.
[0039] E3: Based on the trained classification model, the node causal influence index characteristics of the patient to be tested are used to classify the nodes to locate the epileptogenic focus, and the positioning results are used to assist in verifying the doctor's judgment results.
[0040] It also includes step F: F: Based on a surgical outcome prediction feature data set consisting of the sum of the mean and standard deviation of the causal influence index characteristics of the SOZ nodes of all patients, the patient's surgical outcome and the probability of surgical success are predicted in combination with a logistic regression prediction model; the logistic regression model is trained and tested using a five-fold cross-validation method, and the accuracy, sensitivity, specificity and area under the receiver operating characteristic curve (AUC) are used to evaluate the performance of the model in predicting the patient's surgical outcome.
[0041] The present invention specifically uses phase transfer entropy to quantify the causal relationship between brain regions. Phase transfer entropy, as a model-free effective connectivity measure based on information theory, shows greater robustness to noise and linear mixing, and can calculate nonlinear interactions, which is very suitable for the analysis of EEG data. In addition, the present invention takes into account that the brain is a complex network. What we consider in feature extraction is the characteristics of the nodes in the network, rather than the characteristics of a single channel; the causal influence index proposed in the present invention can measure the degree of influence of the node on the network. Based on this feature and combined with the machine learning model, the location of the epileptic focus and the prediction of the surgical results can be achieved, which can effectively improve the accuracy of the location of the epileptic focus, provide clinical auxiliary decision-making for doctors, and assist in the verification of the results of the location of the epileptic focus. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1It is a schematic diagram of the process of the present invention;
[0043] Figure 2 This is a comparison chart before and after data preprocessing;
[0044] Figure 3 This is a flow chart of the calculation of the causal impact index feature in the present invention;
[0045] Figure 4 Schematic diagram of the epileptogenic zone determined based on the characteristics of the causal impact index;
[0046] Figure 5 Schematic diagram of the probability distribution of surgical success for predicting patients with successful and failed operations. DETAILED DESCRIPTION
[0047] The present invention is described in detail below with reference to the accompanying drawings and embodiments:
[0048] like Figures 1 to 5 As shown, the method for auxiliary verification of the location of the epileptic focus based on the intracranial electroencephalogram of epilepsy according to the present invention comprises the following steps in sequence:
[0049] A: Construct intracranial EEG dataset;
[0050] In the present invention, the data in the intracranial EEG data set are all data of the first 20 seconds and the last 20 seconds of the clinically marked epileptic seizure onset time.
[0051] In this embodiment, the intracranial EEG data set in the public database Hospital of the University of Pennsylvania (HUP) can be used. The above data set contains 57 patients with drug-resistant epilepsy, each of whom underwent intracranial EEG before surgery, using subdural grids, strips and depth electrodes (ECoG), or only stereotactically placed depth electrodes (SEEG). The signal is recorded by means of a reference electrode, which is selected by the clinical team, away from the onset of the epileptic seizure, and recorded and digitized at 256, 500, 512 and 1024 Hz sampling rates and across the entire epilepsy monitoring unit.
[0052] B: Preprocess the data in the intracranial EEG data set, including removing impurities, filtering and denoising;
[0053] Since data acquisition is affected by external and power frequency interference, the original intracranial EEG signals need to be preprocessed. First, bad conductors, myoelectric and electrocardiographic signals are removed by visual inspection; then, the data is filtered using the eegfiltfft function in the EEGLAB toolkit, including 30Hz-100Hz bandpass filtering and notch filtering at 60Hz and its harmonics through a 2Hz stopband; finally, the average reference is used to further remove noise.
[0054] C: Calculate the causal relationship between intracranial EEG signals and construct a causal brain network.
[0055] For the preprocessed intracranial EEG data, the sliding window method (window size 2s, step size 1s) is used to calculate the causal relationship between intracranial EEG signals in each time window. The present invention uses phase transfer entropy as an indicator to quantify the causal relationship between intracranial EEG signals. Phase transfer entropy is a model-free causal connectivity measure based on information theory. It not only retains the advantages of transfer entropy, but also shows greater robustness to noise and linear mixing, which is very suitable for the analysis of EEG data.
[0056] The phase transfer entropy calculation formula for a given source signal x(t) and target signal y(t) is:
[0057] PTE X→Y ;
[0058] =H(θ y (t),θ y (t-δ))+H(θ y (t-δ),θ x (t-δ))-H(θ y (t-δ))-H(θ y (t),θ y (t-δ),θ x (t-δ)
[0059] Among them, PTE X→Y represents the phase transfer entropy from the source signal x(t) to the target signal y(t), θ(t) is the phase time series obtained by Hilbert transform, and the delay time δ is given by (N s *N ch ) / N ± Calculate and determine, N s and N ch are the number of samples and channels respectively, N ±represents the number of phase flips in time and electrode. H(X,Y) represents the joint entropy, H(X,Y) = -∑P(X,Y)logP(X,Y), where the probability P(X,Y) is calculated by binning the occurrence of single phase data points, pairs of phase data points, or three sets of phase data points in all trials and constructing a single histogram-based probability function. The width of the box is defined according to Scott's choice;
[0060] The causal brain network is a matrix A composed of the causal relationships between different signals, that is, the phase transfer entropy values between intracranial EEG signals collected in different brain regions. Each node in the causal brain network corresponds to a brain region. The i-th row of the matrix A represents the causal influence of node i on other nodes, and the i-th column of the matrix A represents the causal influence of other nodes on node i. The size of the causal brain network depends on the number of EEG signals collected. Since the patient's intracranial EEG data is collected by multiple electrodes and the number of intracranial electrodes implanted in different patients is different, the size of the causal brain network calculated for each patient is also different.
[0061] In the present invention, since the sampling rates of intracranial EEG data of different patients are inconsistent, in order to ensure the consistency of feature dimensions, the data are uniformly downsampled to 500 Hz in the present invention.
[0062] D: Calculate the causal influence index characteristics of nodes in the causal brain network in each time window.
[0063] Based on the phase transfer entropy method, the present invention proposes a new feature, namely the causal influence index, which is used to quantify the degree of influence of each node on the causal brain network. Figure 3 The calculation process of the causal influence index under a single time window is shown in Figure 2. Since the intracranial EEG data of each patient is continuous, 39 causal brain networks that change over time will be obtained in 40s of continuous data using the sliding window method. Therefore, for each patient, a two-dimensional feature of the node causal influence index that changes over time will eventually be obtained. Finally, the maximum and minimum values of this two-dimensional feature are normalized to obtain the causal influence index feature of each node of the patient.
[0064] In the present invention, the step D comprises the following specific steps:
[0065] D1: Compute the causal influence of nodes on the causal brain network and the causal influence of the causal brain network on nodes.
[0066] In the present invention, the causal influence of node i on the causal brain network is defined as the bi-norm of the phase transfer entropy vector between node i and all other nodes, that is, the bi-norm of the i-th row vector in the causal brain network matrix A||A i,:||2; define the causal influence of the causal brain network on node i as the two-norm of the phase transfer entropy vector between all other nodes and node i, that is, the two-norm of the i-th column vector in the causal brain network matrix A||A :,i ||2. Ultimately, each node in the causal brain network will obtain a causal influence value on the network and a causal influence value affected by the network.
[0067] D2: Use the non-integer rank sum ratio method to rank the causal influence value of each node on the network and the causal influence value of the network on the node obtained in step D1 from small to large. The specific calculation formula of the rank value is as follows:
[0068]
[0069] Among them, R represents the rank value, n is the number of nodes, x∈(x1,x2,...x n ) is the causal influence value of the node,
[0070] D3: Project each node into a two-dimensional rank space. The horizontal axis of each projection is the rank of the node's causal influence on all other nodes in the network, and the vertical axis is the rank of the node's causal influence by all other nodes in the network.
[0071] D4: Calculate the causal influence index characteristics of each node in the two-dimensional rank space. The causal influence index calculation formula of node i is as follows:
[0072]
[0073] Among them, rr i represents the rank of the causal influence of node i on all other nodes, cr i Represents the rank of the causal influence of node i on all other nodes. Represents the node i and the ideal SOZ node in the two-dimensional rank space The degree of proximity between Represents the relationship between node i and the ideal non-SOZ node in the two-dimensional rank space The closer the node is to the ideal SOZ node, the greater the impact on the causal brain network.
[0074] D5: Sort the node causal impact index features under all time windows in chronological order to obtain the two-dimensional features of the node causal impact index changing with time, and then normalize the two-dimensional features to the global maximum and minimum values to finally obtain the causal impact index features of each patient.
[0075] E: Construct an epileptogenic zone localization model. According to the causal influence index features obtained in step D, extract the causal influence index features of the SOZ nodes and non-SOZ nodes in patients with successful surgery, and form an epileptogenic focus classification feature dataset. Based on the data in the epileptogenic focus classification feature dataset, train the epileptogenic zone localization model to obtain the trained epileptogenic zone localization model; finally, based on the trained epileptogenic zone localization model, use the intracranial EEG data of the patient to be tested to locate the epileptogenic zone of the patient to be tested, and use the localization results to assist in verifying the doctor's judgment results.
[0076] In the present invention, the step E comprises the following specific steps:
[0077] E1: Construct an epileptogenic zone localization model. According to the causal influence index features of all patients obtained in step D, extract the features of SOZ nodes and non-SOZ nodes respectively and form an epileptogenic focus classification feature dataset.
[0078] E2: Based on the data in the epileptogenic focus classification feature dataset, a machine learning classification model was constructed and the classification model was trained and validated using the ten-fold cross-validation method. The model parameters were tuned using the grid search method. Finally, the accuracy, sensitivity, specificity, and area under the receiver operating characteristic curve (AUC) were used to evaluate the performance of the model in distinguishing SOZs. The calculation formula is as follows;
[0079]
[0080]
[0081]
[0082] Among them, Accuracy represents accuracy, TP represents the number of correctly classified samples that are predicted as positive, TN represents the number of correctly classified samples that are predicted as negative, FP represents the number of false positives that are predicted as positive, FN represents the number of false positives that are predicted as negative, Sensitivity represents sensitivity, and Specificity represents specificity.
[0083] E3: Based on the trained classification model, the node causal influence index characteristics of the patient to be tested are used to classify the nodes to locate the epileptic focus, and the positioning results are used to assist in verifying the doctor's judgment results. In the present invention, each node in the constructed causal brain network corresponds to an electrode for collecting EEG. After determining whether the electrode is an epileptic focus, the epileptic zone can be determined by the position information of the electrode in the brain. The spatial position information of all electrodes in the patient's skull can be obtained by co-registration of preoperative magnetic resonance imaging (MRI) and postoperative computed tomography (CT).
[0084] Figure 4The figure shows a patient's causal impact index feature heat map and the brain region location of the epileptogenic focus, where the black box is the surgical resection area.
[0085] In the present invention, the obtained causal influence index characteristics can also be used to predict the patient's surgical results, that is, step F;
[0086] F: Based on the surgical outcome prediction feature data set composed of the sum of the mean and standard deviation of the causal impact index features of the SOZ nodes of all patients, the patient's surgical outcome and the probability of surgical success are predicted in conjunction with the logistic regression prediction model. Specifically, according to the mean and standard deviation of the causal impact index features of each patient's SOZ node calculated in step D, they are added together as the patient's surgical outcome prediction features. Subsequently, a logistic regression model is constructed and the logistic regression model is trained and tested using the five-fold cross-validation method. The accuracy, sensitivity, specificity and area under the receiver operating characteristic curve (AUC) are used to evaluate the performance of the model in predicting the patient's surgical outcomes. The calculation formula is as follows;
[0087]
[0088]
[0089]
[0090] Among them, Accuracy represents accuracy, TP represents the number of correctly classified samples that are predicted as positive, TN represents the number of correctly classified samples that are predicted as negative, FP represents the number of false positives that are predicted as positive, FN represents the number of false positives that are predicted as negative, Sensitivity represents sensitivity, and Specificity represents specificity.
[0091] Figure 5 The model predicts the probability distribution of successful surgery (S) and failed surgery (F) patients. It can be seen that the probability of successful surgery for most patients is greater than 0.5, while the probability of failed surgery for most patients is less than 0.5.
[0092] We validated the performance of the classification model in distinguishing SOZ in patients with successful surgery. The results showed that the average accuracy under ten-fold cross validation was 82.18%, the average sensitivity was 85.01%, the average specificity was 79.69%, and the average AUC was 0.90. In addition, the prediction model constructed based on the surgical outcome prediction features showed an average accuracy of 79.80% in predicting the patient's surgical outcome (average sensitivity: 78.42%, average specificity: 82.64%, average AUC: 0.84).
[0093]
Claims
1. A method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram, characterized in that: The following steps are included in sequence: A: Construct intracranial EEG dataset; B: Preprocess the data in the intracranial EEG dataset; C: Using the preprocessed intracranial EEG data, based on phase shift entropy, the causal relationship between intracranial EEG signals in each time window is calculated through the sliding window method to construct a causal brain network; D: Calculate the causal influence index characteristics of nodes in the causal brain network in each time window; E: Construct an epileptogenic zone localization model and train it based on the causal influence index characteristics; based on the trained epileptogenic zone localization model, use the intracranial EEG data of the patient to be tested to locate the epileptogenic zone of the patient to be tested, and use the localization results to assist in verifying the doctor's judgment results.
2. The method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram according to claim 1, characterized in that: In step B, phase transfer entropy is used as an indicator to quantify the causal relationship between intracranial EEG signals. The calculation formula for the phase transfer entropy between a given source signal x(t) and a target signal y(t) is: Among them, PTE X→Y represents the phase transfer entropy from the source signal x(t) to the target signal y(t), θ(t) is the phase time series obtained by the Hilbert transform of the signal, and δ is the delay time; H(X,Y) represents the joint entropy, H(X,Y) = -∑P(X,Y)logP(X,Y), and P(X,Y) represents the probability.
3. The method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram according to claim 1, characterized in that: In step B, the causal brain network is a matrix A composed of the causal relationship between different signals, that is, the phase transfer entropy values between intracranial EEG signals collected in different brain regions; each node in the causal brain network corresponds to a brain region, and the i-th row of the matrix A represents the causal influence of node i on other nodes, and the i-th column of the matrix A represents the causal influence of other nodes on node i.
4. The method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram according to claim 1, characterized in that: The step D comprises the following specific steps: D1: Calculate the causal influence of nodes on the causal brain network and the causal influence of the causal brain network on nodes; D2: Use the non-integer rank sum ratio method to sort the causal influence value of each node on the network and the causal influence value of the network on the node from small to large; D3: Project each node into a two-dimensional rank space. The horizontal axis of each projection is the rank of the node's causal influence on all other nodes in the network, and the vertical axis is the rank of the node's causal influence on all other nodes in the network. D4: Calculate the causal influence index feature of each node in the two-dimensional rank space; D5: Sort the node causal impact index features under all time windows in chronological order to obtain the two-dimensional features of the node causal impact index changing with time, and then normalize the two-dimensional features to the global maximum and minimum values to finally obtain the causal impact index features of each patient.
5. The method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram according to claim 4, characterized in that: In step D1, the causal influence of node i on the causal brain network is defined as the bi-norm of the phase transfer entropy vector between node i and all other nodes, that is, the bi-norm of the i-th row vector in the causal brain network matrix A||A i,: ||2; define the causal influence of the causal brain network on node i as the two-norm of the phase transfer entropy vector between all other nodes and node i, that is, the two-norm of the i-th column vector in the causal brain network matrix A||A :,i ||2.
6. The method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram according to claim 4, characterized in that: In the step D2, the specific calculation formula of the rank value is as follows: Among them, R represents the value of rank, n is the number of network nodes, x∈(x1,x2,...x n ) is the causal influence value of the node, 7. The method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram according to claim 4, characterized in that: In step D4, the calculation formula of the causal influence index of node i is as follows: Among them, rr i represents the rank of the causal influence of node i on all other nodes, cr i It represents the rank of the causal influence of node i on all other nodes. Represents the node i and the ideal SOZ node in the two-dimensional rank space The degree of proximity between Represents the relationship between node i and the ideal non-SOZ node in the two-dimensional rank space The degree of closeness between them, CII∈[0,+∞).
8. The method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram according to claim 1, characterized in that: In the step B, the preprocessing includes removing impurities, filtering and denoising.
9. The method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram according to claim 1, characterized in that: The step E comprises the following specific steps: E1: Construct an epileptogenic zone localization model. According to the causal influence index characteristics of all patients, extract the characteristics of SOZ nodes and non-SOZ nodes respectively and form an epileptogenic focus classification feature dataset; E2: Based on the data in the epileptogenic focus classification feature dataset, a machine learning classification model was constructed and the classification model was trained and validated using the ten-fold cross-validation method. The model parameters were tuned using the grid search method. Finally, the accuracy, sensitivity, specificity, and area under the receiver operating characteristic curve were used to evaluate the performance of the model in distinguishing SOZs. The calculation formula is as follows: Among them, Accuracy represents accuracy, TP represents the number of correctly classified samples that are predicted as positive, TN represents the number of correctly classified samples that are predicted as negative, FP represents the number of false positives that are predicted as positive, FN represents the number of false positives that are predicted as negative, Sensitivity represents sensitivity, and Specificity represents specificity. E3: Based on the trained classification model, the node causal influence index characteristics of the patient to be tested are used to classify the nodes to locate the epileptogenic focus, and the positioning results are used to assist in verifying the doctor's judgment results.
10. The method for auxiliary verification of epileptogenic focus location based on intracranial electroencephalogram according to claim 1, characterized in that: Also includes step F: F: Based on the surgical outcome prediction feature dataset composed of the sum of the mean and standard deviation of the causal influence index characteristics of the SOZ nodes of all patients, the surgical outcomes and the probability of surgical success of the patients were predicted in combination with the logistic regression prediction model. The logistic regression model was trained and tested using the five-fold cross-validation method, and the accuracy, sensitivity, specificity and area under the receiver operating characteristic curve were used to evaluate the performance of the model in predicting the surgical outcomes of patients.
