Final result

After training the data, we tested it against the test dataset. Our model resulted in a total profit of $10427.24. The best thing about the model was that the profits kept improving over time, indicating that it was learning well and taking better actions.

Get Python Reinforcement Learning Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.