Skip to main content

cp_relative_error

Function cp_relative_error 

Source
pub fn cp_relative_error(original: &DenseTensor, cp: &CpDecomposition) -> f64
Expand description

Relative reconstruction error: ||T - T_approx||_F / ||T||_F.