code: def scores_at_quantile(y_score, quantile):
      """Binary scores at certain quantile"""
      cutoff_score = cutoff_score_at_quantile(y_score, quantile)
      y_score_binary = (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 6 for calling a global function with example usage: scores_at_quantile(y_score, quantile) and returns: y_score_binary