policy number only
Browse files- data/test.json +2 -2
- data/train.json +2 -2
- data_preparation.py +3 -3
- train.json +0 -0
data/test.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fd3c19c7a55f1ca28f20dec5eb3c9435df4e6bc96182b9fbaca9c8608446dfa
|
3 |
+
size 284488
|
data/train.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1c86f7ad020320f143cd944214b72a59e8b88dacb73525e1c5c974fbdf89094
|
3 |
+
size 2591030
|
data_preparation.py
CHANGED
@@ -34,10 +34,10 @@ def save_json(data: dict, file_name: str):
|
|
34 |
|
35 |
if __name__ == "__main__":
|
36 |
# split the train data
|
37 |
-
train, test = split_data("
|
38 |
|
39 |
# save the train split
|
40 |
-
save_json({"data": train}, "train.json")
|
41 |
|
42 |
# save the test split
|
43 |
-
save_json({"data": test}, "test.json")
|
|
|
34 |
|
35 |
if __name__ == "__main__":
|
36 |
# split the train data
|
37 |
+
train, test = split_data("train.json", "json")
|
38 |
|
39 |
# save the train split
|
40 |
+
save_json({"data": train}, "data/train.json")
|
41 |
|
42 |
# save the test split
|
43 |
+
save_json({"data": test}, "data/test.json")
|
train.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|