Skip to content

incremental_random_projection_based_compression

Bases: dimension_reduction_compression

Source code in tinybig/compression/dimension_reduction_compression.py
class incremental_random_projection_based_compression(dimension_reduction_compression):
    def __init__(self, D: int, name='incremental_random_projection_based_compression', *args, **kwargs):
        dr_function = incremental_random_projection(n_feature=D)
        super().__init__(D=D, name=name, dr_function=dr_function, *args, **kwargs)