Installation - acil-bwh/SpearmintClient GitHub Wiki
SpearmintClient is a light front-end to execute Spearmint locally or on a server and report the summary results on a SpearmintServer.
In order to run spearmint locally (this option is preferred if you plan to run parallel Spearmint Experimient), you need to have a local spearmint installation.
Requirements
MongoDB <= 3.13.0
Installing Spearmint locally
-
Make sure that spearmint is not installed
sudo pip uninstall spearmint
-
Install spearmint
pip install git+https://github.com/acil-bwh/Spearmint.git@develop
-
Install SpearmintClient
pip install git+https://github.com/acil-bwh/SpearmintClient.git
Example
To run spearmint algorithm locally, you can specify additional option ‘run_mode’ while creating Experiment, for example:
scientist = SpearmintClient.Experiment(name="branin_tuner",access_token=access_token, run_mode='local') # default run_mode = ‘local’ if not specified
You can find more details about this example here