spectral_embedding_manifold_compression
Bases: manifold_compression
A manifold-based dimensionality reduction class using Spectral Embedding.
This class applies the Spectral Embedding algorithm to reduce the dimensionality of input data, preserving the structure of data represented as a graph.
Methods:
Name | Description |
---|---|
__init__ |
Initializes the Spectral Embedding-based dimensionality reduction instance. |
Parameters:
Name | Type | Description | Default |
---|---|---|---|
D
|
int
|
Number of dimensions to retain after compression. |
required |
name
|
str
|
Name of the transformation. Defaults to 'spectral_embedding_manifold_compression'. |
'spectral_embedding_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, name='spectral_embedding_manifold_compression', *args, **kwargs)
Initializes the Spectral Embedding-based dimensionality reduction instance.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
D
|
int
|
Number of dimensions to retain after compression. |
required |
name
|
str
|
Name of the transformation. Defaults to 'spectral_embedding_manifold_compression'. |
'spectral_embedding_manifold_compression'
|
*args
|
tuple
|
Additional positional arguments for the parent |
()
|
**kwargs
|
dict
|
Additional keyword arguments for the parent |
{}
|