Closed Hebbalali closed 5 years ago
Hi @Hebbalali,
Thanks for this! These are some bugs that crept in when I moved the code over to emukit. I have an updated version locally that I will submit a PR for very soon.
Mark
This should be resolved by #225. Please feel free to reopen if you have any other questions.
Hi all!
I had some questions while testing the benchmarking on multi fidelity DGP.
1\ In
baseline_model_wrappers.py
The HighFidelityGp model which would only model the highest fidelity, take as inputsX[1]
andY[1]
which is correct for a model with two fidelities. However, for example if the Branin or the Hartmann_3d benchmarks are used which have 3 fidelities theX[1]
andY[1]
would correspond to the second fidelity. So, i think it would beX[-1]
andY[-1]
as inputs forHighFidelityGp
.2\ In
benchmarking_examples.ipynb
the inputs and outputs fidelities are given as lists which are later transformed usingconvert_xy_lists_to_arrays
insidebaseline_model_wrappers.py
which merges the lists and adds a column with discrete values toX
to distinguish the fidelities . However, in the sampling used in benchmarking_examples.ipynb with latin.get_samples a column is already added to theX
of each fidelity corresponding to the InformationSourceParameter of the function. So i think there is no need in this case for this parameter since the sampling is used for each fidelity within its own list. Actually we obtainX
for two fidelities as:It seems to me that here the last column does not give any additional information. And the information about which fidelity is already in the list. Moreover, this can create modeling problem, because when using a model the function
convert_xy_lists_to_arrays
is used which will create the column corresponding to each fidelity hence having anX
with four columns while the input dimension is only 2. Then the three first columns will be used for modeling the interactions within a fidelity (including the third one).