PHP Interface PHPML\Estimator

显示文件 Open project: php-ai/php-ml

Public Methods

Method Description
predict ( array $samples ) : mixed
train ( array $samples, array $targets )

Method Details

predict() public method

public predict ( array $samples ) : mixed
$samples array
return mixed

train() public method

public train ( array $samples, array $targets )
$samples array
$targets array