Loss Functions¶

class
slugnet.loss.
Objective
[source]¶ Bases:
object
An objective function (or loss function, or optimization score function) is one of the two parameters required to compile a model.

class
slugnet.loss.
BinaryCrossEntropy
(epsilon=1e11)[source]¶ Bases:
slugnet.loss.Objective
Standard binary crossentropy loss function.
Binary crossentropy is given by