SessionProgramTuner.error_report#

from tmlt.tune import SessionProgramTuner
SessionProgramTuner.error_report(spec=None)#

Computes a single error report.

An error report can be computed by specifying a concrete value for each Tunable in the tuner (this can be None if no Tunable was used), or by passing the output of a previous run(). In the former case, DP outputs and baseline outputs are first computed, before computing the views and the metrics. In the latter case, the contents of the RunOutputs will be used to compute the views and the metrics.

Parameters:

spec (Union[Dict[str, Any], RunOutputs, None]) – Either a dictionary specifying a concrete value for each Tunable in this tuner, or the output of a previous run().

Return type:

ErrorReport