DeepCAVE icon indicating copy to clipboard operation
DeepCAVE copied to clipboard

Varying configspace index order in PDP and symbolic explanations

Open sarah-segel opened this issue 1 year ago • 1 comments

In the PDP plugin (similar in symbolic expl), the configspace is copied when creating the surrogate model surrogate_model = RandomForestSurrogate(run.configspace, seed=0) and also when creating the PDP pdp = PDP.from_random_points(

In rare cases, this copying of the config space can lead to a different index order in the configspace. This is problematic, as we get the index of the selected hyperparameters from the original configspace, but then use it to select the correct index from the data produced by the PDP (with the changed index).

For example, this occurs when using the run logs/SMAC3v1/outlier-detection/DEHB-pendigits-015-0-0 with hyperparameter_name_1="backbone:num_latent_units" to calculate the PDP.

sarah-segel avatar Feb 09 '24 09:02 sarah-segel

This seems to be caused by a faulty copy functionality of the underlying PDP package we are using. I reported the issue: https://github.com/dwoiwode/py-pdp-partitioner/issues/6

alexandertornede avatar Feb 19 '24 15:02 alexandertornede

Closed with #119

sarah-segel avatar Aug 08 '24 09:08 sarah-segel