mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-22 04:55:10 +00:00
19 lines
257 B
PHP
19 lines
257 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Phpml;
|
|
|
|
interface Transformer
|
|
{
|
|
/**
|
|
* @param array $samples
|
|
*/
|
|
public function fit(array $samples);
|
|
|
|
/**
|
|
* @param array $samples
|
|
*/
|
|
public function transform(array &$samples);
|
|
}
|