# cuml.feature_extraction

<!-- !! processed by numpydoc !! -->

## From text

| [`CountVectorizer`](../generated/cuml.feature_extraction.text.CountVectorizer/index.html.md#cuml.feature_extraction.text.CountVectorizer)     | Convert a collection of text documents to a matrix of token counts.      |
|-------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|
| [`HashingVectorizer`](../generated/cuml.feature_extraction.text.HashingVectorizer/index.html.md#cuml.feature_extraction.text.HashingVectorizer) | Convert a collection of text documents to a matrix of token occurrences. |
| [`TfidfTransformer`](../generated/cuml.feature_extraction.text.TfidfTransformer/index.html.md#cuml.feature_extraction.text.TfidfTransformer)   | Transform a count matrix to a normalized tf or tf-idf representation.    |
| [`TfidfVectorizer`](../generated/cuml.feature_extraction.text.TfidfVectorizer/index.html.md#cuml.feature_extraction.text.TfidfVectorizer)     | Convert a collection of raw documents to a matrix of TF-IDF features.    |
