selecting c and gamma value

前端 未结 4 2078
旧巷少年郎
旧巷少年郎 2021-02-08 15:33

Hi I am performing SVM classification using SMO, in which my kernel is RBF, now I want to select c and sigma values, using grid search and cros

4条回答
  •  梦如初夏
    2021-02-08 16:08

    I will just add a little bit of explanation to larsmans' answer.

    The C parameter is a regularization/slack parameter. Its smaller values force the weights to be small. The larger it gets, the allowed range of weights gets wider. Resultantly, larger C values increase the penalty for misclassification and thus reduce the classification error rate on the training data (which may lead to over-fitting). Your training time and number of support vectors will increase as you increase the value of C.

    You may also find it useful to read Extending SVM to a Soft Margin Classifier by K.K. Chin.

提交回复
热议问题