code: def kernel_euclid(x, y, p=2, **kwds):
      return ssp.minkowski_distance(
          x[:, np.newaxis, :], y[np.newaxis, :, :], p
      )
  
file_path: statsmodels/statsmodels/sandbox/regression/kernridgeregress_class.py
imports: import numpy
  from scipy import spatial
  import matplotlib.pylab
label_desc: Use image node_id 2 for calling a global function with example usage: kernel_euclid(x, y, p) and returns: ssp