pyFDN.Energy#
- class pyFDN.Energy(target=1.0)[source]#
Squared deviation of the response’s total energy from
target.A blunt level anchor: useful next to a magnitude-only loss to stop an objective that is invariant to overall gain from drifting.
Methods
__init__([target])check(model)Preflight against the model it will train, before the first step.
terms()Flatten into
(weight, loss)leaves.Attributes
nameShort label, used as the key in
pyFDN.TrainLog.loss_log.