Grid search in SVM

4 ビュー (過去 30 日間)
SP
SP 2022 年 7 月 19 日
回答済み: Siraj 2023 年 9 月 5 日
Hi,
I am having training data (train.mat) and testing data (test.mat), I need to perform grid search in this. How can I do svm training with this? Kindly help me with this. Thanks in advance.

回答 (1 件)

Siraj
Siraj 2023 年 9 月 5 日
Hi! It is my understanding that you want to do a grid search to optimize the hypermeters of SVM classifier.
Use the following file to optimize the hyperparameters.
To understand which arguments of the "fitcsvm" function can be optimized using grid search, you can refer to the following documentation https://www.mathworks.com/help/stats/fitcsvm.html#bt9w6j6-2

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by