Expand description
Sparse vectorization for memory-efficient text representation
This module provides sparse implementations of text vectorizers that use memory-efficient sparse matrix representations.
Structs§
- Memory
Stats - Memory usage statistics for sparse representation
- Sparse
Count Vectorizer - Sparse count vectorizer using CSR matrix representation
- Sparse
Tfidf Vectorizer - Sparse TF-IDF vectorizer
Functions§
- sparse_
cosine_ similarity - Compute cosine similarity between sparse vectors