code: def at_top_n(y_score, top_n):
      cutoff_score = cutoff_score_at_top_n(y_score, top_n)
      y_score_binary = np.array(y_score >= cutoff_score).astype(int)
      return y_score_binary
  
file_path: sklearn-evaluation/src/sklearn_evaluation/preprocessing/binarize.py
imports: import numpy
  from sklearn_evaluation import validate
label_desc: Use image node_id 5 for calling a global function with example usage: at_top_n(y_score, top_n) and returns: y_score_binary