-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVM--参数b 更新问题 #7
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好,
有个小问题想请教下:
在李航书中130页,alpha1_new 和 alpha2_new同时在范围(0, C) 时,b_new = b1_new = b2_new, 否则 b_new = (b1_new + b2_new) / 2。
在你的svm.py 的175-180行,alpha1_new 和 alpha2_new 没有同时判断,alpha1_new 满足条件但alpha2_new不满足条件时,b_new发生错误更新。
还是个新手,不知道判断得是否正确。
感谢!
The text was updated successfully, but these errors were encountered: