code: def true_positive_rate(t, y):
      return np.round(
          np.sum((y == 1) & (t == 1)) / np.sum((t == 1)),
          4,
      )
  
imports: import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: true_positive_rate(t, y) and returns: np