Module scarecrow::loss [] [src]

Loss functions for training the networks.

Structs

SquaredError

The square error is defined as e = (y - t)^2, with derivative de/dy = 2 * (y - t).