tlc.client.reduce.pacmap¶
Dimensionality reduction with the PaCMAP algorithm.
Module Contents¶
Classes¶
Class |
Description |
|---|---|
Arguments specific to the PaCMAP reduction method. |
|
Perform dimensionality reduction on columns of tables using the PaCMAP algorithm. |
API¶
- class PaCMAPTableArgs¶
Bases:
tlc.client.reduce.reduction_method.ReducerArgsArguments specific to the PaCMAP reduction method.
See
PaCMAPTablefor more information.Initialize self. See help(type(self)) for accurate signature.
- n_neighbors: int = None¶
The number of neighbors to use when constructing the nearest neighbor graph (default to 10 for dataset whose sample size is smaller than 10000. For large dataset whose sample size (n) is larger than 10000, the default value is: 10 + 15 * (log10(n) - 4))
- MN_ratio: float = None¶
the ratio of the number of mid-near pairs to the number of neighbors (default 0.5)
- FP_ratio: float = None¶
the ratio of the number of further pairs to the number of neighbors, (default 2)
- distance: str = None¶
The distance metric to use for the nearest neighbor graph (default ‘euclidean’)
- class PaCMAPReduction(
- reducer_args: tlc.client.reduce.reduction_method._ReducerArgsType | None = None,
Bases:
tlc.client.reduce.reduction_method.ReductionMethod[tlc.client.reduce.pacmap.PaCMAPTableArgs]Perform dimensionality reduction on columns of tables using the PaCMAP algorithm.
- Params reducer_args:
A dictionary of arguments which are specific to the reduction method.
- default_args() PaCMAPTableArgs¶
Returns the default arguments for the PaCMAP reduction method.