illorca commited on
Commit
14e865e
·
1 Parent(s): 91f1c8a

Correct readme

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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='proportion')
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},