Last active
August 7, 2018 06:23
-
-
Save djokester/cc958db007e579bf5ade6b4a7ac500f3 to your computer and use it in GitHub Desktop.
Reading from the data files for the challenge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
f = open("answered_data_10k.in").read().split("\n") | |
train_set = f[1:9001] | |
test_set = f[9002:-1] | |
train = [json.loads(i) for i in train_set] | |
test = [json.loads(i) for i in test_set] | |
questions = train + test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment