Class MeanSquaredErrorLoss

java.lang.Object
deepnetts.net.loss.MeanSquaredErrorLoss
All Implemented Interfaces:
LossFunction, Serializable

public final class MeanSquaredErrorLoss extends Object implements LossFunction, Serializable
Mean Squared Error Loss function. Sum squared errors over all input patterns and all outputs. Should be used for regression problems. Math formula: N K E = 1/(2*N*K) * SUM(SUM(y-t)^2) + regSum where N is number of patterns and K is dimension of output vector, and regSum is L1 or L2 regularization multiplied with lambda. Bishop, pg. 89, eq. 3.34 Also recommended this formula in Proben1 Technical report
See Also: