Spaces:
Running
Running
Update fbeta_score.py
Browse files- fbeta_score.py +2 -2
fbeta_score.py
CHANGED
@@ -64,8 +64,8 @@ Returns:
|
|
64 |
Examples:
|
65 |
|
66 |
Example 1-A simple binary example
|
67 |
-
>>>
|
68 |
-
>>> results =
|
69 |
>>> print(results)
|
70 |
{'f_beta_score': 1.0}
|
71 |
"""
|
|
|
64 |
Examples:
|
65 |
|
66 |
Example 1-A simple binary example
|
67 |
+
>>> fbeta_score = evaluate.load("leslyarun/fbeta_score")
|
68 |
+
>>> results = fbeta_score.compute(references=[0, 1], predictions=[0, 1], beta=0.5)
|
69 |
>>> print(results)
|
70 |
{'f_beta_score': 1.0}
|
71 |
"""
|