Last active
July 7, 2021 14:31
-
-
Save ramansah/d7b12f735e823f82cfeeb01013ab3c65 to your computer and use it in GitHub Desktop.
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
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