Scores¶
-
class
ucca.evaluation.Scores(evaluator_results, name=None, evaluation_format=None)[source]¶ Bases:
objectMethods Summary
aggregate(scores)Aggregate multiple Scores instances :param scores: iterable of Scores :return: new Scores with aggregated scores average_f1([mode])Calculate the average F1 score across primary and remote edges :param mode: LABELED, UNLABELED or WEAK_LABELED :return: a single number, the average F1 field_titles([constructions, eval_type, counts])fields([eval_type, counts])print([eval_type])print_confusion_matrix(*args[, eval_type])titles([eval_type, counts])Methods Documentation
-
static
aggregate(scores)[source]¶ Aggregate multiple Scores instances :param scores: iterable of Scores :return: new Scores with aggregated scores
-
average_f1(mode='labeled')[source]¶ Calculate the average F1 score across primary and remote edges :param mode: LABELED, UNLABELED or WEAK_LABELED :return: a single number, the average F1
-
static