code: def euclid_distance(X, weight):
      X = np.expand_dims(X, axis=0)
      euclid_dist = np.linalg.norm(X - weight, axis=1)
      return np.expand_dims(euclid_dist, axis=0)
  
imports: from __future__ import division
  import numpy
  from neupy import init
  from neupy.utils import format_data
  from neupy.exceptions import NotTrained
  from neupy.algorithms.base import BaseNetwork
  from neupy.core.properties import IntProperty, Property, TypedListProperty, NumberProperty
label_desc: Use image node_id 1 for calling a global function with example usage: euclid_distance(X, weight) and returns: np