Function mae

Source
pub fn mae<A, S, D>(
    pred: &ArrayBase<S, D>,
    target: &ArrayBase<S, D>,
) -> Option<A>
where A: FromPrimitive + Num + ScalarOperand + Signed, D: Dimension, S: Data<Elem = A>,
Expand description

A functional implementation of the mean absolute error loss function which compares two similar arrays