mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-22 21:15:10 +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;
|
||
|
}
|