tlc.client.reduce.umap
#
Dimensionality reduction with the UMAP algorithm.
Module Contents#
Classes#
Class |
Description |
---|---|
Arguments specific to the UMAP reduction method. |
|
Perform dimensionality reduction on columns of tables using the UMAP algorithm. |
API#
- class tlc.client.reduce.umap.UMapTableArgs#
Bases:
tlc.client.reduce.reduction_method.ReducerArgs
Arguments specific to the UMAP reduction method.
See
UMAPTable
for more information.Initialize self. See help(type(self)) for accurate signature.
- standard_scaler_normalize: bool = None#
Whether to normalize the data before reducing it (default False).
- n_neighbors: int = None#
The number of neighbors to use when constructing the nearest neighbor graph (default 15).
- class tlc.client.reduce.umap.UMapReduction(reducer_args: tlc.client.reduce.reduction_method._ReducerArgsType | None = None)#
Bases:
tlc.client.reduce.reduction_method.ReductionMethod
[tlc.client.reduce.umap.UMapTableArgs
]Perform dimensionality reduction on columns of tables using the UMAP algorithm.
- Params reducer_args:
A dictionary of arguments which are specific to the reduction method.
- default_args() tlc.client.reduce.umap.UMapTableArgs #
Returns the default arguments for the UMAP reduction method.
- fit_reduction_method(table: tlc.core.objects.table.Table, column: str) tlc.core.url.Url #
Fits a UMAPTable and returns the model URL
- apply_reduction_method(table: tlc.core.objects.table.Table, fit_table_url: tlc.core.url.Url, column: str) tlc.core.url.Url | None #