fn calculate_error(
    context: &mut TunerContext,
    scaling_constant: f64,
    threads_count: usize
) -> f64
Expand description

Calculates an error by evaluating all loaded positions with the currently set evaluation parameters. Multithreading is supported by threads_count.