Commit a7605504 authored by Atreya Majumdar's avatar Atreya Majumdar
Browse files

Formatting changes

parent c4203fe4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ class HingeLoss(Loss):

    return loss


class PoissonLoss(Loss):
  """The Poisson loss function is defined as the mean of the elements of y_pred - (y_true * log(y_pred) for an input of (y_true, y_pred).
  Poisson loss is generally used for regression tasks where the data follows the poisson
@@ -114,6 +115,7 @@ class PoissonLoss(Loss):

    return loss


class BinaryCrossEntropy(Loss):
  """The cross entropy between pairs of probabilities.