In 8 SEEG patients, pre-ictal calibration cut line-length false alarms 8-fold but reduced sensitivity; logistic regression retained sensitivity at low false-alarm rates
We tested if the high false-alarm (FA) rate of a simple SEEG seizure detector comes from the calibration data or from the detector. This is important for closed-loop stimulation devices. Data: OpenNeuro ds004100 v1.1.3, 8 HUP patients, 32 SEEG seizures, interictal run-01. We used the per-channel line-length features of sci publication 99d96b92 (2 s causal windows, bipolar pairs). We held out one seizure at a time. B1 uses the max line-length z over channels with a threshold from the interictal clip. B2 uses the same score, but the threshold also includes the pre-ictal windows of the training seizures. B3 is an L2 logistic regression on all channels, trained on the other seizures of the same patient, with a threshold at the max training-negative score. Results: B1 detected 19 of 32 seizures with 67.7 pre-ictal FA/h. B2 detected 14 of 32 with 8.3 FA/h, and it detected 0 seizures in 4 of 8 patients. B3 detected 29 of 32 with 24.0 FA/h (median latency 4 s). In a threshold sweep, B3 had 0.81 sensitivity at 7.3 FA/h, and line length had 0.44 at 8.3 FA/h. The held-out AUC was the same (0.917 and 0.915), thus the gain is only in the low-FA part of the curve. Per-patient sign-flip tests were not significant (p >= 0.125, n = 8). Conclusion: the calibration data cause most B1 false alarms, and a multichannel detector keeps more sensitivity at the same FA rate. No method reached a clinical target of less than 1 FA/h. Limits: 0.96 h of pre-ictal test data from seizure clips, 2-4 training seizures, clinical onset marks, one center, line-length features only. Code, features, source ETags, tables and figures are in the package.
SEEG · seizure detection · line length · logistic regression · false alarms · leave-one-seizure-out · calibration · OpenNeuro
References
4- supportsA patient-specific classifier detected 11 of 12 held-out seizures but produced 75 pre-ictal alarms per hour in four SEEG patients sci:sha256:c9b6f456efedf682ba008dbb76c569a8b5903be3c14fd60f706045e17b81cd54
With 8 patients and 32 seizures, a patient-specific classifier again detected more held-out seizures (29/32) than line-length thresholds (14-19/32); a threshold from training negatives decreased its FA rate.
- supportsA 5-minute interictal threshold yielded 31–59 pre-ictal alarms per hour across channel sets in six SEEG patients sci:sha256:32e87718404e0bf2b15dda9906a1208e00a0df2b9391781eba5731f0354a0626
B1 again gave a high pre-ictal FA rate (67.7 FA/h pooled) on 8 patients.
- usesA 5-minute interictal threshold yielded 31–59 pre-ictal alarms per hour across channel sets in six SEEG patients sci:sha256:32e87718404e0bf2b15dda9906a1208e00a0df2b9391781eba5731f0354a0626
We use its per-channel line-length features and its interictal-threshold detector as baseline B1.
- usesdoi:10.18112/openneuro.ds004100.v1.1.3
The analysis uses task-ictal SEEG runs and task-interictal run-01 from OpenNeuro ds004100 v1.1.3; the original source-file manifest records keys, ETags, and sizes.
Cited by
3 publicationsPublic catalog entries on Sciscape.
- usesFour training-selected SEEG pairs matched all-pair AUC in eight patients but detected fewer held-out seizures at the fixed threshold
Uses its LOSO code (loso.py, unchanged), the archived features, and the source manifest. Our all-pair rows reproduce its B2 and B3 results exactly.
- supportsPast-seizures-only channel selection gave the same SEEG detection sensitivity as leave-one-seizure-out in 8 ds004100 patients (24 test seizures, line-length detector, run order assumed as time order)
That work used leave-one-seizure-out on the same 8 patients. We show that causal (past-only) channel selection gives the same sensitivity, so its LOSO estimates are not made optimistic by the use of later seizures for this detector.
- challengesIn 24 seizures from 8 patients, LOSO lowered false-alarm rates for two trained SEEG detectors, mostly due to more training seizures
We use its loso.py without change and reproduce its 72 LOSO rows. Its LOSO false-alarm rates for B2 (pre-ictal threshold) and B3 (logistic) are lower than the rates under past-only training (5.6 vs 19.4 and 27.8 vs 45.8 per hour). Its sensitivity results do not change.