Skip to content

exponential_kernel_interdependence

Bases: numerical_kernel_based_interdependence

Source code in tinybig/interdependence/numerical_kernel_interdependence.py
class exponential_kernel_interdependence(numerical_kernel_based_interdependence):
    def __init__(self, name: str = 'exponential_kernel_interdependence', gamma: float = 1.0, *args, **kwargs):
        exponential_kernel_func = functools.partial(exponential_kernel, gamma=gamma)
        super().__init__(kernel=exponential_kernel_func, name=name, *args, **kwargs)