SkillAgentSearch skills...

TLBCI

Matlab source code of the paper "D. Wu, X. Jiang, R. Peng, W. Kong, J. Huang and Z. Zeng, Transfer Learning for Motor Imagery Based Brain-Computer Interfaces: A Complete Pipeline, Information Sciences, 2021, submitted."

Install / Use

/learn @drwuHUST/TLBCI
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TLBCI

Matlab source code of the paper (Transfer Learning for Motor Imagery Based Brain-Computer Interfaces A Tutorial.pdf in this folder):

D. Wu, X. Jiang, R. Peng, Transfer Learning for Motor Imagery Based Brain-Computer Interfaces: A Tutorial, Neural Networks, 153:235-253, 2022.

Run main_Preprocess.m to preprocess the raw EEG data downloaded from BCI Competition IV.

Run main_MI_offline_crossSubject.m and main_MI_online_crossSubject.m to obtain the results in the paper.

Note: svmtrain in wAR.m uses the weighted libsvm at https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#weights_for_data_instances, instead of the traditional (unweighted) svm. Please make sure weighted libsvm is compiled and installed correctly (the .mex files are in the Matlab path) before running the Matlab code.

View on GitHub
GitHub Stars72
CategoryEducation
Updated2mo ago
Forks30

Languages

MATLAB

Security Score

85/100

Audited on Jan 19, 2026

No findings