class documentation

Base class for storing the results of a run.

Parameters
samplesthe fiftyone.core.collections.SampleCollection used
configthe BaseRunConfig used
keythe key for the run
backenda BaseRun instance. If not provided, one is instantiated from config
Class Method from_dict Builds a BaseRunResults from a JSON dict representation of it.
Static Method base_results_cls Returns the results class for the given run type.
Method __init__ Undocumented
Method attributes Returns the list of class attributes that will be serialized by serialize.
Method save Saves the results to the database.
Method save_config Saves these results config to the database.
Property backend The BaseRun for these results.
Property cls The fully-qualified name of this BaseRunResults class.
Property config The BaseRunConfig for these results.
Property key The run key for these results.
Property samples The fiftyone.core.collections.SampleCollection associated with these results.
Class Method _from_dict Subclass implementation of from_dict.
Instance Variable _backend Undocumented
Instance Variable _config Undocumented
Instance Variable _key Undocumented
Instance Variable _samples Undocumented
@classmethod
def from_dict(cls, d, samples, config, key): (source)

Builds a BaseRunResults from a JSON dict representation of it.

Parameters
da JSON dict
samplesthe fiftyone.core.collections.SampleCollection for the run
configthe BaseRunConfig for the run
keythe run key
Returns
a BaseRunResults
@staticmethod
def base_results_cls(type): (source)

Returns the results class for the given run type.

Parameters
typea BaseRunConfig.type
Returns
a BaseRunResults subclass
def attributes(self): (source)

Returns the list of class attributes that will be serialized by serialize.

Returns
a list of attributes
def save(self): (source)

Saves the results to the database.

def save_config(self): (source)

Saves these results config to the database.

The fully-qualified name of this BaseRunResults class.

The BaseRunConfig for these results.

The run key for these results.

The fiftyone.core.collections.SampleCollection associated with these results.

@classmethod
def _from_dict(cls, d, samples, config, key): (source)
_backend = (source)

Undocumented

Undocumented

Undocumented

_samples = (source)

Undocumented