flambe.dataset.dataset
¶
Module Contents¶
-
class
flambe.dataset.dataset.
Dataset
[source]¶ Bases:
flambe.Component
Base Dataset interface.
Dataset objects offer the main interface to loading data into the experiment pipepine. Dataset objects have three attributes: train, dev, and test, each pointing to a list of examples.
Note that Datasets should also be “immutable”, and as such, __setitem__ and __delitem__ will raise an error. Although this does not mean that the object will not be mutated in other ways, it should help avoid issues now and then.