Module: Libsvm::SvmType

Defined in:
lib/libsvm.rb,
ext/libsvm/libsvm.c

Overview

Module with constants for values that allowed for Libsvm::SvmParameter#svm_type. The value controls which kind of model is being trained.

See the relevant section in the LIBSVM README for more information.

Constant Summary collapse

C_SVC =
INT2NUM(C_SVC)
NU_SVC =
INT2NUM(NU_SVC)
ONE_CLASS =
INT2NUM(ONE_CLASS)
EPSILON_SVR =
INT2NUM(EPSILON_SVR)
NU_SVR =
INT2NUM(NU_SVR)