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

0/1 loss function #1

Open
Heng-Zhou opened this issue Dec 22, 2022 · 0 comments
Open

0/1 loss function #1

Heng-Zhou opened this issue Dec 22, 2022 · 0 comments

Comments

@Heng-Zhou
Copy link

For the 0/1 loss function $L_i^{(0/1)}$ defined in equation (1.7) of page 9, my understanding of "0/1 loss function" is that its non-zero value should be 1. But when $y_i\ne{\rm sign}(\overline W\cdot\overline{X_i})$, the value of $L_i^{(0/1)}$ is 2 instead of 1. So, should we change equation (1.7) to $$L_i^{(0/1)}=\frac{1}{4}(y_i-{\rm sign}(\overline W\cdot\overline{X_i}))^2=\frac{1}{2}(1-y_i\cdot{\rm sign}(\overline W\cdot\overline{X_i}))?$$

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