Skip to content

laplacian_kernel_interdependence

Bases: numerical_kernel_based_interdependence

Source code in tinybig/interdependence/numerical_kernel_interdependence.py
class laplacian_kernel_interdependence(numerical_kernel_based_interdependence):
    def __init__(self, name: str = 'laplacian_kernel_interdependence', sigma: float = 1.0, *args, **kwargs):
        laplacian_kernel_func = functools.partial(laplacian_kernel, sigma=sigma)
        super().__init__(kernel=laplacian_kernel_func, name=name, *args, **kwargs)