Method | Description | |
---|---|---|
__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 ) |
Method | Description | |
---|---|---|
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[] | ||
return | array | phpml\Transformer[] |
public setEstimator ( phpml\Estimator $estimator ) | ||
$estimator | phpml\Estimator |