Bases: numerical_kernel_based_interdependence
Source code in tinybig/interdependence/numerical_kernel_interdependence.py
| class minkowski_distance_interdependence(numerical_kernel_based_interdependence):
def __init__(self, p: Union[int, float, str, Any], name: str = 'minkowski_distance_interdependence', *args, **kwargs):
minkowski_kernel_func = functools.partial(minkowski_distance_kernel, p=p)
super().__init__(kernel=minkowski_kernel_func, name=name, *args, **kwargs)
|