Neuronal silence as a predictive biomarker and target for epileptic seizures suppression.
The 1 match
- [1] § Results › Random neuronal network ↔ Random Forest/RF_code.ipynb, lines 45–69 · score 0.54 · absolute error, Random Forest, Pearson, trained, predicting, model
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Jupyter notebook · 102 lines · 3.3 KB · no license · 1 match
- # %%
- import pandas as pd
- import statistics
- import math
- from scipy import stats
- import numpy as np
- from collections import Counter
- import seaborn as sns
- import matplotlib.pyplot as plt
- import matplotlib as mpl
- import random
- import pylab as rcParams
- from statsmodels.tsa.seasonal import seasonal_decompose
- from pandas.plotting import register_matplotlib_converters
- from sklearn.model_selection import train_test_split
- from sklearn.ensemble import RandomForestRegressor
- from sklearn.preprocessing import RobustScaler
- from sklearn.metrics import mean_squared_error
- from sklearn.metrics import r2_score
- import warnings
- warnings.filterwarnings("ignore")
- # %%
- # loading the Mean silence time with its delays and R
- df_T = pd.read_csv("Mean_Silence_Time_gsyn0.001811.csv") # this dataframe contains the complete time series that we used to train the RF in the paper. It is possible to use the others time series as well
- df = pd.read_csv("Mean_Silence_Time_gsyn0.001825.csv") # this dataframe contains the complete time series
- # %%
- plt.figure(figsize=(20, 8))
- plt.suptitle('Complete Time Series of R(t) and <T>', fontsize=16)
- plt.subplot(2, 1, 1)
- plt.plot(df['time']/1000, df['R'], label='R(t)', c='red')
- plt.xlim(0,1000)
- plt.xlabel('Time (s)', fontsize=14)
- plt.ylabel('R(t)', fontsize=14)
- plt.subplot(2, 1, 2)
- plt.plot(df['time']/1000, df['T'], label='<T>', c='green')
- plt.xlim(0,1000)
- plt.xlabel('Time (s)', fontsize=14)
- plt.ylabel('<T> (ms)', fontsize=14)
- # %%
- from sklearn.model_selection import train_test_split
- from sklearn.metrics import mean_absolute_error
- ######### Here we are training the Random Forest model ##############
- #y: target
- #X: Characteristics
- X= df_T.drop(['time'], axis=1)
- X= X.drop(['R'], axis=1)
- y = df_T['R']
- X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.5, random_state=18)
- rf = RandomForestRegressor(criterion='absolute_error',n_estimators = 200, max_features = 0.2, max_depth = 30, bootstrap=True, random_state = 18).fit(X_train, y_train)
- prediction_train = rf.predict(X_train)
- prediction_test = rf.predict(X_test)
- absolute_error = mean_absolute_error(y_test, prediction_test)
- r = pearsonr(y_test, prediction_test)
- r2 = r2_score(y_test, prediction_test)
- print("Evaluation of the model on the test set:")
- print("Absolute error = %.3f, PearsonR = %.3f, R2 = %.3f" % (np.mean(absolute_error), r[0], r2))
- # %%
- #once the model is trained, we can use it to predict the whole time series. We can also do the prediction of different time series with different parameters
- # to change the time series to try it out we have to change the dataframe df
- df = pd.read_csv("Mean_Silence_Time_gsyn0.001825.csv")
- X = df.drop(['time'], axis=1)
- X = X.drop(['R'], axis=1)
- y = df['R']
- prediction = rf.predict(X)
- absolute_error = mean_absolute_error(y, prediction)
- r = pearsonr(y, prediction)
- r2 = r2_score(y, prediction)
- print("Using the complete time series:")
- print("Absolute error = %.3f, PearsonR = %.3f, R2 = %.3f" % (np.mean(absolute_error), r[0], r2))
- # %%
- plt.figure(figsize=(20, 8))
- plt.subplot(2, 1, 1)
- plt.plot(df['time']/1000, df['R'], label='R(t)', c='red')
- plt.xlabel('Time (s)', fontsize=14)
- plt.ylabel('R(t)', fontsize=14)
- plt.subplot(2, 1, 2)
- plt.plot(df['time']/1000, prediction, label='R_pred', c='black')
- plt.xlabel('Time (s)', fontsize=14)
- plt.ylabel('R_pred', fontsize=14)
RF_code.ipynb at commit 2b49c0a, no license · at the source
Overview
- Graduate Program in Sciences, State University of Ponta Grossa,Ponta Grossa, Paraná Brazil
- Institute of Physics, University of São Paulo,São Paulo, Brazil
- Graduate Program in Electrical Engineering and Industrial Informatics, Federal University of Technology of Paraná,Curitiba, Paraná Brazil
- Department of Physiology and Pharmacology, State University of New York Downstate Health Sciences University,New York, NY USA
- Center for Biomedical Imaging and Neuromodulation, The Nathan S. Kline Institute for Psychiatric Research,New York, USA
- Department of Mathematics and Statistics, State University of Ponta Grossa,Ponta Grossa, Paraná Brazil
- Center for Mathematics, Computation, and Cognition, Federal University of ABC,São Bernardo do Campo, São Paulo Brazil
Abstract
Epilepsy is a prevalent neurological disorder marked by abnormal synchronized neuronal firing, which can often lead to long-term cognitive and physical impairments. In this work, we introduce a reliable biomarker for seizure prediction. Through simulations of a conductance-based neuronal network model that reproduces spontaneous seizure-like events, we identify that slow potassium channels play an important role in seizure generation. Our key finding is the consistent presence of a prolonged period of neuronal silence that precedes the seizure onset, establishing it as a physiologically relevant biomarker for seizure prediction. Notably, this silence is also identified in human electrophysiological data, confirming its physiological and clinical relevance. Based on this biomarker, we develop a targeted suppression strategy that, in our simulations, significantly shortens long seizure duration by up to 93%. Our results establish the network silence as a predictive and clinically translatable biomarker for seizure dynamics, opening new avenues for improved forecasting and personalized neuromodulation therapies in epilepsy.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.
DiogoLeonai/Neuronal-silence-as-an-epileptic-seizure-biomarker
2b49c0abd5716644bab18f16213c85a556f0faf3, 14 April 2026Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
4 files
- Neuronal model simulation/
Neuronal_model_computing , C, 664 lines_T_R_CV.c - Neuronal model simulation/
plots.ipynb , Jupyter, 74 lines - Random Forest/
RF_code.ipynb , Jupyter, 102 lines, 1 match - README.md, Text, 66 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 3 scripts, each with its path and the digest of its content;
- 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- zenodo:836286, at Zenodo; found in “Data availability”
Data availability
The codes generated and analyzed during the current study are available in the GitHub repository (https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 29 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 7 keywords, 8 MeSH terms, 4 funders, 67 references.
Cite
This paper
Souza, D. L. M., Bentivoglio, L. E., Gabrick, E. C., Protachevicz, P. R., Caldas, I. L., Iarosz, K. C., Dura-Bernal, S., Batista, A. M., & Borges, F. S. (2026). Neuronal silence as a predictive biomarker and target for epileptic seizures suppression. Scientific reports, 16(1), 16732. https://
BibTeX
@article{souza2026neuron
author = {Souza, Diogo L. M. and Bentivoglio, Lucas E. and Gabrick, Enrique C. and Protachevicz, Paulo R. and Caldas, Iberê L. and Iarosz, Kelly C. and Dura-Bernal, Salvador and Batista, Antonio M. and Borges, Fernando S.},
title = {{Neuronal silence as a predictive biomarker and target for epileptic seizures suppression}},
journal = {Scientific reports},
year = {2026},
month = apr,
volume = {16},
number = {1},
pages = {16732},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/
url = {https://
pmid = {41957397},
pmcid = {PMC13223270}
}
RIS
TY - JOUR
AU - Souza, Diogo L. M.
AU - Bentivoglio, Lucas E.
AU - Gabrick, Enrique C.
AU - Protachevicz, Paulo R.
AU - Caldas, Iberê L.
AU - Iarosz, Kelly C.
AU - Dura-Bernal, Salvador
AU - Batista, Antonio M.
AU - Borges, Fernando S.
TI - Neuronal silence as a predictive biomarker and target for epileptic seizures suppression
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 16732
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Neuronal silence as a predictive biomarker and target for epileptic seizures suppression",
"container-title": "Scientific reports",
"author": [
{
"family": "Souza",
"given": "Diogo L. M."
},
{
"family": "Bentivoglio",
"given": "Lucas E."
},
{
"family": "Gabrick",
"given": "Enrique C."
},
{
"family": "Protachevicz",
"given": "Paulo R."
},
{
"family": "Caldas",
"given": "Iberê L."
},
{
"family": "Iarosz",
"given": "Kelly C."
},
{
"family": "Dura-Bernal",
"given": "Salvador"
},
{
"family": "Batista",
"given": "Antonio M."
},
{
"family": "Borges",
"given": "Fernando S."
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "16732",
"DOI": "10.1038/
"PMID": "41957397",
"PMCID": "PMC13223270",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
9
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41598-026-43151-1 [code]
- Stabilizing fractional dynamical networks suppresses epileptic seizures.Journal: Scientific reportsIn common: statsmodels, seaborn, scikit-learn, 4 other tools, epilepsy, EEG, 3 references
- [2] doi:10.1038/s41593-026-02258-4 [code]
- Laminar organization of cellular microcircuits modulating human interictal epileptiform discharges.Journal: Nature neuroscienceIn common: statsmodels, seaborn, scikit-learn, 4 other tools, epilepsy, EEG, 2 references
- [3] doi:10.1016/j.neurot.2026.e01031
- Single-neuron responses to neurostimulation: Insights for epilepsy.Journal: Neurotherapeutics : the journal of the American Society for Experimental NeuroTherapeuticsIn common: epilepsy, clinical / translational, 4 references
- [4] doi:10.1016/j.ebiom.2026.106362 [code]
- Neuron-derived neurotrophic factor-positive interneurons: a cellular target for anti-seizure therapies.Journal: EBioMedicineIn common: scikit-learn, pandas, SciPy, 2 other tools, epilepsy, 2 references
- [5] doi:10.1093/braincomms/fcag088 [code]
- Dual mechanism of anti-seizure medications in controlling seizure activity.Journal: Brain communicationsIn common: statsmodels, seaborn, pandas, 3 other tools, epilepsy, 1 reference
- [6] doi:10.1038/s41593-026-02376-z [code]
- A framework for comparative analysis of human and mouse cortical neuron dendrites in corresponding brain regions.Journal: Nature neuroscienceIn common: statsmodels, seaborn, scikit-learn, 4 other tools, 1 reference
- [7] doi:10.1007/s00234-026-04103-8 [code]
- Enhanced detection of subtle cortical abnormalities in focal epilepsy using 7 T MRI surface-based models and graph neural networks.Journal: NeuroradiologyIn common: statsmodels, seaborn, scikit-learn, 4 other tools, epilepsy, EEG
- [8] doi:10.1002/ana.78203 [code]
- AI-Driven Mapping of Seizure Spread Patterns.Journal: Annals of neurologyIn common: statsmodels, seaborn, scikit-learn, 4 other tools, epilepsy, EEG
- [9] doi:10.1002/epi4.70336 [code]
- Quantifying extra-lesional interhemispheric cortical asymmetry in focal cortical dysplasia type II.Journal: Epilepsia openIn common: statsmodels, seaborn, scikit-learn, 4 other tools, epilepsy, clinical / translational
- [10] doi:10.1371/journal.pcbi.1014657 [code]
- Population morphology implies a common developmental blueprint for Drosophila motion detectors.Journal: PLoS computational biologyIn common: statsmodels, seaborn, scikit-learn, 4 other tools, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 3 scripts, and 1 match between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:ec8cd0bedb1e6e9f…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
