Bases: numerical_kernel_based_interdependence
Source code in tinybig/interdependence/numerical_kernel_interdependence.py
| class hyperbolic_tangent_kernel_interdependence(numerical_kernel_based_interdependence):
def __init__(self, name: str = 'hyperbolic_tangent_kernel_interdependence', c: float = 0.0, alpha: float = 1.0, *args, **kwargs):
hyperbolic_tangent_kernel_func = functools.partial(hyperbolic_tangent_kernel, c=c, alpha=alpha)
super().__init__(kernel=hyperbolic_tangent_kernel_func, name=name, *args, **kwargs)
|