metricviscomponent
metricviscomponent ¶
Module for MetricVisComponent for the dashboard
Classes¶
MetricVisComponent ¶
MetricVisComponent(
component_name=None,
meta_function=None,
target_value_list=None,
assert_on_error=False,
)
Bases: ExpVisComponent
Dashboard ExpVisComponent to visualize all metrics in two columns (the right side starting with val_)
Source code in niceml/dashboard/components/expviscomponent.py
Functions¶
generate_charts_for_metrics ¶
Generates all charts for selected experiments and metrics and caches them
Parameters:
-
exp_ids(List[str]) –Experiment Ids to get the metrics charts for
-
exp_manager(ExperimentManager) –Experiment Manager to get the data from
-
metric_list(List[str]) –Metrics to get the charts of
Returns:
-
list–List of charts for each metric
Source code in niceml/dashboard/metricviscomponent.py
sort_metric_list ¶
Sorts the metric list so that validation metrics are together with train metrics.
Parameters:
-
metric_list(List[str]) –List[str]: list of metrics
Returns:
-
List[str]–A list of strings where the validation metrics are together with the train metrics