Update Space (evaluate main: 0af33a7a)
Browse files
README.md
CHANGED
|
@@ -30,7 +30,6 @@ imbalance).
|
|
| 30 |
The measurement takes a list of labels as input:
|
| 31 |
|
| 32 |
```python
|
| 33 |
-
from evaluate import load
|
| 34 |
>>> distribution = evaluate.load("label_distribution")
|
| 35 |
>>> data = [1, 0, 2, 2, 0, 0, 0, 0, 0, 2]
|
| 36 |
>>> results = distribution.compute(data=data)
|
|
|
|
| 30 |
The measurement takes a list of labels as input:
|
| 31 |
|
| 32 |
```python
|
|
|
|
| 33 |
>>> distribution = evaluate.load("label_distribution")
|
| 34 |
>>> data = [1, 0, 2, 2, 0, 0, 0, 0, 0, 2]
|
| 35 |
>>> results = distribution.compute(data=data)
|