smac.runhistory.runhistory2epm

Classes

AbstractRunHistory2EPM(scenario, num_params, ...)

RunHistory2EPM4Cost(scenario, num_params, ...)

TODO.

RunHistory2EPM4EIPS(scenario, num_params, ...)

TODO.

RunHistory2EPM4InvScaledCost(**kwargs)

TODO.

RunHistory2EPM4LogCost(scenario, num_params, ...)

TODO.

RunHistory2EPM4LogScaledCost(scenario, ...)

TODO.

RunHistory2EPM4ScaledCost(scenario, ...[, ...])

TODO.

RunHistory2EPM4SqrtScaledCost(**kwargs)

TODO.

class smac.runhistory.runhistory2epm.RunHistory2EPM4Cost(scenario, num_params, success_states, impute_censored_data=False, impute_state=None, consider_for_higher_budgets_state=None, imputor=None, scale_perc=5, rng=None, multi_objective_algorithm=None)[source]

Bases: smac.runhistory.runhistory2epm.AbstractRunHistory2EPM

TODO.

transform_response_values(values)[source]

Transform function response values. Returns the input values.

Parameters

values (np.ndarray) – Response values to be transformed.

Return type

np.ndarray

class smac.runhistory.runhistory2epm.RunHistory2EPM4EIPS(scenario, num_params, success_states, impute_censored_data=False, impute_state=None, consider_for_higher_budgets_state=None, imputor=None, scale_perc=5, rng=None, multi_objective_algorithm=None)[source]

Bases: smac.runhistory.runhistory2epm.AbstractRunHistory2EPM

TODO.

transform_response_values(values)[source]

Transform function response values. Transform the runtimes by a log transformation (log(1.

  • runtime).

Parameters

values (np.ndarray) – Response values to be transformed.

Return type

np.ndarray

class smac.runhistory.runhistory2epm.RunHistory2EPM4InvScaledCost(**kwargs)[source]

Bases: smac.runhistory.runhistory2epm.RunHistory2EPM4Cost

TODO.

transform_response_values(values)[source]

Transform function response values. Transform the response values by linearly scaling them between zero and one and then using inverse scaling.

Parameters

values (np.ndarray) – Response values to be transformed.

Return type

np.ndarray

class smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost(scenario, num_params, success_states, impute_censored_data=False, impute_state=None, consider_for_higher_budgets_state=None, imputor=None, scale_perc=5, rng=None, multi_objective_algorithm=None)[source]

Bases: smac.runhistory.runhistory2epm.RunHistory2EPM4Cost

TODO.

transform_response_values(values)[source]

Transform function response values. Transforms the response values by using a log transformation.

Parameters

values (np.ndarray) – Response values to be transformed.

Return type

np.ndarray

class smac.runhistory.runhistory2epm.RunHistory2EPM4LogScaledCost(scenario, num_params, success_states, impute_censored_data=False, impute_state=None, consider_for_higher_budgets_state=None, imputor=None, scale_perc=5, rng=None, multi_objective_algorithm=None)[source]

Bases: smac.runhistory.runhistory2epm.RunHistory2EPM4Cost

TODO.

transform_response_values(values)[source]

Transform function response values.

Transform the response values by linearly scaling them between zero and one and then using the log transformation.

Parameters

values (np.ndarray) – Response values to be transformed.

Return type

np.ndarray

class smac.runhistory.runhistory2epm.RunHistory2EPM4ScaledCost(scenario, num_params, success_states, impute_censored_data=False, impute_state=None, consider_for_higher_budgets_state=None, imputor=None, scale_perc=5, rng=None, multi_objective_algorithm=None)[source]

Bases: smac.runhistory.runhistory2epm.RunHistory2EPM4Cost

TODO.

transform_response_values(values)[source]

Transform function response values. Transforms the response values by linearly scaling them between zero and one.

Parameters

values (np.ndarray) – Response values to be transformed.

Return type

np.ndarray

class smac.runhistory.runhistory2epm.RunHistory2EPM4SqrtScaledCost(**kwargs)[source]

Bases: smac.runhistory.runhistory2epm.RunHistory2EPM4Cost

TODO.

transform_response_values(values)[source]

Transform function response values. Transform the response values by linearly scaling them between zero and one and then using the square root.

Parameters

values (np.ndarray) – Response values to be transformed.

Return type

np.ndarray