isomap_manifold_compression
Bases: manifold_compression
A manifold-based dimensionality reduction class using Isomap.
This class applies the Isomap algorithm to reduce the dimensionality of input data, preserving the global geometric structure of the data.
Methods:
Name | Description |
---|---|
__init__ |
Initializes the Isomap-based dimensionality reduction instance. |
Parameters:
Name | Type | Description | Default |
---|---|---|---|
D
|
int
|
Number of dimensions to retain after compression. |
required |
n_neighbors
|
int
|
Number of neighbors to use in the Isomap algorithm. Defaults to 1. |
1
|
name
|
str
|
Name of the transformation. Defaults to 'isomap_manifold_compression'. |
'isomap_manifold_compression'
|
*args
|
tuple
|
Additional positional arguments for the parent |
()
|
**kwargs
|
dict
|
Additional keyword arguments for the parent |
{}
|
Source code in tinybig/compression/manifold_compression.py
__init__(D, n_neighbors=1, name='isomap_manifold_compression', *args, **kwargs)
Initializes the Isomap-based dimensionality reduction instance.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
D
|
int
|
Number of dimensions to retain after compression. |
required |
n_neighbors
|
int
|
Number of neighbors to use in the Isomap algorithm. Defaults to 1. |
1
|
name
|
str
|
Name of the transformation. Defaults to 'isomap_manifold_compression'. |
'isomap_manifold_compression'
|
*args
|
tuple
|
Additional positional arguments for the parent |
()
|
**kwargs
|
dict
|
Additional keyword arguments for the parent |
{}
|