Skip to content

Commit

Permalink
Update multiclass_hinge_loss docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
kli-casia authored and f0k committed Aug 1, 2017
1 parent 465241b commit eb175b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lasagne/objectives.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def binary_hinge_loss(predictions, targets, delta=1, log_odds=None,
def multiclass_hinge_loss(predictions, targets, delta=1):
"""Computes the multi-class hinge loss between predictions and targets.
.. math:: L_i = \\max_{j \\not = p_i} (0, t_j - t_{p_i} + \\delta)
.. math:: L_i = \\max_{j \\not = t_i} (0, p_j - p_{t_i} + \\delta)
Parameters
----------
Expand Down

0 comments on commit eb175b5

Please sign in to comment.