Skip to content

Commit

Permalink
Merge pull request #619 from kli-nlpr/patch-1
Browse files Browse the repository at this point in the history
Update multiclass_hinge_loss docstring
  • Loading branch information
f0k committed Aug 1, 2017
2 parents 465241b + eb175b5 commit 359ea1b
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 359ea1b

Please sign in to comment.