code: def calculate_obj(X, y, w, lambda1, lambda2, T):
      return (
          1 / 2 * (np.linalg.norm(y - np.dot(X, w), "fro")) ** 2
          + lambda1 * np.abs(w).sum()
          + lambda2 * np.abs(np.dot(T, w)).sum()
      )
  
imports: import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: calculate_obj(X, y, w, lambda1, lambda2, T) and returns: unknown