Skip to content

isomap_manifold_compression

Bases: manifold_compression

Source code in tinybig/compression/manifold_compression.py
class isomap_manifold_compression(manifold_compression):
    def __init__(self, D: int, n_neighbors: int = 1, name='isomap_manifold_compression', *args, **kwargs):
        manifold_function = isomap_manifold(n_components=D, n_neighbors=n_neighbors)
        super().__init__(D=D, name=name, manifold_function=manifold_function, *args, **kwargs)