Skip to content

Instantly share code, notes, and snippets.

@ramansah
Last active July 7, 2021 14:31
Show Gist options
  • Save ramansah/d7b12f735e823f82cfeeb01013ab3c65 to your computer and use it in GitHub Desktop.
Save ramansah/d7b12f735e823f82cfeeb01013ab3c65 to your computer and use it in GitHub Desktop.
from random import randint
TRAIN_SET_LIMIT = 1000
TRAIN_SET_COUNT = 100
TRAIN_INPUT = list()
TRAIN_OUTPUT = list()
for i in range(TRAIN_SET_COUNT):
a = randint(0, TRAIN_SET_LIMIT)
b = randint(0, TRAIN_SET_LIMIT)
c = randint(0, TRAIN_SET_LIMIT)
op = a + (2*b) + (3*c)
TRAIN_INPUT.append([a, b, c])
TRAIN_OUTPUT.append(op)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment