Helper Method for Parsing Web App Input¶
Accept an array representing a test sample, parse it and pass through a pre-trained neural net then store results in a pre-existing database
-
guess.predict.
parse_to_test_sample
(info)¶ Takes the info retrieved from the script.js implementation on main page and parses it. Data is run against existing neural net and then stores net’s output and original data in PostgreSQL database.
-
guess.predict.
orig_size
¶ int
The length of a side of the square html input canvas.
-
guess.predict.
train_data_size
¶ int
The length of a side of the square 2d array representing the training data.
-