save_metrics_to

hybrid_learning.experimentation.fuzzy_exp.fuzzy_exp_helpers.save_metrics_to(metric_vals, metrics_logfile=None, metrics_logdir=None, log_scalar=None)[source]

Save dict {metric_name: val} to metrics_logdir/metrics.csv and/or using log_scalar method. Return two dicts, on with the numerical values, one with the figures contained in metric_vals dict.

Parameters
Return type

Tuple[Dict[str, float], Dict[str, Figure]]