def _get_evaluator(metric): if metric == "accuracy": return Accuracy() elif metric == "multilabel_f1": return MultiLabelMicroF1() elif metric == "multiclass_f1": return MultiClassMicroF1() else: raise NotImplementedError
def get_evaluator(self): return MultiLabelMicroF1()