Asadi-Pooya AA, Kashkooli M, Asadi-Pooya A, Malekpour M, Jafari A. Machine learning applications to differentiate comorbid functional seizures and epilepsy from pure functional seizures.
J Psychosom Res 2022;
153:110703. [PMID:
34929547 DOI:
10.1016/j.jpsychores.2021.110703]
[Citation(s) in RCA: 8] [Impact Index Per Article: 2.7] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 07/19/2021] [Revised: 12/09/2021] [Accepted: 12/11/2021] [Indexed: 11/28/2022]
Abstract
PURPOSE
We have utilized different methods in machine learning (ML) to develop the best algorithm to differentiate comorbid functional seizures (FS) and epilepsy from those who have pure FS.
METHODS
This was a retrospective study of an electronic database of patients with seizures. All patients with a diagnosis of FS (with or without comorbid epilepsy) were studied at the outpatient epilepsy clinic at Shiraz University of Medical Sciences, Shiraz, Iran, from 2008 until 2021. We arbitrarily selected 14 features that are important in making the diagnosis of patients with seizures and also are easily obtainable during history taking. Pytorch and Scikit-learn packages were used to construct various models including random forest classifier, decision tree classifier, support vector classifier, k-nearest neighbor, and TabNet classifier.
RESULTS
Three hundred and two patients had FS (82.5%), while 64 patients had FS and comorbid epilepsy (17.5%). The "TabNet classifier" could provide the best sensitivity (90%) and specificity (74%) measures (accuracy of 76%) to help differentiate patients with FS from those with FS and comorbid epilepsy.
CONCLUSION
These satisfactory differentiating measures suggest that the current algorithm could be used in clinical practice to help with the difficult task of distinguishing patients with FS from those with FS and comorbid epilepsy. Based on the results of the current study, we have developed an Application (SeiDx). This App is freely accessible at the following address: https://drive.google.com/file/d/1rAgBXKNPW9bmUCDioaGHHzLBQgzZ-HZ2/view. This App should be validated in a prospective assessment.
Collapse