Метод | Описание | |
---|---|---|
__construct ( array $transformers, phpml\Estimator $estimator ) | ||
addTransformer ( phpml\Transformer $transformer ) | ||
getEstimator ( ) : phpml\Estimator | ||
getTransformers ( ) : array | phpml\Transformer[] | ||
predict ( array $samples ) : mixed | ||
setEstimator ( phpml\Estimator $estimator ) | ||
train ( array $samples, array $targets ) |
Метод | Описание | |
---|---|---|
fitTransformers ( array &$samples ) | ||
transformSamples ( array &$samples ) |
public __construct ( array $transformers, phpml\Estimator $estimator ) | ||
$transformers | array | |
$estimator | phpml\Estimator |
public addTransformer ( phpml\Transformer $transformer ) | ||
$transformer | phpml\Transformer |
public getTransformers ( ) : array | phpml\Transformer[] | ||
Результат | array | phpml\Transformer[] |
public setEstimator ( phpml\Estimator $estimator ) | ||
$estimator | phpml\Estimator |