pimlico.datatypes.results module

class pimlico.datatypes.results.NumericResult(base_dir, pipeline, **kwargs)[source]

Bases: pimlico.datatypes.base.PimlicoDatatype

Simple datatype to contain a numeric value and a label, representing the result of some process, such as evaluation of a model on a task.

For example, allows results to be plotted by passing them into a graph plotting module.

data

Raw JSON data

label

A label to identify this result (e.g. model name)

result

The numeric result being stored

class pimlico.datatypes.results.NumericResultWriter(base_dir, **kwargs)[source]

Bases: pimlico.datatypes.base.PimlicoDatatypeWriter