mdocekal commited on
Commit
a686ae2
β€’
1 Parent(s): 1c7b8ac

readme example fix

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -40,7 +40,8 @@ Implementation of example based evaluation metrics for multi-label classificatio
40
 
41
  There is also multiset configuration available, which allows to calculate the metrics for multi-label classification with repeated labels.
42
  It uses the same definition as in previous case, but it works with multiset of labels. Thus, intersection, union, and cardinality for multisets are used instead.
43
-
 
44
  >>> results = multi_label_precision_recall_accuracy_fscore.compute(
45
  predictions=[
46
  [0, 1, 1]
 
40
 
41
  There is also multiset configuration available, which allows to calculate the metrics for multi-label classification with repeated labels.
42
  It uses the same definition as in previous case, but it works with multiset of labels. Thus, intersection, union, and cardinality for multisets are used instead.
43
+
44
+ >>> multi_label_precision_recall_accuracy_fscore = evaluate.load("mdocekal/multi_label_precision_recall_accuracy_fscore", config_name="multiset")
45
  >>> results = multi_label_precision_recall_accuracy_fscore.compute(
46
  predictions=[
47
  [0, 1, 1]