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 itsDataList.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: