【问题标题】:SVM Result Meaning in RR中的SVM结果含义
【发布时间】:2021-06-05 02:53:54
【问题描述】:

我不熟悉在 R 中使用 e1071 包进行 SVM 分类。我得到以下结果。

Parameters:
     SVM-Type: nu-classification 
   SVM-Kernel: sigmoid 
        gamma: 0.03225806 
       coef.0: 0 
           nu: 0.5 

Number of Support Vectors:  229

Parameters:
   SVM-Type:  nu-classification 
 SVM-Kernel:  polynomial 
     degree:  3 
      gamma:  0.03225806 
     coef.0:  0 
         nu:  0.5 

Number of Support Vectors:  235

gamma、coef.0、nu 和 degree 是什么意思?

【问题讨论】:

  • 询问结果的含义不是编码问题。更多的理论问题。

标签: r svm e1071


【解决方案1】:
  • Gamma 和 coef.0 是内核中的参数。

一个 sigmoid 内核是 tanh(gamma*u'*v + coef0)。

Degree 与多项式核一起使用,表示多项式的次数。多项式核为 (gamma*u'*v + coef0)^degree。

  • nu 是 nu 分类所需的参数。

【讨论】:

    猜你喜欢
    • 2014-01-13
    • 2011-12-08
    • 2019-01-25
    • 2018-07-27
    • 2016-05-16
    • 2018-04-14
    • 1970-01-01
    • 2013-04-20
    • 2021-10-26
    相关资源
    最近更新 更多