Module dopt.nnet.losses
Contains some utilities for constructing graphs for common loss functions.
Functions
Name | Description |
---|---|
crossEntropy(hypothesis, groundTruth) | Creates a cross entropy loss term suitable for multiclass classification problems. |
squaredError(hypothesis, groundTruth) | Creates a squared error loss term suitable for regression (and multi-target regression) problems. |