Open ArezooAalipanah opened 1 year ago
I have the same issue, but unable to find out why. I have tried to debug and it seemed the bug is from "_param_validation.py" it is failed at when do the "right_cmp". But the watch window showed that the value of "val" and "right" should be same which is "inf"
Thanks for helping us improve this project!
Before you create this issue Please make sure you are using the latest updated code and libraries: see https://github.com/ageron/handson-ml3/blob/main/INSTALL.md#update-this-project-and-its-libraries
Also please make sure to read the FAQ (https://github.com/ageron/handson-ml3#faq) and search for existing issues (both open and closed), as your question may already have been answered: https://github.com/ageron/handson-ml3/issues
Describe the bug On chapter 5 for the code of "Figure 5-1. Large margin classification" there is one part on google colab where the C parameter is set to float("inf"), however, when I run the program I receive an error indicating that its not acceptable to use inf page 176- google colab
To Reproduce Please copy the code that fails here, using code blocks like this:
And if you got an exception, please copy the full stacktrace here:
Screenshots
Versions (please complete the following information): all codes and versions set in this code: https://colab.research.google.com/github/ageron/handson-ml3/blob/main/05_support_vector_machines.ipynb#scrollTo=bkZHEPZwizro