Interface LossFunction

All Known Implementing Classes:
BinaryCrossEntropyLoss, CrossEntropyLoss, MeanSquaredErrorLoss

public interface LossFunction
Base Interface for all loss functions. Loss function is a component of a deep learning algorithm which calculates an error, as a difference of actual (or predicted) and desired (target) output of a neural network. The total error for some training is usually calculated as a average of errors for all individual input-output pairs. The higher value of loss function, means higher error and lower accuracy of prediction.
See Also: