Skip to content

Malet release v0.1.7

Compare
Choose a tag to compare
@edong6768 edong6768 released this 07 Mar 03:40
· 65 commits to main since this release
c04709c

Changes

  • Change method name explode_and_melt_metricmelt_and_explode_metric and its kwarg epochstep in ExperimentLog.
  • Compute function (arg: fn) is no longer mapped onto list fields when using ExperimentLog.add_conputed_metric.
  • Change module structure of malet.plot_utils.

Features

  • Can now parse metric of any nested-structure of standard python types (strings, bytes, numbers, tuples, lists, dicts, sets, booleans, None and Ellipsis) from tsv file in ExperimentLog using ast.literal_eval.
  • Add mode (curve_best) for plotting star marker for best performing among x.
  • Add annotations to heatmap in malet-plot.
  • Filter epoch by range in malet-plot.
  • malet-plot can process list fields with various lengths.
  • Automatic markevery setting depending on number of x-values in curve modes in malet-plot.
  • Add arguments for title, x-label, y-label, font size in malet-plot.
  • Filter log.df prior to melt_and_expand_metric for faster processing in plot.draw_metric.
  • Add kwarg save to ExperimentLog.merge_folder.
  • Better error messages
    • ExperimentLog: error message for overlapping field names when instantiating
    • plot_utils.data_processor.select_df: error messages for non-existent field, field_value, and empty dataframe before/after filter.

Bug Fixes

  • Plotting when x-field is 'step' (previously 'epoch')
    • Fix from plotting only last step to all steps (wrong argument in explode_and_melt_metric call).
    • Fix error when 'best_ref_x_fields' is not specified.
  • Annotate only above the marks in curve mode in malet-plot.
  • Apply str2value to indices (grid fields) when loading tsv in ExperimentLog.from_tsv.
  • Fix ExperimentLog.add_derived_index to handle tuples.