[][src]Function pyrus_nn::costs::accuracy

pub fn accuracy(y_true: f32, y_hat: f32) -> f32

Measure if two f32 elements are equal; here for consistency.