residual_rel_error

# Import statement

from hottbox.metrics import residual_rel_error
residual_rel_error(tensor_true, tensor_pred)[source]

Relative error of approximation

Parameters
tensor_trueTensor
tensor_pred{Tensor, TensorCPD, TensorTKD, TensorTT}
Returns
float