attach_evaluations#
- Exploration.attach_evaluations(evaluation_data, ignore_unrecognized_parameters=False)#
Attach evaluations from external source.
Use this method to manually attach a set of evaluations to the exploration. These could be evaluations that were carried out in a previous exploration or from any other source. The data from the evaluations will be given to (and used by) the generator. The attached evaluations are not counted when determining if max_evals has been reached.
The given data should contain all necessary fields that define an evaluation (i.e., the values of the VaryingParameters, AnalyzedParameters and Objectives). The method accepts this data as a list, dictionary, pandas DataFrame or numpy structured array (see example in
Exploration.attach_trials()).- Parameters:
- trial_datadict, list, NDArray or DataFrame
The data containing the trial parameters.
- ignore_unrecognized_parametersbool, optional
Whether to ignore unrecognized parameters in the given data. By default, if the data contains more fields than the VaryingParameters, AnalyzedParameters and Objectives of the exploration, a ValueError is raised, since this might indicate a problem in the data. If set to True, the error will be ignored.