class documentation

class ZooDatasetSplitInfo(etas.Serializable): (source)

Constructor: ZooDatasetSplitInfo(split, num_samples)

View In Hierarchy

Class containing info about a split of a dataset in the FiftyOne Dataset Zoo.

Parameters
splitthe name of the split
num_samplesthe number of samples in the split
Class Method from_dict Loads a ZooDatasetSplitInfo from a JSON dictionary.
Method __init__ Undocumented
Method attributes Returns a list of class attributes to be serialized.
Instance Variable num_samples Undocumented
Instance Variable split Undocumented
@classmethod
def from_dict(cls, d): (source)

Loads a ZooDatasetSplitInfo from a JSON dictionary.

Parameters
da JSON dictionary
Returns
a ZooDatasetSplitInfo
def __init__(self, split, num_samples): (source)

Undocumented

def attributes(self): (source)

Returns a list of class attributes to be serialized.

Returns
a list of class attributes
num_samples = (source)

Undocumented

Undocumented