What is the right formula for the RBF 'KernelScale' of fitcsvm?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sofiane Kharbech
le 4 Mai 2018
Modifié(e) : Ayush Anand
le 12 Jan 2024
RBF kernel function is defined as exp(-1/(2*sigma^2) ....
The option 'KernelScale' of the Matlab function fitcsvm, does it refer to sigma, sigma^2, 2*sigma^2, or sqrt(2)*sigma ?
0 commentaires
Réponse acceptée
Ayush Anand
le 12 Jan 2024
Modifié(e) : Ayush Anand
le 12 Jan 2024
Hi,
The RBF kernel function is defined as :
The "KernelScale" option in the function "fitcsvm" refers to σ (sigma) in the above equation.
You can read more through the definition of parameters of the "fitcsvm" function here:
Hope this helps!
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!