Joint MVMD-based optimal feature selection and FW-LS-TWSVM for motor imagery recognition.
One block of code here has a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 1 match
- [1] § Experiments and results › Experimental Results › Comparison of different frequency band decomposition methods ↔ SH_CSP_FB_withing_session.m, lines 1 to 45 · score 0.84 · 12–18 Hz, 24–30 Hz, 8–12 Hz, 18–24 Hz, Fixed Bandwidth, FB · block
oscr:b:Z2MRMXQCY1GE3-L· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 158 lines · 6 KB · no license · 1 match
- % FB means fixed bandwidth,固定频带
- % 初步设定为4个频带,分别为:
- % 8-12Hz,mu节律
- % 12-18Hz
- % 18-24Hz
- % 24-30Hz,后三个为beta节律的分解,以提出更多的细节特征
- clear,clc;
- % 获取所有文件名
- files = dir('D:\Download\pyproject\testEEGNet\Data\19228725\*.mat');
- low_freq = [8,12,18,24];
- high_freq = [12,18,24,30];
- acc_result = zeros(25,5);
- imf_num = 4;
- for subj = 1:25
- for ses =1:5
- fixed_bandwidth_file_name = ['D:\Download\pyproject\testEEGNet\Data\19228725\fixed_bandwidth\subj_', num2str(subj),'_sess',num2str(ses),'_decomp.mat'];
- % 读取当前session的数据
- file_name = sprintf('sub-%03d_ses-%02d_task_motorimagery_eeg.mat', subj, ses);
- load(fullfile('D:\Download\pyproject\testEEGNet\Data\Shanghaidata',file_name));
- % 截取前500个点,即前5秒的数据
- data_subset = data(:, :, 1:500);
- % 获取数据的维度
- data_num_dimensions=size(data_subset);
- if ~exist(fixed_bandwidth_file_name,'file')
- % 对于所有数据,进行固定频带分解操作
- all_decomp_data = zeros(data_num_dimensions(1),data_num_dimensions(2), data_num_dimensions(3), imf_num);
- result = cell(1, imf_num);
- for trial = 1:data_num_dimensions(1)
- trial_data = zeros(data_num_dimensions(2), data_num_dimensions(3), imf_num);
- for channel =1:data_num_dimensions(2)
- for i =1:4
- trial_data(channel,:,i)=bandpass_filter_within_range(data_subset(trial,channel,:),low_freq(i),high_freq(i),250);
- end
- end
- all_decomp_data(trial,:,:,:)=trial_data;
- if mod(trial,10)==0
- disp(['Subject ',num2str(subj),' Session ',num2str(ses),' trial',num2str(trial),'/',num2str(data_num_dimensions(1)),'Finished!']);
- end
- end
- save(fixed_bandwidth_file_name, 'all_decomp_data', 'labels');
- end
- load(fixed_bandwidth_file_name);
- % 存储到cell中
- for imf_ver = 1:imf_num
- result{imf_ver}=all_decomp_data(:,:,:,imf_ver);
- end
- % 计算csp协方差矩阵和特征矩阵
- % 最后得到的csp特征矩阵为一个1×8的cell,其中每个数据的shape为sample × 4
- csp_matrix_result = cell(1, imf_num);
- csp_feature_result = cell(1, imf_num);
- for i = 1:imf_num
- EEGSignal = struct('x',reshape(result{i},[data_num_dimensions(3),data_num_dimensions(2),data_num_dimensions(1)]),'y',labels);
- csp_matrix_result{i} = learnCSP(EEGSignal);
- csp_feature_result{i} = extractCSPFeatures(EEGSignal,csp_matrix_result{i},2);
- end
- % 获取imf_num个频带拼接起来的特征矩阵sample × imf_num*4
- combined_features_matrix = [];
- % 遍历 cell 数组的每个元素
- for i = 1:imf_num
- % 获取当前 cell 中的矩阵
- current_matrix = csp_feature_result{i};
- % 将当前矩阵与 combined_matrix 水平拼接
- if isempty(combined_features_matrix)
- combined_features_matrix = current_matrix;
- else
- combined_features_matrix = horzcat(combined_features_matrix, current_matrix);
- end
- end
- % 逐步回归挑选特征
- % [~,~,~,eval,~,~,~]=stepwisefit(combined_features_matrix, double(labels'),'display','off','inmodel',inmodel_para);
- [~,~,~,eval,~,~,~]=stepwisefit(combined_features_matrix, double(labels'),'display','off');
- final_index=find(eval);
- if isempty(final_index)
- final_index=1:(imf_num*4);
- end
- altered_combined_features_matrix = combined_features_matrix(:,final_index);
- csp_feature_result = altered_combined_features_matrix;
- X=csp_feature_result;
- Y=labels;
- % 创建 SVM 分类器
- SVMModel = fitcsvm(X, Y, 'KernelFunction', 'linear', 'Standardize', true);
- % 设置 5 折交叉验证
- CVSVMModel = crossval(SVMModel, 'KFold', 5);
- % 计算每折的预测标签
- predictedLabels = kfoldPredict(CVSVMModel);
- % 计算混淆矩阵
- confMat = confusionmat(Y, predictedLabels);
- % 提取TP, FP, FN, TN
- TP = confMat(2,2);
- FP = confMat(1,2);
- FN = confMat(2,1);
- TN = confMat(1,1);
- % 计算 Precision 和 Recall
- Precision = TP / (TP + FP);
- Recall = TP / (TP + FN);
- % 计算 F1 Score
- F1_score = 2 * (Precision * Recall) / (Precision + Recall);
- % 计算 Accuracy
- accuracy = (TP + TN) / (TP + TN + FP + FN);
- acc_result(subj,ses) = accuracy;
- f1_result(subj,ses) = F1_score;
- end
- end
- % file_name = ['SH_fixed_bandwidth_withing_session_result.xlsx'];
- % xlswrite(file_name,acc_result);
- matrix = acc_result;
- % 计算矩阵中所有值的平均值
- overallMean = mean(matrix(:));
- % 输出结果
- disp(['The overall mean of all values in the matrix is: ', num2str(overallMean)]);
- % 计算每行的最大值
- rowMaxValues = max(matrix, [], 2); % 返回每行的最大值,得到 25x1 的向量
- % 计算这些最大值的平均值
- meanOfRowMaxValues = mean(rowMaxValues);
- % 输出结果
- disp(['The mean of the maximum values of each row is: ', num2str(meanOfRowMaxValues)]);
- matrix = f1_result;
- % 计算矩阵中所有值的平均值
- overallMean = mean(matrix(:));
- % 输出结果
- disp(['The overall mean of all values in the matrix is: ', num2str(overallMean)]);
- % 计算每行的最大值
- rowMaxValues = max(matrix, [], 2); % 返回每行的最大值,得到 25x1 的向量
- % 计算这些最大值的平均值
- meanOfRowMaxValues = mean(rowMaxValues);
- % 输出结果
- disp(['The mean of the maximum values of each row is: ', num2str(meanOfRowMaxValues)]);
SH_CSP_FB_withing_session.m at commit 5500aa6, no license · at the source
Overview
- School of Electronics and Information, Zhengzhou University of Light Industry, 166 Science Avenue, Zhengzhou, 450001 Henan China
- Faculty of Engineering, Huanghe Science and Technology College, Zhengzhou, 450063 China
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.
Luser-hub/FW-LS-TWSVM
5500aa68a2411c1d8f52f22f0fcaa350a912347e, 19 January 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
24 files
- BCI_IV_I_CSP_VMD.m, MATLAB, 195 lines
- CSP_VMD.m, MATLAB, 205 lines
- CSP_VMD_withing_session.
m , MATLAB, 322 lines - CSP_VMD_withing_session_
withoutSW.m , MATLAB, 265 lines - CS_BCI_IV_2a_CSP_VMD.m, MATLAB, 275 lines
- CS_BCI_IV_I_CSP_VMD.m, MATLAB, 211 lines
- Physionet_CSP.m, MATLAB, 81 lines
- Physionet_CSP_EMD.m, MATLAB, 200 lines
- Physionet_CSP_FB.m, MATLAB, 167 lines
- Physionet_CSP_python.m, MATLAB, 1 line
- SH_CSP_EMD_withing_sessi
on.m , MATLAB, 204 lines - SH_CSP_FB_withing_sessio
n.m , MATLAB, 158 lines, 1 match - SH_CSP_baseline_withing_
session.m , MATLAB, 92 lines - bandpass_filter_within_r
ange.m , MATLAB, 8 lines - butterFly.m, MATLAB, 37 lines
- calculate_CSP_LDA_ACC.m, MATLAB, 34 lines
- diff_svm/
pso_bilstsvm_gauss/ , MATLAB, 17 linesclassfy.m - extractCSPFeatures.m, MATLAB, 31 lines
- learnCSP.m, MATLAB, 59 lines
- physionet_CSP_VMD.m, MATLAB, 300 lines
- physionet_CSP_VMD_withou
tSW.m , MATLAB, 210 lines - plotDifferentFAplot.m, MATLAB, 60 lines
- plot_MVMD_imf.m, MATLAB, 26 lines
- README.md, Text, 2 lines
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: Luser-hub/
FW-LS-TWSVM
Read it in the paper: doi.org/10.1038/s41598-026-46642-3.
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;
- 23 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
No dataset and no data link were found in the paper.
Data availability statement
The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1038/s41598-026-46642-3.
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, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 7 keywords, 7 MeSH terms, 2 funders, 31 references.
Cite
This paper
Zhi, J., Zhang, Q., Li, Y., Zhang, J., Liu, P., Nan, J., Li, Y., & Li, D. (2026). Joint MVMD-based optimal feature selection and FW-LS-TWSVM for motor imagery recognition. Scientific reports, 16(1), 15648. https://
BibTeX
@article{zhi2026joint,
author = {Zhi, Jun and Zhang, Qichen and Li, Yimin and Zhang, Juqin and Liu, Peisen and Nan, Jiaofen and Li, Yanting and Li, Duan},
title = {{Joint MVMD-based optimal feature selection and FW-LS-TWSVM for motor imagery recognition}},
journal = {Scientific reports},
year = {2026},
month = apr,
volume = {16},
number = {1},
pages = {15648},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/
url = {https://
pmid = {41922634},
pmcid = {PMC13187188}
}
RIS
TY - JOUR
AU - Zhi, Jun
AU - Zhang, Qichen
AU - Li, Yimin
AU - Zhang, Juqin
AU - Liu, Peisen
AU - Nan, Jiaofen
AU - Li, Yanting
AU - Li, Duan
TI - Joint MVMD-based optimal feature selection and FW-LS-TWSVM for motor imagery recognition
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 15648
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Joint MVMD-based optimal feature selection and FW-LS-TWSVM for motor imagery recognition",
"container-title": "Scientific reports",
"author": [
{
"family": "Zhi",
"given": "Jun"
},
{
"family": "Zhang",
"given": "Qichen"
},
{
"family": "Li",
"given": "Yimin"
},
{
"family": "Zhang",
"given": "Juqin"
},
{
"family": "Liu",
"given": "Peisen"
},
{
"family": "Nan",
"given": "Jiaofen"
},
{
"family": "Li",
"given": "Yanting"
},
{
"family": "Li",
"given": "Duan"
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "15648",
"DOI": "10.1038/
"PMID": "41922634",
"PMCID": "PMC13187188",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
1
]
]
}
}
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/s41597-026-07807-x [code]
- A Multimodal fNIRS-EEG Dataset for Unilateral Limb Motor Imagery.Journal: Scientific dataIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, 3 references
- [2] doi:10.1038/s41597-022-01647-1
- A large EEG dataset for studying cross-session variability in motor imagery brain-computer interface.Journal: Scientific dataIn common: EEG, 3 references
- [3] doi:10.3390/brainsci16040363 [code]
- A Band-Aware Riemannian Network with Domain Adaptation for Motor Imagery EEG Signal Decoding.Journal: Brain sciencesIn common: EEG, 3 references
- [4] doi:10.1016/j.isci.2026.114757 [code]
- Decoding P300 as a shared neural mechanism for oddball target detection and working memory updating.Journal: iScienceIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, 1 reference
- [5] doi:10.1038/s41597-025-05036-2 [code]
- TMNRED, A Chinese Language EEG Dataset for Fuzzy Semantic Target Identification in Natural Reading Environments.Journal: Scientific dataIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, 1 reference
- [6] doi:10.1038/s41598-025-25482-7 [code]
- Decoding brain age predictions from sleep electroencephalography across infancy to adolescence.Journal: Scientific reportsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, 1 reference
- [7] doi:10.3390/brainsci15050460 [code]
- MCL-SWT: Mirror Contrastive Learning with Sliding Window Transformer for Subject-Independent EEG Recognition.Journal: Brain sciencesIn common: EEG, 2 references
- [8] doi:10.1038/s41598-025-32207-3 [code]
- Multi-scale EEG feature decoding with Swin Transformers for subject independent motor imagery BCIs.Journal: Scientific reportsIn common: EEG, 2 references
- [9] doi:10.1038/s41598-024-73536-z [code]
- Joint hybrid recursive feature elimination based channel selection and ResGCN for cross session MI recognition.Journal: Scientific reportsIn common: EEG, 2 references
- [10] doi:10.1038/s41598-024-79202-8 [code]
- Partial prior transfer learning based on self-attention CNN for EEG decoding in stroke patients.Journal: Scientific reportsIn common: EEG, 2 references
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, 23 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:ebf0339395751389…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1038/s41598-026-46642-3)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41598-026-46642-3.svg
:target: https://openscicode.org/badge/doi/10.1038/s41598-026-46642-3
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41598-026-46642-3"><img src="https://openscicode.org/badge/doi/10.1038/s41598-026-46642-3.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
