Reinforcement Learning, Gaming, Deep Learning.
plot_vals.reshape(100, 100)[::-1] plt.figure(figsize=(8, 8)) plt.imshow(plot_vals, cmap='coolwarm') plt.colorbar() plt.clim(-1, 1) plt.title("P(left | s)", size=20) plt.xlabel("Cart Position", size=14) plt.ylabel("Pole angle", size=14) plt.xticks(ticks=[0, 50, 100], labels=['-4.8', '0', '4.8'])