Correct readme
Browse files
README.md
CHANGED
|
@@ -119,7 +119,7 @@ The output for different modes and error_formats is:
|
|
| 119 |
```
|
| 120 |
|
| 121 |
```python
|
| 122 |
-
>>> faireval.compute(predictions=y_pred, references=y_true, mode='traditional', error_format='
|
| 123 |
{'PER': {'precision': 0.5, 'recall': 0.5, 'f1': 0.5, 'TP': 1, 'FP': 0.1428, 'FN': 0.1428},
|
| 124 |
'INT': {'precision': 0.0, 'recall': 0.0, 'f1': 0.0, 'TP': 0, 'FP': 0.1428, 'FN': 0.2857},
|
| 125 |
'OUT': {'precision': 0.5, 'recall': 0.5, 'f1': 0.5, 'TP': 1, 'FP': 0.1428, 'FN': 0.1428},
|
|
|
|
| 119 |
```
|
| 120 |
|
| 121 |
```python
|
| 122 |
+
>>> faireval.compute(predictions=y_pred, references=y_true, mode='traditional', error_format='error_ratio')
|
| 123 |
{'PER': {'precision': 0.5, 'recall': 0.5, 'f1': 0.5, 'TP': 1, 'FP': 0.1428, 'FN': 0.1428},
|
| 124 |
'INT': {'precision': 0.0, 'recall': 0.0, 'f1': 0.0, 'TP': 0, 'FP': 0.1428, 'FN': 0.2857},
|
| 125 |
'OUT': {'precision': 0.5, 'recall': 0.5, 'f1': 0.5, 'TP': 1, 'FP': 0.1428, 'FN': 0.1428},
|