Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -23,14 +23,12 @@ Note: The default value of Beta is set as 0.5 to calculate the frequently used F
|
|
23 |
|
24 |
## How to Use
|
25 |
``` python
|
26 |
-
|
27 |
import evaluate
|
28 |
|
29 |
fbeta_score = evaluate.load("leslyarun/fbeta_score")
|
30 |
results = fbeta_score.compute(references=[0, 1], predictions=[0, 1], beta=0.5)
|
31 |
print(results)
|
32 |
{'f_beta_score': 1.0}
|
33 |
-
|
34 |
```
|
35 |
|
36 |
## Citation
|
|
|
23 |
|
24 |
## How to Use
|
25 |
``` python
|
|
|
26 |
import evaluate
|
27 |
|
28 |
fbeta_score = evaluate.load("leslyarun/fbeta_score")
|
29 |
results = fbeta_score.compute(references=[0, 1], predictions=[0, 1], beta=0.5)
|
30 |
print(results)
|
31 |
{'f_beta_score': 1.0}
|
|
|
32 |
```
|
33 |
|
34 |
## Citation
|