Data Science, Reinforcement Learning, Q Learning, S P 500 Index, Finance.
plt.xlabel('Iteration Number in Training') plt.ylabel('Reward'); As you can see, it wasn’t until almost the middle of training that the Q-learning model started to learn, and finally towards the end of training that it actually began to make good decisions. Now let’s visualize the rules that our