fitbenchmarking.results_processing.acc_table module

Accuracy table

class fitbenchmarking.results_processing.acc_table.AccTable(results, best_results, options, group_dir, pp_locations, table_name)

Bases: fitbenchmarking.results_processing.base_table.Table

The accuracy results are calculated from the final chi squared value:

\min_p \sum_{i=1}^n \left( \frac{y_i - f(x_i, p)}{e_i} \right)^2

where n data points (x_i,y_i), associated errors e_i, and a model function f(x,p).

get_values(results_dict)

Gets the main values to be reported in the tables

Parameters:results_dict (dictionary) – dictionary containing results where the keys are the problem sets and the values are lists of results objects
Returns:two dictionaries containing the absolute chi_sq and the normalised chi_sq with respect to the smallest chi_sq value.
Return type:tuple(dict, dict)