Bases: numerical_kernel_based_interdependence
Source code in tinybig/interdependence/numerical_kernel_interdependence.py
| class polynomial_kernel_interdependence(numerical_kernel_based_interdependence):
def __init__(self, name: str = 'polynomial_kernel_interdependence', c: float = 0.0, d: int = 1, *args, **kwargs):
polynomial_kernel_func = functools.partial(polynomial_kernel, c=c, d=d)
super().__init__(kernel=polynomial_kernel_func, name=name, *args, **kwargs)
|