plot#

Functions#

prt_rl.common.plot.plot_scalar_metric(metric_name: str, metric_values: Dict | ndarray, max_value: float = None) None[source]#

Plots a confidence plot of the scalar metric.

metric = {‘metric_name’: Support confidence max and min chopping Support color setting Support xlim and ylim setting :param metric_name: name of the metric :type metric_name: str :param metric_values: metric values :type metric_values: dict :param max_value: maximum value of the metric. Plots a horizontal line if maximum is provided. Defaults to None. :type max_value: float, optional

Examples: