pub fn encode_reconstruction_error(
atom: &SaeManifoldAtom,
evaluator: &dyn SaeBasisEvaluator,
coord: ArrayView1<'_, f64>,
x: ArrayView1<'_, f64>,
amplitude: f64,
) -> f64Expand description
Reconstruction error ‖x − z·m(t)‖ of an encoded coordinate t — the
criterion the certified encode minimizes over its candidate charts to pick the
GLOBAL basin. m(t) = Bᵀ Φ(t) is the amplitude-1 reconstruction; z is the
amplitude. A non-finite reconstruction returns +∞ so it never wins.