load_datasetΒΆ

load_dataset(filepath: str, allow_overwrite: bool = True) DataListΒΆ

Load the DataList data in csv. The data consists of all the input values to a black-box objective function in a respective order, and the last column contains the corresponding output from the black-box function.

Parameters:
  • filepath (str) – A data filepath.

  • allow_overwrite (bool, optional) – If set True, the filepath will be set in the returned DataList class instance so that when its DataList.save method is called later, the file will be overwritten. In Amplify-BBOpt, DataList.save is called at end of each optimization cycle. Defaults to True (to be overwritten).

Returns:

The loaded data list.

Return type:

DataList