luinardi / hypermapper

Black-box Optimizer based on Bayesian Optimization
MIT License
155 stars 26 forks source link

Categorical Parameters broken in the `hypermapper-v3` branch #93

Closed panzerox123 closed 1 year ago

panzerox123 commented 1 year ago

Hey folks, Categorical parameters don't work while using the hypermapper-v3 branch, here are the changes that I had to make in order to get it working:

File: hypermapper/param/parameters.py:

Thanks, Kunal Bhat

ErikOrm commented 1 year ago

Thanks! I added the proposed fixes and added a test for categorical variables in the test suite.