I'm trying to build a calculator just to add two single digit numbers with AWS machine learning.
ML Data Source1: (For Training)
for(i=9;i>=0;i--)
for(j=9;j>=0;j--)
console.log(i + ',' + j + ',+,' + (i+j));
Data with 0,9 all possible combinations for single digits.
ML Data Source2: (For Prediction)
for(i=9;i>=0;i--)
for(j=9;j>=0;j--)
console.log(i + ',' + j + ',+');
Leaving the result column empty to predict.
When I predict, Could get some of them correct, Result here. https://pastebin.com/P6qWJk5y
Thinking in a human way, Thought of repeating the same data in different order,
ML Data Source2: (For Training)
for(i=0;i<=9;i++)
for(j=0;j<=9;j++)
console.log(i + ',' + j + ',+,' + (i+j));
Now tried to see if prediction an improve, there is no improvement. It is the same prediction as of first file. No changes.
Trying to use for business purpose but like to understand the predictions of how AWS machine learning works.
How to create more datasets to train the machine to yield correct results for a simple calculator?
Thanks for any pointers.