Home | Trees | Indices | Help |
---|
|
The criterion module provides some differentiable loss functions in order to perform a gradient descent on a hand-crafted neural network.
See their respective documentations for their mathematical expressions and their use cases.
See Also: module
|
|||
Criterion The Criterion class handles the loss computation between ŷ (the outputs vector of a Module) and y (the targets vector). |
|||
CrossEntropy The cross-entropy criterion is well suited for targets vector that are normalized between 0 and 1, used along with a final Sigmoid activation module. |
|||
MeanSquareError The mean square error criterion is used in the least squares method, it is well suited for data fitting. |
|||
MeanAbsoluteError The mean absolute error criterion is used in the least absolute deviations method. |
|||
NegativeLogLikelihood The Negative Log Likelihood criterion is used in classification task. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.2 on Thu Aug 20 13:34:14 2015 | http://epydoc.sourceforge.net |