1 function test_err = rb_test_estimator_parallel(model, ...
3 %
function test_err = rb_test_estimator(reduced_data,M_test)
5 %
function determining the test-error-estimators for the given set of
6 % vectors mu (columns in M_test) of the RB simulation with corresponding
9 % Bernard Haasdonk 6.6.2007
11 % import model specific methods
12 %rb_simulation = model.rb_simulation;
14 nmus = size(M_test,2);
16 test_err = zeros(nmus,1);
23 tmodel = tmodel.set_mu(model,M_test(:,i),
true);
24 sim_data = rb_simulation(tmodel,reduced_data);
25 test_err(i) = tmodel.get_estimator_from_sim_data(sim_data);