code: def fp_at(y_true, y_score, top_proportion):
      y_pred = binarize.scores_at_top_proportion(
          y_score, top_proportion
      )
      fp = (y_pred == 1) & (y_true == 0)
      return fp.sum()
  
file_path: sklearn-evaluation/src/sklearn_evaluation/metrics.py
imports: import numpy
  from sklearn.metrics import precision_score
  from sklearn_evaluation.preprocessing import binarize
  from sklearn_evaluation import util
  from sklearn_evaluation import validate
label_desc: Use image node_id 6 for calling a global function with example usage: fp_at(y_true, y_score, top_proportion) and returns: fp