[scikit-learn] Double hinge loss
Alan G. Isaac
alan.isaac at gmail.com
Mon Jul 11 08:42:09 EDT 2022
On 7/11/2022 1:19 AM, Maroan K wrote:
>
> Could anyone please give the derivative of the double hinge loss (DH)?
>
> DH = max(-wx,max(0, 1/2 - 1/2 * wx))
>
> I guess the derivative of DH is usually -wx , is this right?
>
> Sorry if this is not the right place to ask such a question.
1. The right place for such a question is e.g. https://math.stackexchange.com/
2. Since it is hinged, it is not everywhere differentiable.
Alan Isaac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp.png
Type: image/png
Size: 10550 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/scikit-learn/attachments/20220711/da7a9b5f/attachment.png>
More information about the scikit-learn
mailing list