experimental-design / bofire

Experimental design and (multi-objective) bayesian optimization.
https://experimental-design.github.io/bofire/
BSD 3-Clause "New" or "Revised" License
222 stars 23 forks source link

Fix infeasible cost calculation for categorical inputs #281

Closed jduerholt closed 1 year ago

jduerholt commented 1 year ago

In case of using categorical inputs the computation of the infeasible costs was failing due not transforming the samples to a one hot encoding. This is fixed within this PR.