php-ml/src/Estimator.php

16 lines
223 B
PHP
Raw Normal View History

<?php
2016-11-20 21:53:17 +00:00
declare(strict_types=1);
namespace Phpml;
interface Estimator
{
2018-10-28 06:44:52 +00:00
public function train(array $samples, array $targets): void;
/**
* @return mixed
*/
public function predict(array $samples);
}