ezyrb.reducedordermodel.ReducedOrderModel.test_error
- ReducedOrderModel.test_error(test, norm=<function norm>)[source]
Compute the mean norm of the relative error vectors of predicted test snapshots.
- Parameters:
test (database.Database) – the input test database.
norm (function) – the function used to assign at the vector of errors a float number. It has to take as input a ‘numpy.ndarray’ and returns a float. Default value is the L2 norm.
- Returns:
the mean L2 norm of the relative errors of the estimated test snapshots.
- Return type: