ML-For-Beginners icon indicating copy to clipboard operation
ML-For-Beginners copied to clipboard

fix Q-Learning lesson code sample issue

Open cutePanda123 opened this issue 2 years ago • 0 comments

the latest NumPy package deprecates numpy.float which leads to error when it is being used in the Q-Learning lesson's sample code. The below screenshot shows the error.

In this PR, I replaced the numpy.float with Python float and it fixed the issue.

image

cutePanda123 avatar Jan 02 '24 20:01 cutePanda123