code: def cutoff_score_at_top_n(y_score, top_n):
      scores_sorted = np.sort(y_score)[::-1]
      return scores_sorted[top_n]
  
file_path: sklearn-evaluation/src/sklearn_evaluation/preprocessing/binarize.py
imports: import numpy
  from sklearn_evaluation import validate
label_desc: Use image node_id 2 for calling a global function with example usage: cutoff_score_at_top_n(y_score, top_n) and returns: scores_sorted