Can i find the KernelScale that was found automatically in fitcsvm?

3 ビュー (過去 30 日間)
Eva
Eva 2021 年 11 月 18 日
回答済み: Prince Kumar 2021 年 11 月 24 日
I used the function fitcsvm as follows:
mdl = fitcsvm(data,'Type','KernelFunction','rbf','KernelScale','auto')
Thus, the software automatically selects an appropriate kernel scale.
I am interested to know what kernel scale was selected.
Can I find this somewhere?

採用された回答

Prince Kumar
Prince Kumar 2021 年 11 月 24 日
Hi Eva de Bock,
Yes you can find the kernel scale by using the executing the following code in MATALB terminal
>> mdl.KernelParameters.Scale
Alternatively you can go to worksapce and check for 'KernelParameters' property of mdl.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by