A. G. Barto, R. S. Sutton and C. W. Anderson, "Neuronlike adaptive elements that can solve difficult learning control problems," in IEEE Transactions on Systems, Man, and Cybernetics, vol. SMC-13, no. 5, pp. 834-846, Sept.-Oct. 1983, doi: https://doi.org/10.1109/TSMC.1983.6313077.
C code as supplied with the original paper (see directory c code
), with a Python translation (see directory python code
) that also produces Fig. 4 and Fig. 5 from the paper.
Code prepared by Yuhao Wang, @sebwyh
The full articles is in the folder Articles
.