Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -104,4 +104,9 @@ Users of the benchmark should only gives the *background*, *scenario*, *constrai
|
|
| 104 |
together with the timestamps of *future_time*.
|
| 105 |
The other features are there to compute the RCPRS metric and classification of the tasks.
|
| 106 |
|
| 107 |
-
Note: to convert *past_time* and *future_time* to Pandas DataFrame, use the following snipet: `pd.read_json(StringIO(entry["past_time"]))`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
together with the timestamps of *future_time*.
|
| 105 |
The other features are there to compute the RCPRS metric and classification of the tasks.
|
| 106 |
|
| 107 |
+
Note: to convert *past_time* and *future_time* to Pandas DataFrame, use the following snipet: `pd.read_json(StringIO(entry["past_time"]))`.
|
| 108 |
+
|
| 109 |
+
## Computing the RCPRS metric
|
| 110 |
+
|
| 111 |
+
Code to compute the RCPRS metric is available in the [`compute_rcrps_with_hf_dataset.py`](https://huggingface.co/datasets/ServiceNow/context-is-key/blob/main/compute_rcrps_with_hf_dataset.py) script inside this dataset repository.
|
| 112 |
+
Please look at the `__main__` section of the script to see an example on how to use it.
|