

def kernel_euclid(x, y, p=2, **kwds):
    return ssp.minkowski_distance(x[:, np.newaxis, :], y[np.newaxis, :, :], y)

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/regression/kernridgeregress_class.py kernel_euclid/VarMisuse@46/55 `p`->`y`