mcordingley/Regression

View on GitHub
src/Algorithm/Algorithm.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types = 1);

namespace MCordingley\Regression\Algorithm;

use InvalidArgumentException;
use MCordingley\Regression\Data\Collection;

interface Algorithm
{
    /**
     * @param Collection $observations
     * @return array
     * @throws InvalidArgumentException
     */
    public function regress(Collection $observations): array;
}