kernel scale in svm ?

조회 수: 14 (최근 30일)
M. A.hsh
M. A.hsh 2025년 10월 15일 17:01
댓글: M. A.hsh 2025년 10월 15일 17:37
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 ?

답변 (1개)

Walter Roberson
Walter Roberson 2025년 10월 15일 17:24
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
M. A.hsh
M. A.hsh 2025년 10월 15일 17:37
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 γ ?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by