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

Formula error at Chapter 4 (Working with Linear SVM) #135

Closed
erichooi opened this issue Jul 16, 2018 · 2 comments
Closed

Formula error at Chapter 4 (Working with Linear SVM) #135

erichooi opened this issue Jul 16, 2018 · 2 comments
Assignees
Labels
ch4 Chapter 4

Comments

@erichooi
Copy link

screen shot 2018-07-16 at 3 50 36 pm

Is that suppose to be - instead of +? This is a formula that I found on Wikipedia.

screen shot 2018-07-16 at 3 54 20 pm

@nfmcclure nfmcclure self-assigned this Jul 16, 2018
@nfmcclure nfmcclure added the ch4 Chapter 4 label Jul 16, 2018
@nfmcclure
Copy link
Owner

Hi @erichooi ,
Thanks for asking. I believe just a substitution of a negative b for a positive b will make the formulas equivalent.

But it is important in the results to remember that the b is negative and not positive. I'll recheck the code for this. (I'll keep this issue open until I can check it).

But the formulas are equivalent under a negative-b substitution.

@nfmcclure
Copy link
Owner

Just went to go fix this. I see what you mean now. The code is correct, but the formula is wrong. It's fixed in the jupyter notebook finally. I'm going to close this. Feel free to reopen if I missed something.

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

No branches or pull requests

2 participants