automl / BOAH

BOAH: Bayesian Optimization & Analysis of Hyperparameters
https://www.automl.org
Apache License 2.0
66 stars 8 forks source link

fmin-interface for bohb/cave #1

Open shukon opened 5 years ago

shukon commented 5 years ago

write an f-min interface as in scipy or smac to run BOHB (and subsequently CAVE, but that is trivial to add) with minimal configuration "out of the box". Optional parameters to finetune BOHB like budgets or parallelization.

shukon commented 5 years ago

This looks like a great start to me

I see the following issues in the current version:

@mlindauer can you maybe check whether these points are actually what we talked about or which points need clarification?

mlindauer commented 5 years ago

This looks like a great start to me

To what do you refer here? I think that I don't understand some of your points because (for example) I don't know which example you are talking about. The jupyter notebook is not using such a simple interface so far; for example, the user should never see stuff such as workers and servers.

we want to generate a CAVE-report after optimization

the fmin interface does not need to generate the report directly. but it should be fairly easy to generate the report as a next step.

shukon commented 5 years ago

I think that I don't understand some of your points because (for example) I don't know which example you are talking about. The jupyter notebook is not using such a simple interface so far; for example, the user should never see stuff such as workers and servers.

My bad. I'm refering to the EasyOpt-script, that Philipp added.

mlindauer commented 5 years ago

Thanks. Yes, it looks like a good first version.

@shukon After a short look, I think I agree with all your points.

One more point: I would like to also have an argument such that users can define the number of parallel local workers to run.

PhMueller commented 5 years ago

Thanks for the feedback. I will include your ideas!

I hadn't had a good idea for a short example. But i will think about a better one, which uses the budget.

Did I understand this correctly: You, @mlindauer, don't want to generate a cave report in the script? Which is in my opinion the better way, because mixing or overloading the functionality may be confusing.

@shukon: I'm afraid, i currently don't have an idea how to accomplish the task, passing a file as command line argument and then calling the function from this file. But I will do some google-search on it. Or have you already done something like this before?

mlindauer commented 5 years ago

You, @mlindauer, don't want to generate a cave report in the script?

Yes, but it should be simple to generate the report after using the fmin interface.