Skip to content
/ TLBCI Public

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."

Notifications You must be signed in to change notification settings

drwuHUST/TLBCI

Repository files navigation

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.

About

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."

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages