Spaces:
Running
Running
Update fbeta_score.py
Browse files- fbeta_score.py +1 -0
fbeta_score.py
CHANGED
@@ -100,4 +100,5 @@ class F_Beta(evaluate.Metric):
|
|
100 |
references, predictions, beta, labels=labels, pos_label=pos_label, average=average, sample_weight=sample_weight
|
101 |
)
|
102 |
return {"f_beta_score": float(score) if score.size == 1 else score}
|
|
|
103 |
|
|
|
100 |
references, predictions, beta, labels=labels, pos_label=pos_label, average=average, sample_weight=sample_weight
|
101 |
)
|
102 |
return {"f_beta_score": float(score) if score.size == 1 else score}
|
103 |
+
|
104 |
|