code: def avg_fbeta_score(self, beta, average="macro"):
      return metrics.fbeta_score(
          self.conditions, self.predictions, beta=beta, average=average
      )
  
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 32 for calling the ConfusionMatrix obj's underlying member method code with example usage: obj.avg_fbeta_score(beta, average) and returns: metrics