dopt.nnet.losses

Contains some utilities for constructing graphs for common loss functions.

Members

Functions

crossEntropy
Operation crossEntropy(Operation hypothesis, Operation groundTruth)

Creates a cross entropy loss term suitable for multiclass classification problems.

squaredError
Operation squaredError(Operation hypothesis, Operation groundTruth)

Creates a squared error loss term suitable for regression (and multi-target regression) problems.

Meta

Authors

Henry Gouk