mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-25 22:37:34 +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;
|
||||
|
||||
class TokenCountVectorizer implements Vectorizer
|
||||
class TokenCountVectorizer implements Transformer
|
||||
{
|
||||
/**
|
||||
* @var Tokenizer
|
||||
|
@ -4,7 +4,7 @@ declare (strict_types = 1);
|
||||
|
||||
namespace Phpml\FeatureExtraction;
|
||||
|
||||
interface Vectorizer
|
||||
interface Transformer
|
||||
{
|
||||
/**
|
||||
* @param array $samples
|
Loading…
Reference in New Issue
Block a user