-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Add multiclass support to hinge_loss #3451
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
Comments
There are several multiclass variants of the hinge loss. The one in the article you link is the variant by Crammer & Singer. We should either accept a parameter to let the user choose or use one function per variant. |
We can also implement the "one-vs-rest" loss, which is simply to sum the hinge losses of each binary classification problem. |
Thanks @mblondel for the precision. |
I am new to Scikit-learn. I am trying to fix this issue. |
Hi, I am reading this paper Also, is there any way to find w from est? |
Fixed by #3607 |
The hinge_loss metrics could be improved by adding support multiclass hinge loss. For more information, see wikipedia and the narrative documentation.
This would require to enhance the current code, write tests and modify the documentation accordingly.
The text was updated successfully, but these errors were encountered: