tlc.reduction.umap¶
Dimensionality reduction with the UMAP algorithm.
Module Contents¶
Classes¶
Class |
Description |
|---|---|
Perform dimensionality reduction on columns of tables using the UMAP algorithm. |
|
Arguments specific to the UMAP reduction method. |
API¶
- class UmapReduction(
- reducer_args: tlc.reduction.reduction_method.ReducerArgsType | None = None,
Bases:
tlc.reduction.reduction_method.ReductionMethod[tlc.reduction.umap.UmapTableArgs]Perform dimensionality reduction on columns of tables using the UMAP algorithm.
- Parameters:
reducer_args – A dictionary of arguments which are specific to the reduction method.
- default_args() UmapTableArgs¶
Returns the default arguments for the UMAP reduction method.
- class UmapTableArgs¶
Bases:
tlc.reduction.reduction_method.ReducerArgsArguments specific to the UMAP reduction method.
Pass an instance of this dict to
reduce_embeddings()(or one of its variants) via thereducer_argsparameter to control the UMAP reduction.Initialize self. See help(type(self)) for accurate signature.
- metric: str = None¶
The metric to use when calculating distances between points in the input space (default: euclidean).