tlc.reduction.reduction_method¶
Base classes for dimensionality reducers.
Module Contents¶
Classes¶
Class |
Description |
|---|---|
Arguments specific to the reduction method. |
|
Perform dimensionality reduction on columns of tables. |
Data¶
Data |
Description |
|---|---|
API¶
- class ReducerArgs¶
Bases:
typing.TypedDictArguments specific to the reduction method.
Initialize self. See help(type(self)) for accurate signature.
- retain_source_embedding_column: bool = None¶
Whether to retain the source embedding column in the output table (default False).
- ReducerArgsType = TypeVar(...)¶
- class ReductionMethod(
- reducer_args: tlc.reduction.reduction_method.ReducerArgsType | None = None,
Bases:
abc.ABC,typing.Generic[tlc.reduction.reduction_method.ReducerArgsType]Perform dimensionality reduction on columns of tables.
Dimensionality reduction is accomplished by creating derived tables of the appropriate type (e.g., UmapTable) which apply the reduction method to the input tables.
- Parameters:
reducer_args – A dictionary of arguments which are specific to the reduction method.
- abstract default_args() tlc.reduction.reduction_method.ReducerArgsType¶