Spaces:
Runtime error
Runtime error
Commit
·
1a7d487
1
Parent(s):
ee82c0f
Update README.md
Browse files
README.md
CHANGED
@@ -49,7 +49,7 @@ This metric takes 2 inputs, prediction and references(ground truth). Both of the
|
|
49 |
### Inputs
|
50 |
- **predictions** (`list` of `list`s of `dictionary`s): relation and its type of prediction
|
51 |
- **references** (`list` of `list`s of `dictionary`s): references for each relation and its type.
|
52 |
-
|
53 |
### Output Values
|
54 |
|
55 |
**output** (`dictionary` of `dictionary`s) with multiple key-value pairs
|
@@ -70,7 +70,7 @@ This metric takes 2 inputs, prediction and references(ground truth). Both of the
|
|
70 |
- **Macro_f1** : macro f1 score
|
71 |
- **Macro_p** : macro precision
|
72 |
- **Macro_r** : macro recall
|
73 |
-
|
74 |
Output Example:
|
75 |
```python
|
76 |
{'sell': {'tp': 1, 'fp': 1, 'fn': 1, 'p': 50.0, 'r': 50.0, 'f1': 50.0}, 'ALL': {'tp': 1, 'fp': 1, 'fn': 1, 'p': 50.0, 'r': 50.0, 'f1': 50.0, 'Macro_f1': 50.0, 'Macro_p': 50.0, 'Macro_r': 50.0}}
|
|
|
49 |
### Inputs
|
50 |
- **predictions** (`list` of `list`s of `dictionary`s): relation and its type of prediction
|
51 |
- **references** (`list` of `list`s of `dictionary`s): references for each relation and its type.
|
52 |
+
|
53 |
### Output Values
|
54 |
|
55 |
**output** (`dictionary` of `dictionary`s) with multiple key-value pairs
|
|
|
70 |
- **Macro_f1** : macro f1 score
|
71 |
- **Macro_p** : macro precision
|
72 |
- **Macro_r** : macro recall
|
73 |
+
|
74 |
Output Example:
|
75 |
```python
|
76 |
{'sell': {'tp': 1, 'fp': 1, 'fn': 1, 'p': 50.0, 'r': 50.0, 'f1': 50.0}, 'ALL': {'tp': 1, 'fp': 1, 'fn': 1, 'p': 50.0, 'r': 50.0, 'f1': 50.0, 'Macro_f1': 50.0, 'Macro_p': 50.0, 'Macro_r': 50.0}}
|