메소드 | 설명 | |
---|---|---|
__construct ( integer $type, integer $kernel, float $cost = 1, float $nu = 0.5, integer $degree = 3, float $gamma = null, float $coef0, float $epsilon = 0.1, float $tolerance = 0.001, integer $cacheSize = 100, boolean $shrinking = true, boolean $probabilityEstimates = false ) | ||
getModel ( ) : string | ||
predict ( array $samples ) : array | ||
train ( array $samples, array $labels ) |
메소드 | 설명 | |
---|---|---|
buildTrainCommand ( string $trainingSetFileName, string $modelFileName ) : string | ||
getOSExtension ( ) : string |
public __construct ( integer $type, integer $kernel, float $cost = 1, float $nu = 0.5, integer $degree = 3, float $gamma = null, float $coef0, float $epsilon = 0.1, float $tolerance = 0.001, integer $cacheSize = 100, boolean $shrinking = true, boolean $probabilityEstimates = false ) | ||
$type | integer | |
$kernel | integer | |
$cost | float | |
$nu | float | |
$degree | integer | |
$gamma | float | |
$coef0 | float | |
$epsilon | float | |
$tolerance | float | |
$cacheSize | integer | |
$shrinking | boolean | |
$probabilityEstimates | boolean |