kernel scale in svm ?

In:
template = templateSVM(...
'KernelFunction', 'gaussian', ...
'KernelScale', 3.9, ...
'BoxConstraint', 1, ...
'Standardize', true);
modelSVM = fitcecoc(...
predictors, respones, ...
'Learners', template, ...
'Coding', 'onevsone');
Kernel scale here: represents gamma or sigma ?

Respuestas (1)

Walter Roberson
Walter Roberson el 15 de Oct. de 2025

0 votos

Kernelscale is literally a scaling parameter for the input data.
The input data is recommended to be scaled with respect to a feature before being applied to the Kernel function. When the absolute values of some features range widely or can be large, their inner product can be dominant in the Kernel calculation. So this kernelScale can be used to prevent this from happening. It also helps maintain the information.

1 comentario

M. A.hsh
M. A.hsh el 15 de Oct. de 2025
The equation of the Gaussian (RBF) kernel can be expressed using either σ (sigma) or γ (gamma) depending on convention. In MATLAB’s fitcsvm, the parameter KernelScale corresponds to σ, or γ ?

Iniciar sesión para comentar.

Preguntada:

el 15 de Oct. de 2025

Comentada:

el 15 de Oct. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by