The SVM classはじめに
クラス概要SVM
class SVM
{
/* 定数 */
const
int
SVM::C_SVC = 0;
const
int
SVM::NU_SVC = 1;
const
int
SVM::ONE_CLASS = 2;
const
int
SVM::EPSILON_SVR = 3;
const
int
SVM::NU_SVR = 4;
const
int
SVM::KERNEL_LINEAR = 0;
const
int
SVM::KERNEL_POLY = 1;
const
int
SVM::KERNEL_RBF = 2;
const
int
SVM::KERNEL_SIGMOID = 3;
const
int
SVM::KERNEL_PRECOMPUTED = 4;
const
int
SVM::OPT_TYPE = 101;
const
int
SVM::OPT_KERNEL_TYPE = 102;
const
int
SVM::OPT_DEGREE = 103;
const
int
SVM::OPT_SHRINKING = 104;
const
int
SVM::OPT_PROPABILITY = 105;
const
int
SVM::OPT_GAMMA = 201;
const
int
SVM::OPT_NU = 202;
const
int
SVM::OPT_EPS = 203;
const
int
SVM::OPT_P = 204;
const
int
SVM::OPT_COEF_ZERO = 205;
const
int
SVM::OPT_C = 206;
const
int
SVM::OPT_CACHE_SIZE = 207;
/* メソッド */
public __construct()
public float svm::crossvalidate(array
$problem , int $number_of_folds )public array getOptions()
public bool setOptions(array
$params )public SVMModel svm::train(array
}$problem , array $weights = ?)定義済み定数SVM Constants
|