sklearn.svm.SVC中的超参gamma
class sklearn.svm.SVC(C=1.0, kernel=’rbf’, degree=3, gamma=’auto’)
官方文档是说Kernel coefficient for ‘rbf’, ‘poly’ and ‘sigmoid’. If gamma is ‘auto’ then 1/n_features will be used instead.
大概就是说这个gamma是rbf的核系数。
rbf函数里只有一个simga是额外的系数。那么这个sigma和上面的gamma是什么关系?一回事么?
1个回答
和题主式子里的分母就是倒数关系
$$\text{gamma}=\frac{1}{2\sigma^2}$$
谢谢!
-
yayat
2018-03-28 08:59