0.18.0
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_dataandfake_datamethods. - the results of the above method is passed under the
datasampleskeys within theinputsdict arg of all
tools methods (train, predict, aggregate, score). - all method (train, predict, aggregate, score) now takes a
task_propertiesargument (dict) in addition to
inputsandoutputs. - The
rankof a task previously passed under therankkey within the inputs is now given in thetask_properties
dict under therankkey.
- the opener only exposes
-
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())