code: def f1Measure(self, label=None):
          
          if label is None:
              return self.call("f1Measure")
          else:
              return self.call("f1Measure", float(label))
docs: Returns f1Measure or f1Measure for a given label (category) if specified.