def f1_multiclass_score(solution, prediction): """ Multiclass accuracy for binary and multilabel classification. :param solution: :param prediction: :return: """ return f1_metric(solution, prediction, task=MULTICLASS_CLASSIFICATION)
def f1_binary_score(solution, prediction): """ Normalized balanced accuracy for binary and multilabel classification. :param solution: :param prediction: :return: """ return f1_metric(solution, prediction, task=BINARY_CLASSIFICATION)