benchopt.BaseDataset

benchopt.BaseDataset#

class benchopt.BaseDataset(**parameters)#

Base class to define a dataset in a benchmark.

Datasets that derive from this class should implement one method:

  • get_data(): retrieves/simulates the data contained in this data set and returns a dictionary containing the data. This dictionary is passed as arguments of the objective’s method set_data.

abstract get_data()#

Return the data to feed to the objective .

Returns:
data: dict

Extra parameters of the objective. The objective will be instanciated by calling Objective.set_data(**data).