.. _f-textvectorizertransformer: module ``mltricks.text_vectorizer_transformer`` =============================================== .. inheritance-diagram:: papierstat.mltricks.text_vectorizer_transformer Short summary +++++++++++++ module ``papierstat.mltricks.text_vectorizer_transformer`` Implements TextVectorizerTransformer. :githublink:`%|py|5` Classes +++++++ +----------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +================================================================================================================+===================================================================================================================+ | :class:`TextVectorizerTransformer ` | Overwrites *TfIdfVectorizer* or *CountVectorizer* so that it can be used in a pipeline. Parameters ---------- ... | +----------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+ Properties ++++++++++ +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | property | truncated documentation | +================================================================================================================+==================================================================================================================+ | :py:meth:`_repr_html_ ` | HTML representation of estimator. This is redundant with the logic of `_repr_mimebundle_`. The latter should ... | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ Methods +++++++ +----------------------------------------------------------------------------------------------------------+--------------------------------------+ | method | truncated documentation | +==========================================================================================================+======================================+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------------------------+--------------------------------------+ | :meth:`fit ` | Trains an estimator on every column. | +----------------------------------------------------------------------------------------------------------+--------------------------------------+ | :meth:`transform ` | Applies the vectorizer on X. | +----------------------------------------------------------------------------------------------------------+--------------------------------------+ Documentation +++++++++++++ .. automodule:: papierstat.mltricks.text_vectorizer_transformer :members: :special-members: __init__ :show-inheritance: