Skip to main content

loss

Function loss 

pub fn loss(
    value: f64,
    start_loss: f64,
    start: u64,
    horizon: u64,
    step: u64,
) -> f64
Expand description

The training loss at step of a segment that started at start with loss start_loss and converges to value at horizon. Past the horizon it stays at value.