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

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?

 Accepted Answer

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.

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

Eva
on 18 Nov 2021

Answered:

on 24 Nov 2021

Community Treasure Hunt

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

Start Hunting!