Tuning hyper-parameters with bayesian optimization

Hi @muellerzr and anyone else interested. I have stumbled on an error implementing your code in the context of my segmentation problem. I wondered whether you could possibly give me a push in the right direction?

I made a new question here:

Thanks!