4

次の形式の多項式カーネルでscikitSVCを使用します:(1 + xTn.xm)^4。次数4の意味(1とxTn.xmの積)。xTnは転置されるxn値です。scikitのドキュメントを調べると、SVCのパラメーターが指定されています。

    degree : int, optional (default=3)
 |      Degree of kernel function.
 |      It is significant only in 'poly' and 'sigmoid'.
 |  
 |  gamma : float, optional (default=0.0)
 |      Kernel coefficient for 'rbf' and 'poly'.
 |      If gamma is 0.0 then 1/n_features will be used instead.
 |  
 |  coef0 : float, optional (default=0.0)
 |      Independent term in kernel function.
 |      It is only significant in 'poly' and 'sigmoid'.

パラメータ「degree」は関連性があり、4を使用する必要があります。パラメータcoef0は関連性があり、値1を使用する必要があります。正しいですか?「ポリ」の場合、ガンマは非常に不明確です。ガンマにはどの値を使用する必要がありますか?

4

1 に答える 1

6

libsvmドキュメントから: (gamma * u'* v + coef0)^degree(scikit-learnはSVCモデルに基づいています)。ドキュメントを改善するためのプルリクエストはいつでも歓迎されます:)

于 2012-09-01T13:17:07.810 に答える