mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-13 08:56:29 +00:00
16 lines
224 B
PHP
16 lines
224 B
PHP
|
<?php
|
||
|
|
||
|
declare (strict_types = 1);
|
||
|
|
||
|
namespace Phpml\FeatureExtraction;
|
||
|
|
||
|
interface Vectorizer
|
||
|
{
|
||
|
/**
|
||
|
* @param array $samples
|
||
|
*
|
||
|
* @return array
|
||
|
*/
|
||
|
public function transform(array $samples): array;
|
||
|
}
|