scikit-learn text wrappers.
PREPROCESSING_TEXT table in specs. Registered under sklearn. hub keys, mirroring the native TuiML preprocessing/text family.Classes
class sklearn.preprocessing.text.CountVectorizer(_SklearnTransformerMixin, Transformer)
scikit-learn CountVectorizer (hub key sklearn.CountVectorizer).
Wraps CountVectorizer. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.
Commonly set: max_features, ngram_range, stop_words.
__init__( self, **params, )
class sklearn.preprocessing.text.DictVectorizer(_SklearnTransformerMixin, Transformer)
scikit-learn DictVectorizer (hub key sklearn.DictVectorizer).
DictVectorizer. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.__init__( self, **params, )
scikit-learn FeatureHasher (hub key sklearn.FeatureHasher).
FeatureHasher. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.__init__( self, **params, )
class sklearn.preprocessing.text.HashingVectorizer(_SklearnTransformerMixin, Transformer)
scikit-learn HashingVectorizer (hub key sklearn.HashingVectorizer).
HashingVectorizer. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.__init__( self, **params, )
class sklearn.preprocessing.text.PatchExtractor(_SklearnTransformerMixin, Transformer)
scikit-learn PatchExtractor (hub key sklearn.PatchExtractor).
PatchExtractor. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.__init__( self, **params, )
class sklearn.preprocessing.text.TfidfTransformer(_SklearnTransformerMixin, Transformer)
scikit-learn TfidfTransformer (hub key sklearn.TfidfTransformer).
TfidfTransformer. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.__init__( self, **params, )
class sklearn.preprocessing.text.TfidfVectorizer(_SklearnTransformerMixin, Transformer)
scikit-learn TfidfVectorizer (hub key sklearn.TfidfVectorizer).
Wraps TfidfVectorizer. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.
Commonly set: max_features, ngram_range, stop_words.
__init__( self, **params, )