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_data
andfake_data
methods. - the results of the above method is passed under the
datasamples
keys within theinputs
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
andoutputs
. - The
rank
of a task previously passed under therank
key within the inputs is now given in thetask_properties
dict under therank
key.
- 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())