Fix float input
Browse files
pr_auc.py
CHANGED
@@ -72,7 +72,7 @@ class PRAUC(evaluate.Metric):
|
|
72 |
inputs_description=_KWARGS_DESCRIPTION,
|
73 |
# This defines the format of each prediction and reference
|
74 |
features=datasets.Features({
|
75 |
-
'
|
76 |
'references': datasets.Value('int64'),
|
77 |
}),
|
78 |
# Homepage of the module for documentation
|
|
|
72 |
inputs_description=_KWARGS_DESCRIPTION,
|
73 |
# This defines the format of each prediction and reference
|
74 |
features=datasets.Features({
|
75 |
+
'prediction_scores': datasets.Sequence(datasets.Value("float")),
|
76 |
'references': datasets.Value('int64'),
|
77 |
}),
|
78 |
# Homepage of the module for documentation
|