autointent.configs.HashingVectorizerEmbeddingConfig#

class autointent.configs.HashingVectorizerEmbeddingConfig(/, **data)#

Bases: BaseEmbedderConfig

Configuration for HashingVectorizer based embeddings from sklearn.

This is a lightweight, stateless vectorizer that uses hashing trick for text feature extraction. Ideal for testing as it has no model dependencies and is very fast.

Parameters:

data (Any)

n_features: pydantic.PositiveInt = None#
ngram_range: tuple[int, int] = None#
analyzer: Literal['word', 'char', 'char_wb'] = None#
lowercase: bool = None#
norm: Literal['l1', 'l2'] | None = None#
binary: bool = None#
dtype: str = None#