

def kernel_rbf(x, y, scale=1, **kwds):
    dist = ssp.minkowski_distance_p(x[:, np.newaxis, :], y[np.newaxis, :, :], 2)
    return np.exp((((- 0.5) / x) * dist))

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/regression/kernridgeregress_class.py kernel_rbf/VarMisuse@62/71 `scale`->`x`