code: def roc_curve(
      conditions, prediction_scores, pos_label=None, sample_weight=None
  ):
      return metrics.roc_curve(
          conditions,
          prediction_scores,
          pos_label=pos_label,
          sample_weight=sample_weight,
      )
  
imports: import logging
  from collections import OrderedDict
  import numpy
  from sklearn import metrics
  from sklearn.metrics import confusion_matrix
label_desc: Use image node_id 1 for calling a global function with example usage: roc_curve(conditions, prediction_scores, pos_label, sample_weight) and returns: metrics