kNN Classification on SSVEP response
3 ビュー (過去 30 日間)
古いコメントを表示
Dear all,
I am currently doing a project on SSVEP-EEG BCI and in the stage of features classification. The raw EEG signal has passing through pre-processing using bandpass filter then DWT and CCA for Features Extraction. I wonder how could I classify the extracted features using kNN for both DWT and CCA? Could someone please help me?
Thank you very much.
0 件のコメント
採用された回答
Star Strider
2019 年 1 月 23 日
In my experience, to use knnsearch (link) with data, the idea is to begin with samples that have known classes, then compare them with the rest of your data. (I did this decades ago using EEG spectrogram data.) The knnsearch algorithm will then discover the closest matches to the known data and use that as the basis of its classification.
I would simply create a matrix of the vectors of the features you want to match, and use that. Of course, the relevant features must be in the same locations in each vector, and the vectors must have the same lengths. I am not certain whether you want to classify the DWT and CCA results separately. You could do that, with separate knnsearch runs, or you could concatenate the DWT and CCA results in each vector and submit those to knnsearch.
I have never done what you are doing, so I have no experience with the techniques you are using.
5 件のコメント
Greg Heath
2019 年 1 月 23 日
I used clusters for decades of missile component (tank/missiles/decoys/deployment-debris) classification before I invented neural networks. I obtained the best results when I began with UNCLASSIFIED CLUSTERING in order to determine the optimal choice for classification cluster centers.
Greg
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!