microsoft / ML-For-Beginners

12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all
https://microsoft.github.io/ML-For-Beginners/
MIT License
68.57k stars 14.11k forks source link

fix Q-Learning lesson code sample issue #714

Closed cutePanda123 closed 4 months ago

cutePanda123 commented 7 months ago

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

github-actions[bot] commented 5 months ago

This PR has not seen any action for a while! Closing for now, but it can be reopened at a later date.