Skip to content

0.8.1

Latest
Compare
Choose a tag to compare
@guillaume-chevalier guillaume-chevalier released this 16 Aug 19:54
af917c9

General improvements and bugfixes:

  • Update FlattenForEach that wasn't up to date.
  • Use _ids, data_inputs, and expected_outputs more often in DataContainer instead of shorthand ids, di, and eo, which were auto-filling values too often when looping over things in flow classes and output handlers.
  • Changed InputAndOutputTransformerMixin to IdsAndInputAndOutputTransformerMixin and derived classes to also process IDs more often in triplets rather than duo tuples of di and eo.
  • Fixed bugs in DataContainer.
  • Easy to read string representation of the DataContainer (DACT) is now possible for easier print debugging at a glimpse.
  • Repair some skipped tests.
  • Cleaned some docstrings.
  • Add __str__ and __repr__ functionalities to context to show its services and parents in detail upon printing.
  • _TruncableMixin that is common to _TruncableSteps and _TruncableService.
  • Introducing _TruncableServiceWithBodyMixin for .body and .joiner that is easier. Also fix FlattenForEach.
  • Added different copy constructors to services depending on the AutoML train/val phase.
  • Add the .mutate(...) function again in the services and steps.
  • Add the .will_mutate_to(...) function again in the services and steps.
  • Rename copy() to _copy() in the services and ExecutionContext to bypass the fact that the copy method was already defined in some python core data structures. This renaming avoids conflicting these functionalities of the core python libs and of Neuraxle when defining services that inherits from core data structures at the same time.
  • Improvements to the _repr to make step strings less bloated when debugging: removed steps names and steps hyperparams when names are redundant with class names and hyperparams empty. Also sometimes the str will be a compact one-liner when the children of a truncable step are of length 1.