フィルターのクリア

How to adapt the matlab code which is produced by classification learner?

2 ビュー (過去 30 日間)
Zaid Alyasseri
Zaid Alyasseri 2018 年 5 月 22 日
コメント済み: Helin 2024 年 5 月 20 日
I have EEG dataset which is content 109 subjects and the EEG signals recorded from 64 electrodes. While the AR coefficients extracted as features. Then I tested these features using classification learner App . I found the best results obtain with Cubic SVM classifier. So my question how can I used the Cubic
SVM as a function for further experiments.

採用された回答

Stephan
Stephan 2018 年 5 月 22 日
編集済み: Stephan 2018 年 5 月 22 日
Hi,
You can export the model in 3 ways. Usually the best way is to export matlab code to perform further calculations and change it the way you need for your purpose.
To do this choose the little arrow on the export button and choose the option you need. After this you have a script or a struct in workspace (depending on the option you choosed). The script contains a good commented description how to perform new predictions / classifications.
If you export the model you find an example how to make predictions with new data in the command window. If you follow these instructions it is pretty easy to use it. Just save as a .mat file for future and use it.
See an example for using classification model here:
or for multiclass models:
Best regards
Stephan

その他の回答 (1 件)

Zaid Alyasseri
Zaid Alyasseri 2018 年 5 月 26 日
Thanks a lot Stephan

カテゴリ

Help Center および File ExchangeEEG/MEG/ECoG についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by