mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-12-01 17:23:54 +00:00
rename interface Vectorizer to Transformer
This commit is contained in:
parent
da6d94cc46
commit
8a65026642
@ -6,7 +6,7 @@ namespace Phpml\FeatureExtraction;
|
|||||||
|
|
||||||
use Phpml\Tokenization\Tokenizer;
|
use Phpml\Tokenization\Tokenizer;
|
||||||
|
|
||||||
class TokenCountVectorizer implements Vectorizer
|
class TokenCountVectorizer implements Transformer
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var Tokenizer
|
* @var Tokenizer
|
||||||
|
@ -4,7 +4,7 @@ declare (strict_types = 1);
|
|||||||
|
|
||||||
namespace Phpml\FeatureExtraction;
|
namespace Phpml\FeatureExtraction;
|
||||||
|
|
||||||
interface Vectorizer
|
interface Transformer
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param array $samples
|
* @param array $samples
|
Loading…
Reference in New Issue
Block a user