Resting-state neural oscillations predict individual differences in verbal learning and encoding strategy use.
The 2 matches
- [1] § STAR★Methods › Method details › Neuroimaging › Multi-feature machine learning regression analysis ↔ regress_ML_cvlt_7.py, lines 21–64 · score 0.54 · square error, fits, fold, SVR, model, Linear
- [2] § STAR★Methods › Method details › Neuroimaging › Multi-feature machine learning regression analysis ↔ regress_ML_cvlt_8.py, lines 21–64 · score 0.54 · square error, fits, fold, SVR, model, Linear
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
Python · 154 lines · 5.2 KB · no license · 1 match
- from joblib import Parallel, delayed
- from sklearn.svm import SVR
- import matplotlib.pyplot as plt
- import os.path as op
- import scipy.io as sio
- import numpy as np
- from sklearn.model_selection import KFold
- from sklearn.feature_selection import SequentialFeatureSelector
- import statsmodels.api as sm
- from sklearn.metrics import mean_squared_error
- from sklearn.linear_model import LinearRegression
- from sklearn.preprocessing import StandardScaler
- from sklearn.ensemble import GradientBoostingRegressor
- import time
- start_time = time.time()
- def load_data(freq, root, matrice_name):
- X11= sio.loadmat(op.join(root, matrice_name))[lulu[FREQ.index(freq)]]
- return X11
- def compute_feature(freq, num_feat, X11, target):
- reg = SVR(kernel="linear")
- #reg = GradientBoostingRegressor()
- cv_split = KFold(5)
- y_pred = []
- target_new = []
- for train, test in cv_split.split(X11):
- scaler = StandardScaler()
- norm = scaler.fit(X11[train])
- X1 = norm.transform(X11[train])
- X2 = norm.transform(X11[test])
- reg = SVR(kernel="linear")
- #reg = GradientBoostingRegressor()
- cv = KFold(5)
- sfs = SequentialFeatureSelector(reg, n_features_to_select=num_feat, cv=cv)
- XX1 = sfs.fit_transform(X1, target[train])
- XX2 = sfs.transform(X2)
- reg = SVR(kernel="linear")
- #reg = GradientBoostingRegressor()
- reg.fit(XX1, target[train])
- y_pred_mini = reg.predict(XX2)
- y_pred.append(y_pred_mini)
- target_new.append(target[test])
- target_new = np.concatenate(target_new, axis=0)
- y_pred = np.concatenate(y_pred, axis=0)
- lm = LinearRegression().fit(target_new.reshape(-1, 1), y_pred.reshape(-1, 1))
- rsq = lm.score(target_new.reshape(-1, 1), y_pred.reshape(-1, 1))
- mse = mean_squared_error(target_new.reshape(-1, 1), y_pred.reshape(-1, 1))
- coefficient = lm.coef_[0]
- print(f"mean square error: {mse}")
- XX = sm.add_constant(target_new.reshape(-1, 1))
- model = sm.OLS(y_pred.reshape(-1, 1), XX)
- result = model.fit()
- p_value = result.f_pvalue
- return rsq, mse, coefficient, p_value
- ## params ##
- #matrice_cvlt_2 = 'mat_cvlt.mat'
- matrice_cvlt_2 = 'cvlt_2.mat'
- matrice_name = 'mat_cvlt_300_4.mat'
- FREQ = ['delta', 'theta', 'alpha', 'beta', 'gamma1', 'gamma2', 'gamma3','exp']
- lulu = ['mat_d', 'mat_t', 'mat_a', 'mat_b', 'mat_g1', 'mat_g2', 'mat_g3', 'mat_e']
- #FREQ = ['delta']
- #lulu = ['mat_d']
- #test = 'Absorption'
- #test ='correct_reponse_raw'
- #test ='correct_reponse_std'
- #test ='semantic_clustering'
- #test ='Serial_Clustering_Forward'
- #test ='Serial_Clustering_Bidirectional'
- #test ='Subjective_Clustering_Bidirectional'
- test ='learning_slope_2_5'
- ## path ##
- #root = op.join('/Users', 'victoroswald', 'Documents', 'code', 'Trance','result')
- root = op.join('/home', 'vicolab', 'projects', 'def-kjerbi', 'vicolab', 'cc', 'hamza')
- ## load target ##
- target = sio.loadmat(op.join(root, matrice_cvlt_2))['tata'][:,10]
- mat_rsq = []
- mat_coef = []
- mat_p_val = []
- mat_mse = []
- ## Parallel loop on feature and frequency
- results = Parallel(n_jobs=-1)(delayed(compute_feature)(freq, num_feat, load_data(freq, root, matrice_name), target) for freq in FREQ for num_feat in range(2, 300, 1))
- ## Unpack results
- for result in results:
- mat_rsq.append(result[0])
- mat_mse.append(result[1])
- mat_coef.append(result[2])
- mat_p_val.append(result[3])
- n=298
- ## Save the results in text files
- for i, freq in enumerate(FREQ):
- np.savetxt(root + '/rsq_' + test + '_' + FREQ[i] + '.txt', mat_rsq[i*n:(i+1)*n])
- np.savetxt(root + '/coef_' + test + '_' + FREQ[i]+ '.txt', mat_coef[i*n:(i+1)*n])
- np.savetxt(root + '/p_val_' + test + '_' + FREQ[i] + '.txt', mat_p_val[i*n:(i+1)*n])
- np.savetxt(root + '/MSE_' + test + '_' + FREQ[i] + '.txt', mat_mse[i*n:(i+1)*n])
- ## Save the results in a single file
- np.savetxt(root + '/results_' + test + '.txt', np.column_stack((mat_rsq, mat_mse, mat_coef, mat_p_val)),
- header="R-squared, Mean Squared Error, Coefficient, P-value", delimiter=",", fmt='%.6f')
- ## Plot the results for all frequencies on a single plot
- for i, freq in enumerate(FREQ):
- plt.plot(range(2, 300), mat_rsq[i*n:(i+1)*n], label=freq)
- plt.xlabel('Number of Features')
- plt.ylabel('R-squared')
- plt.legend()
- plt.savefig(root + '/rsq_' + test + '.png')
- plt.clf()
- for i, freq in enumerate(FREQ):
- plt.plot(range(2, 300), mat_coef[i*n:(i+1)*n], label=freq)
- plt.xlabel('Number of Features')
- plt.ylabel('Coefficient')
- plt.legend()
- plt.savefig(root + '/coef_' + test + '.png')
- plt.clf()
- for i, freq in enumerate(FREQ):
- plt.plot(range(2, 300), mat_p_val[i*n:(i+1)*n], label=freq)
- plt.axhline(y=0.05, color='black', linestyle='--')
- plt.xlabel('Number of Features')
- plt.ylabel('P-value')
- plt.legend()
- plt.savefig(root + '/p_val_' + test + '.png')
- plt.clf()
- for i, freq in enumerate(FREQ):
- plt.plot(range(2, 300), mat_mse[i*n:(i+1)*n], label=freq)
- plt.xlabel('Number of Features')
- plt.ylabel('Mean Squared Error')
- plt.legend()
- plt.savefig(root + '/MSE_' + test + '.png')
- plt.clf()
- end_time = time.time() # Enregistrer l'heure de fin
- elapsed_time = end_time - start_time # Calculer le temps écoulé
- print(f"Elapsed time : {elapsed_time:.2f} seconds")
regress_ML_cvlt_7.py at commit 8500f5b, no license · at the source
Overview
- Computational and Cognitive Neuroscience Laboratory, University of Montreal, Montreal, QC, Canada
- Department of Psychology, University of Montreal, Montreal, QC, Canada
- Mila – Quebec AI Institute, Montreal, QC, Canada
- CHU Sainte-Justine Research Center, Montreal, QC, Canada
- Department de Psychiatry, University of Montreal, Montreal, QC, Canada
- Children’s Hospital of Eastern Ontario, Ottawa, ON, Canada
- Department de Psychiatry, University of Ottawa, Ottawa, ON, Canada
- UNIQUE Center (Unifying Neuroscience and Artificial Intelligence – Québec), Montreal, QC, Canada
Abstract
Individuals adopt different encoding strategies to facilitate learning, yet few studies have examined the neurophysiological basis of these strategies across individuals. The present work addresses this gap by extending our previous findings on the direct relationship between cortical spectral power, measured via resting-state magnetoencephalography, and standard cognitive performance, to test whether resting-state neural features predict individual differences in encoding strategy preferences. Our results highlight the complex interactions between endogenous brain oscillations, learning, and verbal encoding strategies assessed by the California Verbal Learning Test-Second Edition (CVLT-2). First, resting-state theta oscillations were significantly associated with verbal learning and subjective clustering strategies. Second, semantic clustering was facilitated by oscillatory patterns in the left sensory-motor regions. Finally, serial and semantic clustering strategies showed opposite regression patterns, indicating a competitive interaction. Together, these findings provide insights into resting-state neural markers associated with diverse encoding strategies in verbal learning.
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
Zenodo 21395000
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
6 files
- data_job_cvlt_7.sh, Shell, 15 lines
- data_job_cvlt_8.sh, Shell, 15 lines
- data_job_cvlt_9.sh, Shell, 15 lines
- regress_ML_cvlt_7.py, Python, 154 lines
- regress_ML_cvlt_8.py, Python, 154 lines
- regress_ML_cvlt_9.py, Python, 154 lines
LIKACT/CVLT_MEG_ML
8500f5b209f2f696773739267fda2473d4236868, 16 July 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
6 files
- data_job_cvlt_7.sh, Shell, 15 lines
- data_job_cvlt_8.sh, Shell, 15 lines
- data_job_cvlt_9.sh, Shell, 15 lines
- regress_ML_cvlt_7.py, Python, 154 lines, 1 match
- regress_ML_cvlt_8.py, Python, 154 lines, 1 match
- regress_ML_cvlt_9.py, Python, 154 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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 12 scripts, each with its path and the digest of its content;
- 2 matches 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
No dataset and no data link were found in the paper.
Data and code availability
Data: All data reported in this paper have been deposited at Zenodo and are publicly available as of the date of publication. The DOI is listed in the key resources table (https://
Code: All original code used in this study (the multi-feature machine learning regression and mediation analyses) has been deposited at Zenodo and is publicly available as of the date of publication. The DOI is listed in the key resources table (https://
Additional information: Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.
Reproduced under the paper's license (CC BY-NC), 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 2, 28 September 2026
- Authors: added Victor Oswald (0000-0002-4684-3965); removed Victor Oswald
- Funding: added Canada Research Chairs: RGPIN-2015-04854; Université de Montréal; Natural Sciences and Engineering Research Council of Canada: RGPIN-2015, RGPIN-2015-04854; Fonds de recherche du Québec – Nature et technologies: RGPIN-2015-04854, RQT00121
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 4 keywords, 75 references, 4 RRIDs.
Cite
This paper
Oswald, V., Landry, M., Abdelhedi, H., Lippé, S., Robaey, P., & Jerbi, K. (2026). Resting-state neural oscillations predict individual differences in verbal learning and encoding strategy use. iScience, 29(9), 117377. https://
BibTeX
@article{oswald2026resti
author = {Oswald, Victor and Landry, Mathieu and Abdelhedi, Hamza and Lippé, Sarah and Robaey, Philippe and Jerbi, Karim},
title = {{Resting-state neural oscillations predict individual differences in verbal learning and encoding strategy use}},
journal = {iScience},
year = {2026},
month = aug,
volume = {29},
number = {9},
pages = {117377},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/
url = {https://
pmid = {42729535},
pmcid = {PMC13562390}
}
RIS
TY - JOUR
AU - Oswald, Victor
AU - Landry, Mathieu
AU - Abdelhedi, Hamza
AU - Lippé, Sarah
AU - Robaey, Philippe
AU - Jerbi, Karim
TI - Resting-state neural oscillations predict individual differences in verbal learning and encoding strategy use
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/
VL - 29
IS - 9
SP - 117377
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Resting-state neural oscillations predict individual differences in verbal learning and encoding strategy use",
"container-title": "iScience",
"author": [
{
"family": "Oswald",
"given": "Victor"
},
{
"family": "Landry",
"given": "Mathieu"
},
{
"family": "Abdelhedi",
"given": "Hamza"
},
{
"family": "Lippé",
"given": "Sarah"
},
{
"family": "Robaey",
"given": "Philippe"
},
{
"family": "Jerbi",
"given": "Karim"
}
],
"container-title-short":
"volume": "29",
"issue": "9",
"page": "117377",
"DOI": "10.1016/
"PMID": "42729535",
"PMCID": "PMC13562390",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
31
]
]
}
}
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.1162/imag.a.1034 [code]
- Top-down selection of visual working memory contents is supported by alpha-band phase-synchronized oscillatory networksJournal: n/aIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, MEG, cognitive, 4 references
- [2] doi:10.1162/nol.a.247 [code]
- Same Sentences, Different Grammars, Different Brain Responses?
: An MEG Study on Case and Agreement Encoding in Hindi and Nepali Split-Ergative Structures. Journal: Neurobiology of language (Cambridge, Mass.)In common: statsmodels, SciPy, Matplotlib, 1 other tool, MEG, 3 references - [3] doi:10.1016/j.isci.2026.117285 [code]
- Working memory demands modulate memory brain state engagement.Journal: iScienceIn common: statsmodels, SciPy, Matplotlib, 1 other tool, cognitive, 3 references
- [4] doi:10.1038/s41467-026-71428-6 [code]
- Binding items to contexts through conjunctive neural representations with the method of loci.Journal: Nature communicationsIn common: statsmodels, scikit-learn, SciPy, 2 other tools, 2 references
- [5] doi:10.1523/eneuro.0254-25.2026 [code]
- Spatiotemporal Dynamics in Prespeech Semantic Category Decoding: An Intracranial EEG Study.Journal: eNeuroIn common: statsmodels, scikit-learn, SciPy, 2 other tools, cognitive, 2 references
- [6] doi:10.1038/s41467-026-74466-2 [code]
- Neuromorphic hierarchical modular reservoirs.Journal: Nature communicationsIn common: statsmodels, scikit-learn, SciPy, 2 other tools, 3 references
- [7] doi:10.1162/imag.a.1226 [code]
- A neuroscientist's guide to neural burst detection.Journal: Imaging neuroscience (Cambridge, Mass.)In common: statsmodels, scikit-learn, SciPy, 2 other tools, 3 references
- [8] doi:10.1038/s42003-026-10071-9 [code]
- Alpha phase coding supports feature binding during working memory maintenance.Journal: Communications biologyIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, MEG, cognitive, 2 references
- [9] doi:10.1038/s42003-026-10108-z [code]
- Time-resolved EEG decoding reveals altered neural dynamics of affective semantic evaluation in depression and suicidality.Journal: Communications biologyIn common: statsmodels, scikit-learn, SciPy, 2 other tools, cognitive, 2 references
- [10] doi:10.1093/cercor/bhag075 [code]
- Cortical dynamics of icon perception: effects of concreteness and attractiveness.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: statsmodels, scikit-learn, SciPy, 2 other tools, MEG, cognitive, 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: 2 repositories of the authors' code, each at its verified commit and with its license, 12 scripts, and 2 matches 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:a0f14225b37c2faa…
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.
