Skip to content
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.ipynb subtley does not require calculation of regularization term #253

Open
ArthurConmy opened this issue Jan 25, 2021 · 0 comments
Open

Comments

@ArthurConmy
Copy link

While completing the SVM task of assignment one, I noticed an irregularity which I hope was not intended (if so, it is quite evil!).

Note that in the below screenshot, to the right of the screen I've forgotten to add the loss and yet still the difference is zero (making me think I've implemented loss correctly):

Screenshot from 2021-01-25 22-18-14

And now properly calculating the loss:

Screenshot from 2021-01-25 22-18-35

also has difference zero as a sanity check. I begin to see a difference when the regularization is 0.005, but this is much larger than the current value of 0.000005, so of course there may be unintended consequences of increasing the regularization parameter this much (as yet untested).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant