Spaces:
Sleeping
Sleeping
John Graham Reynolds
commited on
Commit
·
d392b75
1
Parent(s):
8ed3117
add def about default
Browse files- fixed_f1.py +1 -1
fixed_f1.py
CHANGED
@@ -24,7 +24,7 @@ _CITATION = """
|
|
24 |
_INPUTS = """
|
25 |
'average': This parameter is required for multiclass/multilabel targets.
|
26 |
If None, the scores for each class are returned. Otherwise, this determines the type of averaging performed on the data.
|
27 |
-
Options include: {‘micro’, ‘macro’, ‘samples’, ‘weighted’, ‘binary’} or None
|
28 |
"""
|
29 |
|
30 |
# could in principle subclass the F1 Metric, but ideally we can work the fix into HF evaluate's main F1 class to maintain SOLID code
|
|
|
24 |
_INPUTS = """
|
25 |
'average': This parameter is required for multiclass/multilabel targets.
|
26 |
If None, the scores for each class are returned. Otherwise, this determines the type of averaging performed on the data.
|
27 |
+
Options include: {‘micro’, ‘macro’, ‘samples’, ‘weighted’, ‘binary’} or `None`. The default is `binary`.
|
28 |
"""
|
29 |
|
30 |
# could in principle subclass the F1 Metric, but ideally we can work the fix into HF evaluate's main F1 class to maintain SOLID code
|