![]() |
Purple - SELL, yellow - CLOSE_SELL, green - BUY, blue - CLOSE_BUY |
Then it was time to prepare prediction data. My learning data was similar to this:
SELL, 99 price values before time point, price at current time point NONE, 99 price values before time point, price at current time point NONE, 99 price values before time point, price at current time point NONE, 99 price values before time point, price at current time point .... CLOSE_SELL, 99 price values before time point, price at current time point ...Model training took about 1.5 hours and Google Predict ended up with "classificationAccuracy": 0.9
It was time to test the model. To test the model I again use historical data. I sent about 60 request (some of them were from the same data I used to train model) and for all of then response was NONE. So I consider this as failure, but there is also bright side:
- Found a way how not to use AI and what learning data is considered bad;
- Learned how to use OAuth2 and how to use Google services from my code;
- Got experience with MongoDB (noSQL database);
- Refreshed my knowledge in Wicket, Swing and JFreeChart;
- It was fun and I got new ideas to test.
Did you do any more testing with this?
ReplyDelete