ObjectiveTo assist improving long-term postoperative seizure-free rate, we aimed to use machine learning algorithms based on neuropsychological data to differentiate temporal lobe epilepsy (TLE) from extratemporal lobe epilepsy (extraTLE), as well as explore the relationship between magnetic resonance imaging (MRI) and neuropsychological tests.MethodsTwenty-three patients with TLE and 23 patients with extraTLE underwent neuropsychological tests and MRI scans before surgery. The least absolute shrinkage and selection operator were firstly employed for feature selection, and a machine learning approach with neuropsychological tests was employed to classify TLE using leave-one-out cross-validation. A generalized linear model was used to analyze the relationship between brain alterations and neuropsychological tests.ResultsWe found that logistic regression with the selected neuropsychological tests generated classification accuracies of 87.0%, with an area under the receiver operating characteristic curve (AUC) of 0.89. Three neuropsychological tests were acquired as significant neuropsychological signatures for the diagnosis of TLE. We also found that the Right-Left Orientation Test difference was related to the superior temporal and the banks of the superior temporal sulcus (bankssts). The Conditional Association Learning Test (CALT) was associated with the cortical thickness difference in the lateral orbitofrontal area between the two groups, and the Component Verbal Fluency Test was associated with the cortical thickness difference in the lateral occipital cortex between the two groups.ConclusionThese results showed that machine learning-based classification with the selected neuropsychological data can successfully classify TLE with high accuracy compared to previous studies, which could provide kind of warning sign for surgery candidate of TLE patients. In addition, understanding the mechanism of cognitive behavior by neuroimaging information could assist doctors in the presurgical evaluation of TLE.