【发布时间】:2015-03-16 00:18:01
【问题描述】:
e1071 的 SVM 中的成本似乎与 svmlight 的成本不同。 e1071 库的手册对其成本参数进行了如下定义:
cost of constraints violation (default: 1)—it is the ‘C’-constant of the regular-
ization term in the Lagrange formulation
这基本上是允许错误分类。 svmlight 提供了一种权重,在其手册中描述为:
Cost: cost-factor, by which training errors on
positive examples outweight errors on negative
examples (default 1)
这个成本基本上是为了在火车数据的正负数据点数量不相等的情况下进行平衡。 e1071 的 SVM 实现中是否有类似的东西?
【问题讨论】:
标签: machine-learning classification svm svmlight