Next Article in Journal
Differences between Monolinguals and Bilinguals in Phonetic and Phonological Learning and the Connection with Auditory Sensory Memory
Next Article in Special Issue
Lie Recognition with Multi-Modal Spatial–Temporal State Transition Patterns Based on Hybrid Convolutional Neural Network–Bidirectional Long Short-Term Memory
Previous Article in Journal
The Influencing Mechanism of Incidental Emotions on Risk Perception: Evidence from Event-Related Potential
Previous Article in Special Issue
Investigating Students’ Pre-University Admission Requirements and Their Correlation with Academic Performance for Medical Students: An Educational Data Mining Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Detecting Cortical Thickness Changes in Epileptogenic Lesions Using Machine Learning

1
Department of Computer Sciences, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 21589, Saudi Arabia
2
Diagnostic Radiology Department, Faculty of Applied Medical Sciences, King Abdulaziz University, Jeddah 21589, Saudi Arabia
*
Author to whom correspondence should be addressed.
Brain Sci. 2023, 13(3), 487; https://doi.org/10.3390/brainsci13030487
Submission received: 16 January 2023 / Revised: 25 February 2023 / Accepted: 7 March 2023 / Published: 14 March 2023
(This article belongs to the Special Issue Intelligent Neural Systems for Solving Real Problems)

Abstract

:
Epilepsy is a neurological disorder characterized by abnormal brain activity. Epileptic patients suffer from unpredictable seizures, which may cause a loss of awareness. Seizures are considered drug resistant if treatment does not affect success. This leads practitioners to calculate the cortical thickness to measure the distance between the brain’s white and grey matter surfaces at various locations to perform a surgical intervention. In this study, we introduce using machine learning as an approach to classify extracted measurements from T1-weighted magnetic resonance imaging. Data were collected from the epilepsy unit at King Abdulaziz University Hospital. We applied two trials to classify the extracted measurements from T1-weighted MRI for drug-resistant epilepsy and healthy control subjects. The preprocessing sequence on T1-weighted MRI images was performed using C++ through BrainSuite’s pipeline. The first trial was performed on seven different combinations of four commonly selected measurements. The best performance was achieved in Exp6 and Exp7, with 80.00% accuracy, 83.00% recall score, and 83.88% precision. It is noticeable that grey matter volume and white matter volume measurements are more significant than the cortical thickness measurement. The second trial applied four different machine learning classifiers after applying 10-fold cross-validation and principal component analysis on all extracted measurements as in the first trial based on the mentioned previous works. The K-nearest neighbours model outperformed the other machine learning classifiers with 97.11% accuracy, 75.00% recall score, and 75.00% precision.

1. Introduction

Epilepsy is a neurological disorder. It is characterized by abnormal brain activity. Epileptic patients suffer from unpredictable seizures which cause changes in their behaviour, movement, feelings, and sometimes causes a loss of awareness. The World Health Organization (WHO) estimates that epilepsy affects over 50 million people globally; this large number makes epilepsy the most common neurological disorder. Around three-quarters of epilepsy patients in low- and middle-income countries do not receive the treatment they require, and they and their families face stigma and discrimination in many parts of the world, as per the WHO’s report. Approximately 30% of those patients suffer from refractory seizures [1]. Seizures are considered refractory or drug-resistant when treatment does not succeed in achieving seizure freedom for at least 12 months for any reason [2] or if the treatment fails two or more medicines and a seizure occurs once or more per month over 18 months [3]. During the presurgical workup of drug-resistant epilepsy, specialists seek to determine focal epileptogenic brain lesions to apply resection for those lesions which are predicted to cure epilepsy after resection. Focal cortical dysplasia (FCD) is an epileptogenic lesion that requires surgical intervention for treatment of epilepsy. It is a type of cortical development malformation distinguished by disturbed cortical lamination, balloon cells, dysmorphic neurons, and/or ectopic neurons in the white matter [4,5,6]. FCD type I to FCD type III encompasses a wide range of histological and clinical features [4]; although certain FCDs are easily detectable with traditional neuroimaging, others are more subtle [7]. Neuroradiologists have reported detection rates of FCD type II lesions ranging from 65 to 91 percent [8,9]. Figure 1 shows an example of an FCD lesion. Mesial temporal sclerosis (MTS) is another typical epileptogenic lesion in drug-resistant epilepsy that requires surgical intervention. Figure 2 shows an MTS lesion.
Specialists use multiple sources of data to detect these lesions, such as electron-encephalographic (EEG), positron emission tomography (PET), brain magnetic resonance imaging (MRI), and others. Although this advanced imaging is used for detection of these subtle morphological abnormalities in epilepsy patients, the diagnosis of FCD and MTS requires visual inspection by expert neuroradiologists. Recent advancements in MRI have made it easier to detect and diagnose FCD and other cortical malformations (CM) in epileptic patients [12].
Because the human body is made up of molecules including nuclei, MRI scanners employ the electromagnetic activity of these nuclei along with solid magnetic fields and radio wave to build images of the body. The hydrogen atom is often employed in MRI investigations because a major fraction of the human body consists of fat and water, both of which comprise many hydrogen atoms [13]. In MRI-negative epilepsy, FCD is a widespread pathology [14]. Quantitative post-processing methods, such as voxel-based morphometric analysis and surface-based feature analysis, have been developed to address some of the limitations of visual detection of FCD with MRI. Voxel-based morphometry algorithm [9,15,16,17], surface-based morphometry algorithm [13,14], and the post-processing method [15] are common approaches for detecting epileptic foci. The image density is compared to a normal template in the voxel-based morphometry approach, and the area that is abnormally identified in the image is considered as the lesion area. The surface-based morphometry method is primarily applied to rebuild the cerebral cortex, extract useful features, and classify and locate the lesion area using a machine learning method. The post-processing procedure is utilized to extract parameters such as texture and cortical thickness, build a computational model, and pinpoint the location of the lesion. Currently, two new works have used an advanced convolutional neural network to investigate FCD lesion detection, and they have yielded promising findings [18,19]. The cerebral cortex in humans, a narrow ribbon of grey matter that makes up the cerebrum’s outer layer, is around 2.5 mm thick on average [20]. Cortical thickness is the length of the distance between the white and grey matter surfaces of the brain at various locations [20,21]. It is also sensitive to variations in health, such as ageing and diseases such as schizophrenia, Alzheimer’s, and depression [22,23,24]. It has been shown in numerous investigations to be a surrogate marker for underlying disease abnormalities [25,26,27]. With normal ageing, cortical thickness diminishes in Alzheimer’s disease (AD) [28]. Furthermore, it increases in temporal lobe epilepsy (TLE).
An important component of the field of artificial intelligence is machine learning (ML). Without requiring any explicit programming, ML algorithms create a model from training data to produce predictions or judgments [29]. Various ML algorithms are used to classify diseases. Logistic regression (LR), k-nearest neighbours (K-NN), support vector machine (SVM), and naive Bayes are common ML algorithms. This research examines these four classifiers to build a high-performance model of T1-weighted MRI images in drug-resistant epilepsy classification.

1.1. Logistic Regression (LR)

This statistical analysis method is frequently used for applications in predictive analytics, modelling, and machine learning. The dependent variable in this analytics method may be either categorical or numerical. Any of four finite possibilities, A, B, C, or D, or in the case of binary regression, either A or B, are possible outcomes (multiple regression). Statistical software uses a logistic regression equation to compute probabilities and determine the relationship between the dependent variable and one or more independent variables [30].
l o g i s t i c ( η ) = 1 / ( 1 + e x p ( η ) )

1.2. K-Nearest Neighbours (K-NN)

The non-parametric supervised learning method known as the k-nearest neighbours algorithm (k-NN) was created in 1951 [31] and subsequently developed in statistics [32]. It is employed in the categorization and regression of data. The input in both situations consists of the k closest training examples in a data collection. The outcome of k-NN classification is a class membership. A majority vote of its neighbours categorizes an object, and each object is allocated to the most common class among its k closest neighbours (k is a positive integer, typically small). If k = 1, the object is assigned to the nearest neighbour’s class.

1.3. Support Vector Machine (SVM)

SVM is one of the most extensively used machine learning methods in medical image processing. It is a supervised algorithm first introduced by Vishwanathan and Murty [33], and it has been developed over the years. It performs classification and regression analysis on data. SVM divides the data into classes in the training sets by identifying the best decision boundary. This aids in classifying new data added to the correct side of the separator, known as a hyperplane. The hyperplane is generated by selecting a data set’s extreme points, which are referred to as support vectors. Figure 3 shows the SVM hyperplane for linearly separable data points.

1.4. Naive Bayes

Simple probabilistic classifiers known as naive Bayes classifiers are based on the Bayes theorem and strong (naive) independence assumptions between statistical features. Although they are among the simplest Bayesian network models, they can attain high levels of accuracy when paired with kernel density estimation [35]. The number of variables (features) in a learning issue is linear in the number of parameters used by naive Bayes classifiers. Maximum-likelihood training can be carried out by simply evaluating a closed-form expression in linear time instead of the costly iterative approximation employed for many other types of classifiers [36].

2. Literature Review

In previous studies, machine learning (ML) techniques have shown consistently strong discriminatory capacity across the broad variety of epilepsy applications [37]. Furthermore, deep learning (DL) has recently been applied in various fields in epilepsy. Morphometric analysis program (MAP) strategies have been performed in this field of detection. We focused on analysis methods to categorize the previous studies, as you will read below.

2.1. Morphometric Analysis Program (MAP) Strategies for FCD Detection

MAP was first launched in 2005 [16], was independently evaluated for clinical advantages, and has since been effectively integrated into regular presurgical workflows at a number of epilepsy facilities around the world [9,38]. The diagnostic utility of MAP in focal drug-resistant epilepsy with FCD is investigated in [17]. In this work, for each of the 39 individuals with FCD, an automated MAP created z-score maps resulting from T1-weighted MRI scans, which were compared to healthy adults or healthy pediatricians. Independent of various imaging modalities and clinical data, MAP detected abnormal grey matter extension into white matter and blurring of the grey–white matter junction. The specificity and sensitivity of the extension and junction MAP were higher than the qualitative MRI. T. Demerath et al. [39] performed a comparison between MP2RAGE and MPRAGE, the most common sequence for 3D T1-weighted imaging in Siemen’s scanners, in FCD detection. A total of 640 epilepsy patients were studied, and the results indicated FCD lesions were clearly detected in MP2RAGE junction images, whereas two were not seen in MPRAGE junction images. Both FCD volume and z-scores of mean lesions were larger in the MP2RAGE junction images than in the MPRAGE-based images. Based on the MAP18 morphometric output maps, Bastian David et al. [40] constructed a feed-forward artificial neural network to detect FCD. The artificial neural network was cross-validated and trained on a manually separated data set comprising 113 patients with FCD and 362 healthy controls. On 60 FCD samples, 70 healthy controls, and an unseen data set, they confirmed the trained artificial neural network’s performance. On the training data set, the artificial neural network had 87.4% sensitivity and 85.4% specificity in cross-validation. Their technique still had a sensitivity of 81.0% on the separated validation data set, with a similar high specificity of 84.3%.

2.2. Temporal Lobe Epilepsy Applications Based on Machine Learning (ML)

In [41], an SVM technique was used to predict temporal lobe epilepsy based on mean kurtosis, mean diffusivity, and fractional anisotropy from three separate imaging modalities. Whereas classic imaging of diffusion tensor can be used to calculate mean diffusivity and fractional anisotropy, diffusion kurtosis imaging is required to calculate mean kurtosis. Diffusion kurtosis imaging was used on 32 temporal lobe epilepsy cases and 36 healthy cases. A 1000-iteration five-fold cross-validation was used to measure prediction capability. The topic photos in the training set were used to train SVM models, each with a different regularization parameter, and their performances were measured on the test set. A Bayesian-based technique was used to identify the various regularization values. On every iteration, mean kurtosis outperformed fractional anisotropy and mean diffusivity and had considerably greater average accuracy, with 82% mean kurtosis, 68% fractional anisotropy, and 51% mean diffusivity. Esmaeil Davoodi-Bojd et al. [42] classified temporal lobe epilepsy lateralization using linear SVM. To determine the most efficient connections for lateralizing the disease, they examined the connectivity matrices produced from diffusion-weighted MRI of 10 left and 10 right patients. Their results showed an accuracy of 100%, although that high accuracy may be due to the small population. For temporal lobe detection, Kouhei Kamiya et al. [43] applied supervised machine learning via SVM of diffusion tensor imaging structured brain connectomes of forty-four patients: fifteen right, twenty-nine left, and fourteen age-matched controls. Their method showed 75.9–89.7% accuracy for the right temporal lobe epilepsy versus controls, 74.4–86.0% accuracy for the left temporal lobe epilepsy versus controls, and 72.7–86.4% accuracy for the left temporal lobe epilepsy versus right temporal lobe epilepsy. Seventeen anatomical MRI data of normal and epileptic cases were used for training SVM classifiers to diagnose epilepsy. They compared the two different methods for MRI segmentation: the unified segmentation method, and the Gram–Schmidt orthogonalization method. They concluded that the unified segmentation method outperforms the Gram–Schmidt orthogonalization method. The best accuracy they obtained using the whole-brain analysis approach and the unified segmentation method was 94% [44].

2.2.1. Automated Detection of FCD Using ML

ML methods can provide a major FCD diagnosis outcome as a presurgical assessment for drug-resistant epilepsy patients. Zohera et al. [45] applied artificial neural networks after extracting morphological and intensity-based features. They used a total of 58 patients: 30 with verified FCD type II and 28 adults as healthy controls. The classification accuracy levels for lobe and hemisphere detection in the region where the lesion was found were 84.2 and 77.3, respectively. In [46], the authors introduced a useful method for detecting non-temporal lobe lesions. They detected FCD lesions using negative images of FLAIR based on cortical thickness features calculated using the Laplace method. They obtained cortical thickness average images and standard deviations for 32 healthy control subjects. After that, they subtracted the cortical thickness average images from the images of cortical thickness of each patient and divided the output by the cortical thickness standard deviation image to compute an extension map of cortical thickness. Lastly, they found that a cluster with greater than three voxels was considered to be an FCD lesion area. Ravnoor S. Gill et al. [47] proposed a novel algorithm that combined surface-based morphometry and intensity features to detect FCD using multi-modal MRI. They evaluated their approach using five-fold cross-validation and obtained values of 83% sensitivity and 92% specificity. Meriem El Azami et al. [48] proposed a computer-aided diagnosis system to detect lesions underlying drug-resistant epilepsy in T1-weighted MRI. They used two features: heterotopia, where tissue follows grey matter for all sequences and the margin often is not clear, and the presence of a blurred junction between the white matter and the grey matter. Seventy-seven healthy controls and eleven patients with thirteen lesions were used. A one-class support vector machine was used to classify lesions. Their proposed method detected all lesions successfully.
In [49], research was conducted on 61 patients with drug-resistant epilepsy. Three distinct MRI scanners were used to analyse the patients at three different epilepsy centres. With 120 healthy controls, a normal database was created. To determine specificity, they used thirty-five healthy controls and fifteen illness controls with hippocampal sclerosis for testing. A non-linear neural network was trained to identify lesioned clusters using features that were calculated and included in it. They used analysis of receiver operating characteristic to improve the threshold of the probability map classifier’s output. The intersection between the manual labelling and final cluster was used to determine detection success. K-fold cross-validation was used to assess performance. The 0.9 thresholds resulted in 73.7% sensitivity and 90.0% specificity. The analysis of ROC had an area under the curve of 0.75. Bilal Ahmed et al. [50] applied an automated quantitative morphometry approach to compute surface-based MRI features and combine them in a model for classifying lesional and non-lesional vertices. Their model detected 6 out of 7 MRI-positive patients correctly and 14 out of 24 MRI-negative patients, which is considered to be a good achievement in MRI-negative prediction. Sophie Adler et al. [51] added new surface-based measurements such as local cortical deformation and per-vertex interhemispheric asymmetry in addition to traditional features such as cortical thickness, blurring of grey matter, and many others to detect FCD in pediatric epilepsy. After inter- and intra-subject normalization using twenty-eight healthy controls, an artificial neural network classifier was built using data from twenty-two focal epilepsy patients. They obtained higher sensitivity (73%) values when using the novel measures (excluding established measures) than when using only the established measures (59%). Jia-Jie Mo et al. [52] combined an artificial neural network with quantitative multi-modal surface-based features from T1-MPRAGE, FLAIR, and PET to automatically detect FCD lesions. Morphological features, intensity features, and metabolic features were calculated to input into the artificial neural network. To diminish the dimensions of the features, principal component analysis was used. The sensitivity, accuracy, and specificity of their ANN classifier were 70%, 70.5%, and 69.9% respectively.

2.2.2. Automated Detection of MTS Using ML

The primary intention of this study [53] was to determine if functional connectivity in the resting state of magnetoencephalography (MEG) signals are able to be used as a biomarker for distinguishing mesial temporal lobe epilepsy patients from healthy patients as well as right and left mesial temporal lobe epilepsy patients. Among the different machine learning techniques used, an SVM method was used. They examined functional resting-state networks in 46 patients with mesial temporal lobe epilepsy (23 on the right; 23 on the left) who were seizure-free after surgery and 46 patients with hippocampal sclerosis. The best SVM group classifier identified mesial temporal lobe epilepsy patients with a 95.1% mean accuracy (95.8% sensitivity, and 94.3% specificity). Huiquan Wang et al. [11] proposed a method incorporating cerebrospinal fluid ratio features with hippocampal volume and shape features to ensure that the surrounding tissue properties of the hippocampus are included. They used T1-weighted MRI images, with fifteen normal controls, eighteen left MTS, and eighteen right MTS. Then, they used SVM to classify the type of MTS. Their proposed method resulted in 94% sensitivity, 100% specificity, and 97% accuracy. In a broad sample of epilepsy patients, ref. [54] created an automated ML methodology that was capable of identifying MTS with an accuracy of up to 81%. To create classification accuracy, the program took into account surface area, cortical thickness, and curvature of the surrounding temporal, frontal, and limbic structures in addition to hippocampus volume. MTS was linked to an younger age of onset, a longer period of disease, and more repeated seizures in people who were diagnosed.

2.3. Lesions Detection Based on Deep Learning (DL)

Qu, Guiguo and Yuan, Qi [55] introduced a new strategy for detecting epileptogenic regions based on convolutional neural networks and transfer learning to handle a small amount of data. They used the Bonn data set, which contains 100 focal and 100 non-focal EEG signals. The results of their experiments indicated that their technique was 95.00 accurate.

Automated Detection of FCD Using DL

Sixteen patients’ T1-weighted MRI images were separated into fourty-five structures. Each structure’s volume was compared at an individual level by matching gender and age to a normal population using a prototype made with MorphoBox, a software for brain volumetry. The prototype’s performance in patients was assessed using a receiver operating characteristics curve. Although their method could be used as a biomarker for detecting the lesions, it cannot stand alone for determining the specificity, location, and size of lesions. The result of their method showed 93.9% sensitivity, 79.6% specificity, and a receiver operating characteristics (ROC) curve of 0.89 [56]. In 2019, K.M. Bijay et al. [18] used a fully convolutional neural network-based model for the first time for detecting FCD lesions using only FLAIR images. Forty-three subjects were selected by a neurologist in a retrospective study. Their proposal method gave a patient-wise recall value of 82.5, region-wise values of 48 for recall and 89 for precision, and pixel-wise values of 40.1 for recall, 80.69 for precision, and 52.47 for the Dice coefficient. Ruslan Aliev et al. [57] automatically detected lesions of FCD using convolutional neural networks, and they proposed a new metric for the detection algorithm’s assessment. They applied their method on a data set with 15 labelled patients, and they obtained efficacious detection of FCD’s lesions in eleven out of fifteen subjects. Cuixia et al. [58] trained a six-layer convolutional neural network. Then, they performed activation maximization for identifying pattern image blocks that are highly similar to FCD lesion images using their network. They evaluated their technique with 19 negative lesion images from 12 FCD patients at an early time point to learn optimal cortical features automatically and enhance the detection of FCD. Their CNN architecture comprised five convolutional layers, two connected layers, and one pooling layer. Thirty T1-weighted MRI images were used. The patient group included ten healthy cases and ten temporal lobe epilepsy cases. Their experimental results showed a high performance of 90% sensitivity (in comparison to other state-of-the-art methods, which had a sensitivity of 70%), 85% specificity, and 88% accuracy. Based on literature review, we found that SVM is the most frequently used ML method in the literature.

3. Materials and Methods

This section details the sequence of the research methodology beginning with data acquisition, preprocessing, feature extraction, and classification. Figure 4 shows a schematic of the proposed T1-weighted MRI images in drug-resistant epilepsy classification. It includes four stages: data acquisition, preprocessing of data, feature extraction, and classification.

3.1. Data Acquisition

Eleven participants with drug-resistant epilepsy from the epilepsy unit at King Abdul-Aziz University Hospital were included in this study. In addition, eighteen healthy control subjects from the same hospital were included. The subjects are between 22 and 30 years old. Most of them are Saudi. A total of twenty-nine three-dimensional (3D) T1-weighted MRI images were provided, one for each subject. All images are in nifti format (.nii). Figure 5 shows an image from the collected data for the first patient.

3.2. Preprocessing

All preprocessing was performed using BrainSuite’s pipeline [59].

3.3. Feature Extraction

Eight measurements were calculated for 99 regions of interest (ROI) for a total of 792 features. The eight measurements are: mean thickness (mm), grey matter volume (mm 3 ), cerebrospinal fluid volume (mm 3 ), white matter volume (mm 3 ), the total volume of grey matter and white matter (mm 3 ), cortical area mid (mm 2 ), cortical area inner (mm 2 ), and cortical area pial (mm 2 ). We excluded the features with values of zero, so we ended up with 664 features. Table 1 shows the names of the regions of interest.
Figure 6 shows some regions of interest in the brain.

3.4. ML Classifiers

This section explains the two trials that applied ML models. The first subsection describes the first trial, which applied SVM on different combinations of four selected measurements, which are: cortical thickness, grey matter volume, cerebrospinal fluid volume, and white matter volume. Furthermore, the second subsection describes the trial that applied four different ML classifiers to all measurements.

3.4.1. First Trial on Four Commonly Selected Measurements

Based on our literature review, we found that SVM is the most frequently used ML classifier in drug-resistant epilepsy classification. Automated classification of four selected measurements was performed using an SVM classifier. The two classes that were used to classify the features were 0, which was used to label the healthy control subject, and 1, which was used to label the drug-resistant subject. Seven different combinations of four selected measurements (cortical thickness, white matter volume, grey matter volume, and cerebrospinal fluid volume) and a total of 355 features were used in this experiment. Different combinations were used to simplify the process. The combinations of measurements were used to choose the measurements that have the best effect on the classification process. Furthermore, in the literature, there was no clear evidence for selection of particular measurements. The combinations of measurements are denoted as follows:
Exp1: cortical thickness.
Exp2: white matter volume and grey matter volume.
Exp3: cerebrospinal fluid volume.
Exp4: white matter volume, grey matter volume, and cerebrospinal fluid volume.
Exp5: cortical thickness and cerebrospinal fluid volume.
Exp6: white matter volume, grey matter volume, and cortical thickness.
Exp7: cortical thickness, white matter volume, grey matter volume, and cerebrospinal fluid volume.
Feature scaling was applied to optimize the performance. A k-fold cross-validation (k = 10) strategy was used in each experiment to validate the classifier’s performance. Cross-validation is a statistical method for estimating machine learning models’ competence. It is a resampling technique for evaluating machine learning models on a small sample of data. K denotes the number of groups into which a given data sample will be divided. The following is the general procedure [61]:
  • Shuffle the data set at random.
  • Sort the data into k groups.
  • For every separate group:
    (a)
    As a holdout or test data set, use the group.
    (b)
    As a training data set, use the remaining groups.
    (c)
    Fit a model to the training data and test it on the test data.
    (d)
    Keep the evaluation score but throw out the model.
  • Provide a brief summary of the model’s skill using the sample of model evaluation scores.
This is based on the grid search strategy, which is an exhaustive search carried out on a model’s specific parameter values.
GridSearchCV [62] is a scikit-learn package in Python that allows tuning of the hyperparameters. The best parameters were selected for each experiment (see Table 2).
More details about the results will be provided in the next Section 4.2. The scikit-learn library version of support vector classification (SVC) may be configured with a large variety of hyperparameters, including:
  • C: a parameter for regularization.
  • Kernel: a parameter that can be set to linear, rbf, or our own callable.
  • Gamma: the rbf, poly, and sigmoid kernel parameter coefficient.

3.4.2. Second Trial on all Extracted Measurements

This subsection describes the classification of the extracted measurements using four different ML classifiers: logistic regression, k-nearest neighbours (K-NN), support vector machine (SVM), and naive Bayes.
Before applying the above-mentioned classifier, feature scaling was applied to optimize the performance as in the previous trial. In this trial, we used all eight measurements to include all calculated measurements and maximize the number of features. We eliminated the features with values of zero, leaving 664 features. Principal component analysis (PCA) was used to select the best features out of the 664.
For each classifier, a k-fold cross-validation (k = 10) strategy was used to validate the classifier’s performance.

4. Results and Discussion

This section explains the two trials’ results and performance.

4.1. Evaluation Metrics

In this subsection, descriptions and equations of the evaluation metrics are presented.
To evaluate a classifier’s performance, it is much better to examine the confusion matrix. The fundamental idea is based on counting the number of instances where representatives of class A are classified as class B [63]. The confusion matrix provides a lot of information. Still, we prefer a simpler statistic, such as accuracy, precision, and recall, which are described in the following three sections (Section 4.1.1, Section 4.1.2 and Section 4.1.3).

4.1.1. Accuracy

The ratio of accurately predicted labels to the total number of predicted labels is calculated as follows. Equation (1). Accuracy
A c c u r a c y = T P + T N T P + F P + F N + T N
The terms TP, TN, FP, and FN refer to the quantity of true positives, true negatives, false positives, and false negatives, respectively.
When it comes to classifiers, accuracy is not always the best metric to use, especially when working with skewed data sets (i.e., when some classes are much more frequent than others) [63] as in our case.

4.1.2. Precision

The precision of the classifier, that is, the accuracy of positive predictions [63], is an interesting measurement to examine.
Equation (2). Precision
P r e c i s i o n = T P T P + F P

4.1.3. Recall

Equation (3). Recall
R e c a l l = T P T P + F N

4.2. Results

In this section, all the results of the two previously mentioned trials are listed and shown.
The first trial was an SVM classifier trained on different combinations of the four selected measurements: cortical thickness, grey matter volume, cerebrospinal fluid volume, and white matter volume. To evaluate the experiments, accuracy, recall score, and precision were calculated for each combination, as shown in Table 2. The Exp2, Exp6, and Exp7 combinations obtained the best accuracies, with 80.00%. GridSearchCV was used to select the best models’ parameters. Figure 7 shows accuracy, recall score, and precision of different combinations of measurements in this trial.
The second trial contains more intensive experiments. Four different ML classifiers were used on all extracted measurements, as shown in Table 3. Before training the classifiers, the principal component analysis (PCA) technique was applied to reduce the number of features. We found that the best number of features (n_components) was 20. Figure 8 shows the variance ratio classification accuracy of PCA.
The results of the second trial show the performance of four ML algorithms applied on all extracted measurements, as can be seen in Table 3. Table 3 shows each model’s accuracy before applying k-fold cross-validation and PCA in the third column. Accuracy after applying only k-fold cross-validation is shown in the fourth column. Accuracy after applying only PCA is shown in the fifth column. In the sixth column, the accuracy after applying k-fold cross-validation and PCA is presented. Recall score and precision for each model are shown in the seventh and eighth columns, respectively. Figure 9 shows the accuracy, recall score, and precision of ML classifiers after applying k-fold cross-validation and PCA in this trial.

5. Discussion

Due to no clear evidence for selection of measurements in the related works, such as in [46], which used only cortical thickness, our first trial experiments’ results show the best measurements among four measurements that are commonly used in drug-resistant epilepsy: cortical thickness, grey matter volume, white matter volume, and cerebrospinal fluid volume. The SVM model that classifies the white matter volume and the grey matter volume (Exp2) outperforms the SVM model that classifies cortical thickness (Exp1) and the SVM that classifies cerebrospinal fluid (Exp3). We can conclude that the grey and white matter volumes are the most significant measurements among the four common measurements, as the model that classified using them obtained 80.00% accuracy, 83.00% recall score, and 83.00% precision. We noticed that combining grey matter and white matter volume with the cortical thickness, as in Exp6, increased the SVM’s recall score to 83.33% and the precision to 83.33%. What seems to stand out is grey matter volume and white matter volume can stand alone to achieve the highest accuracy (80.00%), as in Exp2. Figure 7 displays the accuracy, recall score, and precision for the seven experiments in the first trial.
Our second trial relied on all eight extracted measurements: mean thickness (mm), grey matter volume (mm 3 ), cerebrospinal fluid volume (mm 3 ), white matter volume (mm 3 ), total volume of grey matter and white matter (mm 3 ), cortical area mid (mm 2 ), cortical area inner (mm 2 ), and cortical area pial (mm 2 ). Based on our literature review, this is the first time that this has been performed in this manner. Furthermore, it examined the impact of the feature reduction technique using PCA. Additionally, it made comparisons between the performances of four different ML classifiers: LR, K-NN, SVM, and naive Bayes. This is also the first time that this has been performed based on the aforementioned works. The K-NN (n_neighbours = 5) model outperformed the other machine learning classifiers, with 97.11% accuracy, 75.00% recall score, and 75.00% precision. We noticed that PCA (n_ components = 20) increased the performance of K-NN model with n_neighbours = 5. So we can conclude that feature reduction technique is effective in this field.

6. Conclusions

In this study, we applied two ML trials to classify the extracted measurements from T1-weighted MRI for drug-resistant epilepsy patients and healthy control subjects. Data were collected from King Abdulaziz University hospital. Preprocessing on images was performed using BrainSuite’s pipeline. The first trial was performed on seven combinations of standard measurements: cortical thickness, white matter volume, grey matter volume, and cerebrospinal fluid volume. The white and grey matter volumes are the most significant of these standard measurements. The second trial used four different ML classifiers: LR, K-NN, SVM, and naive Bayes. Results were considered both before and after applying k-fold cross-validation and PCA. It can be seen that the k-nearest neighbours classifier outperformed the other ML classifiers. Feature reduction techniques such as PCA are successful in classification of extracted drug-resistant epilepsy measurements.

7. Recommendations and Future Work

Features extracted from T1-weighted MRI images are effective in drug-resistant epilepsy classification. However, different methods can be used to select the best features. Deep learning can also be considered for performing the classification.
We are looking to use DL approaches to extract and compare features with the current extracted features.

Author Contributions

Methodology, S.A.; writing—original draft preparation, S.A.; writing—review and editing, K.M. and J.A.; supervision, K.M. and J.A. All authors have read and agreed to the published version of the manuscript.

Funding

The King Abdulaziz University in Jeddah’s Deanship of Scientific Research (DSR) provided funding for this study, grant No. (IFPIP: 753-612-1443).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

We sincerely appreciate the King Abdulaziz University Hospital’s Epilepsy Center for their assistance throughout the study and for supplying us with the local data set we needed to run the trials. Furthermore, we sincerely thank King Abdulaziz University’s Deanship of Scientific Research (DSR) for supporting our research.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analysis, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Barr, W.B.; Morrison, C. Handbook on the Neuropsychology of Epilepsy; Springer: Cham, Switzerland, 2014. [Google Scholar]
  2. Kwan, P.; Brodie, M.J. Early identification of refractory epilepsy. N. Engl. J. Med. 2000, 342, 314–319. [Google Scholar] [CrossRef] [PubMed]
  3. Berg, A.T.; Vickrey, B.G.; Testa, F.M.; Levy, S.R.; Shinnar, S.; DiMario, F.; Smith, S. How long does it take for epilepsy to become intractable? A prospective investigation. Ann. Neurol. 2006, 60, 73–79. [Google Scholar] [CrossRef] [PubMed]
  4. Blümcke, I.; Thom, M.; Aronica, E.; Armstrong, D.D.; Vinters, H.V.; Palmini, A.; Jacques, T.S.; Avanzini, G.; Barkovich, A.J.; Battaglia, G.; et al. The clinicopathologic spectrum of focal cortical dysplasias: A consensus classification proposed by an ad hoc task force of the ILAE Diagnostic Methods Commission 1. Epilepsia 2011, 52, 158–174. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Tassi, L.; Colombo, N.; Garbelli, R.; Francione, S.; Lo Russo, G.; Mai, R.; Cardinale, F.; Cossu, M.; Ferrario, A.; Galli, C.; et al. Focal cortical dysplasia: Neuropathological subtypes, EEG, neuroimaging and surgical outcome. Brain 2002, 125, 1719–1732. [Google Scholar] [CrossRef] [Green Version]
  6. Taylor, D.; Falconer, M.; Bruton, C.; Corsellis, J. Focal dysplasia of the cerebral cortex in epilepsy. J. Neurol. Neurosurg. Psychiatry 1971, 34, 369–387. [Google Scholar] [CrossRef] [Green Version]
  7. Harvey, A.S.; Mandelstam, S.A.; Maixner, W.J.; Leventer, R.J.; Semmelroch, M.; MacGregor, D.; Kalnins, R.M.; Perchyonok, Y.; Fitt, G.J.; Barton, S.; et al. The surgically remediable syndrome of epilepsy associated with bottom-of-sulcus dysplasia. Neurology 2015, 84, 2021–2028. [Google Scholar] [CrossRef] [Green Version]
  8. Mellerio, C.; Labeyrie, M.A.; Chassoux, F.; Roca, P.; Alami, O.; Plat, M.; Naggara, O.; Devaux, B.; Meder, J.F.; Oppenheim, C. 3T MRI improves the detection of transmantle sign in type 2 focal cortical dysplasia. Epilepsia 2014, 55, 117–122. [Google Scholar] [CrossRef]
  9. Wagner, J.; Weber, B.; Urbach, H.; Elger, C.E.; Huppertz, H.J. Morphometric MRI analysis improves detection of focal cortical dysplasia type II. Brain 2011, 134, 2844–2854. [Google Scholar] [CrossRef] [Green Version]
  10. Andrade, C.S.; Leite, C.D.C. Malformations of cortical development: Current concepts and advanced neuroimaging review. Arq.-Neuro-Psiquiatr. 2011, 69, 130–138. [Google Scholar] [CrossRef]
  11. Wang, H.; Ahmed, S.N.; Mandai, M. Efficient detection of mesial temporal sclerosis using hippocampus and CSF features in MRI images. In Proceedings of the 2018 IEEE EMBS International Conference on Biomedical & Health Informatics (BHI), Las Vegas, NV, USA, 4–7 March 2018; pp. 178–181. [Google Scholar]
  12. Barkovich, A.J.; Kuzniecky, R.I. Neuroimaging of focal malformations of cortical development. J. Clin. Neurophysiol. 1996, 13, 481–494. [Google Scholar] [CrossRef]
  13. Ganiler, O. Automated Detection of New Multiple Sclerosis Lesions in longitudinal Brain Magnetic Resonance Imaging. Ph.D. Thesis, Universitat de Girona, Girona, Spain, 2014. [Google Scholar]
  14. Wang, Z.I.; Alexopoulos, A.V.; Jones, S.E.; Jaisani, Z.; Najm, I.M.; Prayson, R.A. The pathology of magnetic-resonance-imaging-negative epilepsy. Mod. Pathol. 2013, 26, 1051–1058. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Pail, M.; Mareček, R.; Hermanová, M.; Slaná, B.; Tyrlíková, I.; Kuba, R.; Brázdil, M. The role of voxel-based morphometry in the detection of cortical dysplasia within the temporal pole in patients with intractable mesial temporal lobe epilepsy. Epilepsia 2012, 53, 1004–1012. [Google Scholar] [CrossRef] [PubMed]
  16. Huppertz, H.J.; Grimm, C.; Fauser, S.; Kassubek, J.; Mader, I.; Hochmuth, A.; Spreer, J.; Schulze-Bonhage, A. Enhanced visualization of blurred gray–white matter junctions in focal cortical dysplasia by voxel-based 3D MRI analysis. Epilepsy Res. 2005, 67, 35–50. [Google Scholar] [CrossRef] [PubMed]
  17. Wong-Kisiel, L.C.; Quiroga, D.F.T.; Kenney-Jung, D.L.; Witte, R.J.; Santana-Almansa, A.; Worrell, G.A.; Britton, J.; Brinkmann, B.H. Morphometric analysis on T1-weighted MRI complements visual MRI review in focal cortical dysplasia. Epilepsy Res. 2018, 140, 184–191. [Google Scholar] [CrossRef] [PubMed]
  18. Dev, K.B.; Jogi, P.S.; Niyas, S.; Vinayagamani, S.; Kesavadas, C.; Rajan, J. Automatic detection and localization of focal cortical dysplasia lesions in MRI using fully convolutional neural network. Biomed. Signal Process. Control 2019, 52, 218–225. [Google Scholar]
  19. Wang, H.; Ahmed, S.N.; Mandal, M. Automated detection of focal cortical dysplasia using a deep convolutional neural network. Comput. Med. Imaging Graph. 2020, 79, 101662. [Google Scholar] [CrossRef]
  20. Fischl, B.; Dale, A.M. Measuring the thickness of the human cerebral cortex from magnetic resonance images. Proc. Natl. Acad. Sci. USA 2000, 97, 11050–11055. [Google Scholar] [CrossRef] [Green Version]
  21. Dale, A.M.; Fischl, B.; Sereno, M.I. Cortical surface-based analysis: I. Segmentation and surface reconstruction. Neuroimage 1999, 9, 179–194. [Google Scholar] [CrossRef]
  22. Kuperberg, G.R.; Broome, M.R.; McGuire, P.K.; David, A.S.; Eddy, M.; Ozawa, F.; Goff, D.; West, W.C.; Williams, S.C.; van der Kouwe, A.J.; et al. Regionally localized thinning of the cerebral cortex in schizophrenia. Arch. Gen. Psychiatry 2003, 60, 878–888. [Google Scholar] [CrossRef] [Green Version]
  23. Peterson, B.S.; Warner, V.; Bansal, R.; Zhu, H.; Hao, X.; Liu, J.; Durkin, K.; Adams, P.B.; Wickramaratne, P.; Weissman, M.M. Cortical thinning in persons at increased familial risk for major depression. Proc. Natl. Acad. Sci. USA 2009, 106, 6273–6278. [Google Scholar] [CrossRef] [Green Version]
  24. Westlye, L.T.; Walhovd, K.B.; Dale, A.M.; Espeseth, T.; Reinvang, I.; Raz, N.; Agartz, I.; Greve, D.N.; Fischl, B.; Fjell, A.M. Increased sensitivity to effects of normal aging and Alzheimer’s disease on cortical thickness by adjustment for local variability in gray/white contrast: A multi-sample MRI study. Neuroimage 2009, 47, 1545–1557. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  25. Frisoni, G.B.; Fox, N.C.; Jack, C.R.; Scheltens, P.; Thompson, P.M. The clinical use of structural MRI in Alzheimer disease. Nat. Rev. Neurol. 2010, 6, 67–77. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  26. Lerch, J.P.; Evans, A.C. Cortical thickness analysis examined through power analysis and a population simulation. Neuroimage 2005, 24, 163–173. [Google Scholar] [CrossRef] [PubMed]
  27. MacDonald, D.; Kabani, N.; Avis, D.; Evans, A.C. Automated 3-D extraction of inner and outer surfaces of cerebral cortex from MRI. NeuroImage 2000, 12, 340–356. [Google Scholar] [CrossRef] [Green Version]
  28. Salat, D.H.; Buckner, R.L.; Snyder, A.Z.; Greve, D.N.; Desikan, R.S.; Busa, E.; Morris, J.C.; Dale, A.M.; Fischl, B. Thinning of the cerebral cortex in aging. Cereb. Cortex 2004, 14, 721–730. [Google Scholar] [CrossRef] [Green Version]
  29. Koza, J.R.; Bennett, F.H.; Andre, D.; Keane, M.A. Automated design of both the topology and sizing of analog electrical circuits using genetic programming. In Artificial Intelligence in Design’96; Springer: Cham, Switzerland, 1996; pp. 151–170. [Google Scholar]
  30. Wright, R.E. Logistic Regression; American Psychological Association: Washington, DC, USA, 1995. [Google Scholar]
  31. Fix, E.; Hodges, J.L. Nonparametric Discrimination: Consistency Properties; Randolph Field, Texas, Project; California University Berkeley: Berkeley, CA, USA, 1951. [Google Scholar]
  32. Altman, N.S. An introduction to kernel and nearest-neighbor nonparametric regression. Am. Stat. 1992, 46, 175–185. [Google Scholar]
  33. Vishwanathan, S.; Murty, M.N. SSVM: A simple SVM algorithm. In Proceedings of the 2002 International Joint Conference on Neural Networks—IJCNN’02 (Cat. No. 02CH37290), Honolulu, HI, USA, 12–17 May 2002; Volume 3, pp. 2393–2398. [Google Scholar]
  34. Gurboga, S.; Sarp, G. Time Dependency Analysis of Automatic Lineament Extraction. Adv. Biomed. Eng. (ABE) 2012, 14, 405–409. [Google Scholar]
  35. Piryonesi, S.M.; El-Diraby, T.E. Role of data analytics in infrastructure asset management: Overcoming data size and quality problems. J. Transp. Eng. Part B Pavements 2020, 146, 04020022. [Google Scholar] [CrossRef]
  36. Russell, S.; Norvig, P. Artificial Intelligence: A Modern Approach; Pearson Education, Inc.: Upper Saddle River, NJ, USA, 2002. [Google Scholar]
  37. Abbasi, B.; Goldenholz, D.M. Machine learning applications in epilepsy. Epilepsia 2019, 60, 2037–2047. [Google Scholar] [CrossRef]
  38. Wang, Z.I.; Jones, S.E.; Jaisani, Z.; Najm, I.M.; Prayson, R.A.; Burgess, R.C.; Krishnan, B.; Ristic, A.; Wong, C.H.; Bingaman, W.; et al. Voxel-based morphometric magnetic resonance imaging (MRI) postprocessing in MRI-negative epilepsies. Ann. Neurol. 2015, 77, 1060–1075. [Google Scholar] [CrossRef] [Green Version]
  39. Demerath, T.; Rubensdörfer, L.; Schwarzwald, R.; Schulze-Bonhage, A.; Altenmüller, D.M.; Kaller, C.; Kober, T.; Huppertz, H.J.; Urbach, H. Morphometric MRI analysis: Improved detection of focal cortical dysplasia using the MP2RAGE sequence. Am. J. Neuroradiol. 2020, 41, 1009–1014. [Google Scholar] [CrossRef] [PubMed]
  40. David, B.; Kröll-Seger, J.; Schuch, F.; Wagner, J.; Wellmer, J.; Woermann, F.; Oehl, B.; Van Paesschen, W.; Breyer, T.; Becker, A.; et al. External validation of automated focal cortical dysplasia detection using morphometric analysis. Epilepsia 2021, 62, 1005–1021. [Google Scholar] [CrossRef] [PubMed]
  41. Del Gaizo, J.; Mofrad, N.; Jensen, J.H.; Clark, D.; Glenn, R.; Helpern, J.; Bonilha, L. Using machine learning to classify temporal lobe epilepsy based on diffusion MRI. Brain Behav. 2017, 7, e00801. [Google Scholar] [CrossRef] [PubMed]
  42. Davoodi-Bojd, E.; Elisevich, K.V.; Schwalb, J.; Air, E.; Soltanian-Zadeh, H. TLE lateralization using whole brain structural connectivity. In Proceedings of the 2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Orlando, FL, USA, 16–20 August 2016; pp. 1103–1106. [Google Scholar]
  43. Kamiya, K.; Amemiya, S.; Suzuki, Y.; Kunii, N.; Kawai, K.; Mori, H.; Kunimatsu, A.; Saito, N.; Aoki, S.; Ohtomo, K. Machine learning of DTI structural brain connectomes for lateralization of temporal lobe epilepsy. Magn. Reson. Med. Sci. 2015, 15, 121–129. [Google Scholar] [CrossRef] [Green Version]
  44. Sahebzamani, G.; Saffar, M.; Soltanian-Zadeh, H. Machine learning based analysis of structural MRI for epilepsy diagnosis. In Proceedings of the 2019 4th International Conference on Pattern Recognition and Image Analysis (IPRIA), Tehran, Iran, 6–7 March 2019; pp. 58–63. [Google Scholar]
  45. Ganji, Z.; Hakak, M.A.; Zamanpour, S.A.; Zare, H. Automatic Detection of Focal Cortical Dysplasia Type II in MRI: Is the Application of Surface-Based Morphometry and Machine Learning Promising? Front. Hum. Neurosci. 2021, 15, 608285. [Google Scholar] [CrossRef]
  46. Feng, C.; Zhao, H.; Tian, M.; Lu, M.; Wen, J. Detecting focal cortical dysplasia lesions from FLAIR-negative images based on cortical thickness. Biomed. Eng. Online 2020, 19, 13. [Google Scholar] [CrossRef] [Green Version]
  47. Gill, R.S.; Hong, S.J.; Fadaie, F.; Caldairou, B.; Bernhardt, B.; Bernasconi, N.; Bernasconi, A. Automated detection of epileptogenic cortical malformations using multimodal MRI. In Deep Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support; Springer: Cham, Switzerland, 2017; pp. 349–356. [Google Scholar]
  48. El Azami, M.; Hammers, A.; Jung, J.; Costes, N.; Bouet, R.; Lartizien, C. Detection of lesions underlying intractable epilepsy on T1-weighted MRI as an outlier detection problem. PLoS ONE 2016, 11, e0161498. [Google Scholar] [CrossRef] [Green Version]
  49. Jin, B.; Krishnan, B.; Adler, S.; Wagstyl, K.; Hu, W.; Jones, S.; Najm, I.; Alexopoulos, A.; Zhang, K.; Zhang, J.; et al. Automated detection of focal cortical dysplasia type II with surface-based magnetic resonance imaging postprocessing and machine learning. Epilepsia 2018, 59, 982–992. [Google Scholar] [CrossRef] [Green Version]
  50. Ahmed, B.; Brodley, C.E.; Blackmon, K.E.; Kuzniecky, R.; Barash, G.; Carlson, C.; Quinn, B.T.; Doyle, W.; French, J.; Devinsky, O.; et al. Cortical feature analysis and machine learning improves detection of “MRI-negative” focal cortical dysplasia. Epilepsy Behav. 2015, 48, 21–28. [Google Scholar] [CrossRef] [Green Version]
  51. Adler, S.; Wagstyl, K.; Gunny, R.; Ronan, L.; Carmichael, D.; Cross, J.H.; Fletcher, P.C.; Baldeweg, T. Novel surface features for automated detection of focal cortical dysplasias in paediatric epilepsy. NeuroImage Clin. 2017, 14, 18–27. [Google Scholar] [CrossRef]
  52. Mo, J.J.; Zhang, J.G.; Li, W.L.; Chen, C.; Zhou, N.J.; Hu, W.H.; Zhang, C.; Wang, Y.; Wang, X.; Liu, C.; et al. Clinical value of machine learning in the automated detection of focal cortical dysplasia using quantitative multimodal surface-based features. Front. Neurosci. 2019, 12, 1008. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  53. Jin, S.H.; Chung, C.K. Electrophysiological resting-state biomarker for diagnosing mesial temporal lobe epilepsy with hippocampal sclerosis. Epilepsy Res. 2017, 129, 138–145. [Google Scholar] [CrossRef] [PubMed]
  54. Rudie, J.D.; Colby, J.B.; Salamon, N. Machine learning classification of mesial temporal sclerosis in epilepsy patients. Epilepsy Res. 2015, 117, 63–69. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  55. Qu, G.; Yuan, Q. Epileptogenic region detection based on deep CNN with transfer learning. In Proceedings of the 2019 IEEE 11th International Conference on Advanced Infocomm Technology (ICAIT), Jinan, China, 18–20 October 2019; pp. 73–77. [Google Scholar]
  56. Chen, X.; Qian, T.; Maréchal, B.; Zhang, G.; Yu, T.; Ren, Z.; Ni, D.; Liu, C.; Fu, Y.; Chen, N.; et al. Quantitative volume-based morphometry in focal cortical dysplasia: A pilot study for lesion localization at the individual level. Eur. J. Radiol. 2018, 105, 240–245. [Google Scholar] [CrossRef]
  57. Aliev, R.; Kondrateva, E.; Sharaev, M.; Bronov, O.; Marinets, A.; Subbotin, S.; Bernstein, A.; Burnaev, E. Convolutional neural networks for automatic detection of Focal Cortical Dysplasia. In Proceedings of the International Conference on Cognitive Sciences, Moscow, Russia, 10–16 October 2020; Springer: Cham, Switzerland, 2020; pp. 582–588. [Google Scholar]
  58. Feng, C.; Zhao, H.; Li, Y.; Wen, J. Automatic localization and segmentation of focal cortical dysplasia in FLAIR-negative patients using a convolutional neural network. J. Appl. Clin. Med. Phys. 2020, 21, 215–226. [Google Scholar] [CrossRef] [PubMed]
  59. Shattuck, D.W.; Leahy, R.M. BrainSuite: An automated cortical surface identification tool. Med. Image Anal. 2002, 6, 129–142. [Google Scholar] [CrossRef]
  60. Prieto, P.B. Las 5 Diferencias Entre Cerebro y Cerebelo. Available online: https://medicoplus.com/neurologia/diferencias-cerebro-cerebelo (accessed on 16 January 2023).
  61. Brownlee, J. Machine Learning Mastery with Weka; 2019; Volume 1. Available online: https://machinelearningmastery.com/machine-learning-mastery-weka/ (accessed on 16 January 2023).
  62. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  63. Geron, A. Hands-On Machine Learning with Scikit-Learn & Tensorflow; O’Reilly Media, Inc.: Sebastopol, CA, USA, 2017; p. 564. [Google Scholar]
Figure 1. Focal cortical dysplasia lesion (A) T1-weighted MRI and (B) FLAIR MRI [10].
Figure 1. Focal cortical dysplasia lesion (A) T1-weighted MRI and (B) FLAIR MRI [10].
Brainsci 13 00487 g001
Figure 2. Mesial temporal sclerosis lesion (a) T1-weighted MRI and (b) FLAIR MRI [11].
Figure 2. Mesial temporal sclerosis lesion (a) T1-weighted MRI and (b) FLAIR MRI [11].
Brainsci 13 00487 g002
Figure 3. SVM hyperplane for linearly separable data points [34].
Figure 3. SVM hyperplane for linearly separable data points [34].
Brainsci 13 00487 g003
Figure 4. Schematic of the study.
Figure 4. Schematic of the study.
Brainsci 13 00487 g004
Figure 5. Three-dimensional T1-weighted MRI for a patient from the data set in coronal view, sagittal view, and axial view, respectively. R indicates the right of the brain, L indicates the left of the brain, S (superior) indicates the top of the body, and I (inferior) indicates the bottom of the body.
Figure 5. Three-dimensional T1-weighted MRI for a patient from the data set in coronal view, sagittal view, and axial view, respectively. R indicates the right of the brain, L indicates the left of the brain, S (superior) indicates the top of the body, and I (inferior) indicates the bottom of the body.
Brainsci 13 00487 g005
Figure 6. Some of the ROI of the brain [60].
Figure 6. Some of the ROI of the brain [60].
Brainsci 13 00487 g006
Figure 7. Accuracy, recall score, and precision of different combinations of measurements in the first experiment.
Figure 7. Accuracy, recall score, and precision of different combinations of measurements in the first experiment.
Brainsci 13 00487 g007
Figure 8. Variance ratio and classification accuracy of principal component analysis (PCA).
Figure 8. Variance ratio and classification accuracy of principal component analysis (PCA).
Brainsci 13 00487 g008
Figure 9. Accuracy, recall score, and precision of ML classifiers after applying K-fold cross-validation and PCA in the second trial.
Figure 9. Accuracy, recall score, and precision of ML classifiers after applying K-fold cross-validation and PCA in the second trial.
Brainsci 13 00487 g009
Table 1. The region of interest (ROI) used in the statistical calculations. R refers to the right region of the brain, and L refers to the left region.
Table 1. The region of interest (ROI) used in the statistical calculations. R refers to the right region of the brain, and L refers to the left region.
ROI_IDName of RegionROI_IDName of RegionROIName of Region
120R. superior frontal gyrus226R. angular gyrus500R. Insula
121L. superior frontal gyrus227L. angular gyrus501L. Insula
130R. middle frontal gyrus228R. superior parietal gyrus612R. caudate nucleus
131L. middle frontal gyrus229L. superior parietal gyrus613L. caudate nucleus
142R. pars opercularis242R. pre-cuneus614R. putamen
143L. pars opercularis243L. pre-cuneus615L. putamen
144R. pars triangularis310R. temporal pole616R. globus pallidus
145L. pars triangularis311L. temporal pole617L. globus pallidus
146R. pars orbitalis322R. superior temporal gyrus620R. nucleus accumbens
147L. pars orbitalis323L. superior temporal gyrus621L. nucleus accumbens
150R. pre-central gyrus324R. transverse temporal gyrus630R. claustrum
151L. pre-central gyrus325L. transverse temporal gyrus631L. claustrum
162R. transvers frontal gyrus326R. middle temporal gyrus640R. thalamus
163L. transvers frontal gyrus327L. middle temporal gyrus641L. thalamus
164R. gyrus rectus328R. inferior temporal gyrus650R. basal forebrain
165L. gyrus rectus329L. inferior temporal gyrus651L. basal forebrain
166R. middle orbito-frontal gyrus330R. fusiforme gyrus660R. lateral geniculate nucleus
167L. middle orbito-frontal gyrus331L. fusiforme gyrus661L. lateral geniculate nucleus
168R. anterior orbito-frontal gyrus342R. parahippocampal gyrus662R. medial geniculate nucleus
169L. anterior orbito-frontal gyrus343L. parahippocampal gyrus663L. medial geniculate nucleus
170R. posterior orbito-frontal gyrus344R. hippocampus670R. superior colliculus
171L. posterior orbito-frontal gyrus345L. hippocampus671L. superior colliculus
172R. lateral orbitofrontal gyrus346R. amygdala680R. inferior colliculus
173L. lateral orbitofrontal gyrus347L. amygdala681L. inferior colliculus
182R. paracentral lobule422R. superior occipital gyrus690R. mamillary body
183L. paracentral lobule423L. superior occipital gyrus691L. mamillary body
184R. cingulate gyrus424R. middle occipital gyrus701L. Ventricular System
185L. cingulate gyrus425L. middle occipital gyrus720R. lateral ventricle
186R. subcallosal gyrus442R. inferior occipital gyrus740third ventricle
187L. subcallosal gyrus443L. inferior occipital gyrus800Brainstem
222R. post-central gyrus444R. lingual gyrus900Cerebellum
223L. post-central gyrus445L. lingual gyrus2000White matter (cerebrum)
224R. supramarginal gyrus446R. cuneus
225L. supramarginal gyrus447L. cuneus
Table 2. Performance analysis of SVM classifier on different combinations of selected measurements.
Table 2. Performance analysis of SVM classifier on different combinations of selected measurements.
Experiment No.AccuracyBest Parameters for AccuracyRecall ScorePrecision
EXP175.00%‘C’: 0.25
‘kernel’: ‘linear’
50.00%75.00%
EXP280.00%‘C’: 0.25
‘kernel’: ‘linear’
83.00%83.00%
EXP375.00%‘C’: 0.25
‘gamma’: 0.1
‘kernel’: ‘rbf’
50.00%75.00%
EXP475.00%‘C’: 0.25
‘kernel’: ‘linear’
50.00%66.66%
EXP575.00%‘C’: 0.25
‘gamma’: 0.1
‘kernel’: ‘rbf’
33.33%66.66%
EXP680.00%‘C’: 0.25
‘kernel’: ‘linear’
83.33%83.33%
EXP780.00%‘C’: 0.25
‘kernel’: ‘linear’
83.33%83.33%
Table 3. Performance analysis of different classifiers on all extracted measurements.
Table 3. Performance analysis of different classifiers on all extracted measurements.
ML Classifier
Name
Best
Parameters
for Accuracy
(If Exist)
Accuracy before
Applying K-Fold
Cross Validation
and PCA
Accuracy after
Applying
K-Fold Cross
Validation Only
Accuracy after
Applying
PCA Only
Accuracy
after
Applying
K-Fold
Cross
Validation
and PCA
Recall
Score
Precis
Ion
Logistic
Regression
(LR)
-66.67%90.00%(n_components
= 20)
66.67%
92.82%75.00%60.00%
K-Nearest
Neighbours
(K-NN)
metric:
‘minkowski’,
and
n_neighbours = 5
77.78%55.00%(n_components
= 20)
77.78%
97.11%75.00%75.00%
Support vector
machine
(SVM)
C = 0.25, and
kernel: ‘linear’
66.67%90.00%(n_components
= 20)
66.67%
96.05%75.00%60.00%
Naive Bayes
“GaussianNB”
-77.78%70.00%(n_components
= 20)
77.78%
81.14%75.00%75.00%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Azzony, S.; Moria, K.; Alghamdi, J. Detecting Cortical Thickness Changes in Epileptogenic Lesions Using Machine Learning. Brain Sci. 2023, 13, 487. https://doi.org/10.3390/brainsci13030487

AMA Style

Azzony S, Moria K, Alghamdi J. Detecting Cortical Thickness Changes in Epileptogenic Lesions Using Machine Learning. Brain Sciences. 2023; 13(3):487. https://doi.org/10.3390/brainsci13030487

Chicago/Turabian Style

Azzony, Sumayya, Kawthar Moria, and Jamaan Alghamdi. 2023. "Detecting Cortical Thickness Changes in Epileptogenic Lesions Using Machine Learning" Brain Sciences 13, no. 3: 487. https://doi.org/10.3390/brainsci13030487

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop