for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare (strict_types = 1);
namespace Phpml\Regression;
class LeastSquares implements Regression
{
/**
* @var array
*/
private $features;
private $targets;
* @param array $features
* @param array $targets
public function train(array $features, array $targets)
$this->features = $features;
$this->targets = $targets;
}
*
* @return mixed
public function predict(array $features)