navlie
L2Loss
L2Loss.loss()
L2Loss.weight()
Bases: LossFunction
LossFunction
Standard L2 loss. Simply 0.5 * e * e , with the robust weight of ones.
The loss function defines the cost \(\rho(e)\), where \(e\) is an error term and is often a function of the design variable.
The weight that depends on the current value of the error. This is used to reweight our original nonlinear least squares problem.
previous
navlie.batch.losses.CauchyLoss
next
navlie.batch.losses.LossFunction