code: def WeightVector(alpha, X, y):
      ay = (alpha * y).flatten()
      aXy = transpose(ay * transpose(X))
      return sum(aXy, 0)
  
imports: from numpy import multiply, asarray, dot, transpose, sum
label_desc: Use image node_id 2 for calling a global function with example usage: WeightVector(alpha, X, y) and returns: sum