Skip to content

Commit

Permalink
add negative numbers to training data
Browse files Browse the repository at this point in the history
  • Loading branch information
BenDavidAaron committed Jan 25, 2018
1 parent cc84ecd commit c312e72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model-development/generate-training-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from tqdm import tqdm

def add_two_random_ints():
int_1 = randint(0,999)
int_2 = randint(0,999)
int_1 = randint(-9,99)
int_2 = randint(-9,99)
return "%s,%s,%s\n" % (int_1 + int_2, int_1, int_2)

number_cases = abs(int(sys.argv[1]))
Expand Down
Binary file added model-development/predictor-gd.pkl
Binary file not shown.
Binary file added model-development/predictor-lr.pkl
Binary file not shown.

0 comments on commit c312e72

Please sign in to comment.