fitbenchmarking.results_processing.local_min_table module¶
compare table
-
class
fitbenchmarking.results_processing.local_min_table.LocalMinTable(results, best_results, options, group_dir, pp_locations, table_name)¶ Bases:
fitbenchmarking.results_processing.base_table.TableThe local min results shows a
TrueorFalsevalue together with
. The TrueorFalseindicates whether the software finds a minimum with respect to the following criteria:
RES_TOL,
GRAD_TOL,
GRAD_TOL,
where
and
are the Jacobian and residual of
, respectively. The tolerances can be found in the results
object.-
display_str(results)¶ Function that combines the True and False value from variable local_min with the normalised residual
Parameters: results (tuple) – a dictionary containing true or false values whether the return parameters is a local minimizer and a dictionary containing
valuesReturns: dictionary containing the string representation of the values in the table. Return type: dict
-
get_colour(results)¶ Uses the local minimizer dictionary values to set the HTML colour
Parameters: results (tuple) – a dictionary containing true or false values whether the return parameters is a local minimizer and a dictionary containing
valuesReturns: dictionary containing error codes from the minimizers Return type: dict
-
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: a dictionary containing true or false values whether the return parameters is a local minimizer and a dictionary containing
valuesReturn type: tuple(dict, dict)