code: def kernel_rbf(x, y, scale=1, **kwds):
      # scale = kwds.get('scale',1)
      dist = ssp.minkowski_distance_p(
          x[:, np.newaxis, :], y[np.newaxis, :, :], 2
      )
      return np.exp(-0.5 / scale * (dist))
  
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 1 for calling a global function with example usage: kernel_rbf(x, y, scale) and returns: np