Skip to content

distributed computation via maps interface. #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

petehellyer
Copy link

Hi,

I've been thinking a little bit about how to adapt this code to run across a large distributed compute cluster (particularly using scoop - http://scoop.readthedocs.org/en/0.7/). I stopped a little short of specifically re-writing to depend on scoop, but I did instead re-do a few bits and pieces to allow the user to define a custom map function through which the initialisation and optimisation routine are run instead of loops. The user can then pick whatever future of map they fancy (which in my case is scoop)

I also made a couple changes to the maximisation routine to make it a bit more flexible in the case of using a futurised map. For example, you might if you're running across a cluster, want to run a few evaluations in parallel at each iteration. I've allowed for that by adding an n_evals argument to maximise().

Anyhow, thought some of these changes might be useful in general.

BW

…he main BayesianOptimisation object.

Changed a couple loops in the initialisation and maximisation routines to take advantage of possible multi-threading if a suitable map function is passed as mapf. Also allowed for the possibility that in the case of a multi-threaded mapf, one might want to evaluate a couple different options during the optimisation loop at each iteration.
@fmfn
Copy link
Member

fmfn commented Apr 22, 2016

This looks very interesting. I'll take a closer look over the the weekend, but I like the idea.

Thanks.

@fmfn fmfn closed this Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants