Skip to content

0.18.0

Compare
Choose a tag to compare
@louishulot louishulot released this 26 Sep 09:21
· 44 commits to main since this release

0.18.0 - 2022-09-26

Added

  • feat: allow CLI parameters to be read from a file

CHANGED

  • BREAKING CHANGES:

    • the opener only exposes get_data and fake_data methods.
    • the results of the above method is passed under the datasamples keys within the inputs dict arg of all
      tools methods (train, predict, aggregate, score).
    • all method (train, predict, aggregate, score) now takes a task_properties argument (dict) in addition to
      inputs and outputs.
    • The rank of a task previously passed under the rank key within the inputs is now given in the task_properties
      dict under the rank key.
  • BREAKING CHANGE: The metric is now a generic algo, replace

import substratools as tools

class MyMetric(tools.Metrics):
    # ...

if __name__ == '__main__':
    tools.metrics.execute(MyMetric())

by

import substratools as tools

class MyMetric(tools.MetricAlgo):
    # ...
if __name__ == '__main__':
    tools.algo.execute(MyMetric())