Problems with Common Spatial Pattern(CSP-Algorithm)
Show older comments
Hello, I downloaded the dataset(Dataset1) from BCI competition IV and trying to apply Common Spatial Pattern(CSP). I separated the two data set into two classes (class1 and class2). I passed them through CSP.m file and got the output as 59*59 matrix. I took first column representing as class1 and last column representing as class2 and then classified them but shockingly i got only 59% classification.I have attached CSP.m. Cant figure out what mistake I have made.Could anyone help me out please.thanks in advance
Regards,
2 Comments
xiao
on 9 Jul 2019
Hello, I've seen your CSP function and there's nothing wrong with it. I wonder if there's something wrong with your data partitioning and parameter selection of classifier, which results in lower experimental results. You can send out your other code together. Let's study it together and see where we can improve it. I used the MI matrix generated by mutual information and the CSP combined with SVM to get about 86% of the results. Now I am trying to improve the accuracy.
Afrida Mamud
on 8 May 2021
hi i am using the dataset IVa from BCI competition III and trying to apply Common Spatial Pattern(CSP). I separated the two data set into two classes. but i cant traspose the data of class1. Cant figure out what mistake I have made.Could anyone help me out please.thanks in advance
Answers (0)
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!