Comments (5)
Thanks for trying out HpBandSter; I'm glad you like it!
As you have already successfully figured out, the result_logger is kind of a callback that is notified every time a new configuration is proposed, or a new result comes in. IMHO, the 6 lines of code you had to write to achieve that are not too bad. I agree that having callbacks would be nice, but it's actually not that hard to add more things to your logger to perform exactly the actions you need.
So far, you are the first one I know that actually wrote a custom logger. How would you feel about adding your custom logger to the examples for others to see how to do that?
from hpbandster.
I guess you are right @sfalkner. Callbacks are a "nice to have", but definitely you can do pretty much whatever you need in the __call__
function.
I would love to add an example of that!
I will do that next week as I am on vacation right now.
PS
I am writing a blog series about HPO in python and HpBandSter is going to be part 5 of that.
Part 0 and Part 1 are already published on towards data science.
from hpbandster.
Hi @sfalkner.
I have been on and off trying to add this example but I am having trouble understanding how to build it.
When I worked with rtd and sphinx in my projects I would create .rtd
or .ipynb
files and then run make html
to create html files.
In this project, it seems a bit different and it would help me a lot if you could give a simple step-by-step instruction of how to build it. Specifically:
- where should I create a new
.ipynb
with the example? - which .rt d or .html should I modify to change the
index.html
forExamples-How to use HpBandSter
? - how to build it? I'd presume once the first and second questions are answer I just need to run
make html
Thanks!
from hpbandster.
Hi @jakubczakon,
sorry for the delay on my end.
IIRC, you just put the example as a .py
file into the hpbandster/examples' folder. Make sure it has
example` in its name, so it is picked up during building the documentation. This line makes sure that the examples are automatically picked up without changing anything else. Let me know if you have any problems.
Thanks for putting in the time!
from hpbandster.
Thanks @sfalkner !
Added example as you proposed in PR #65
from hpbandster.
Related Issues (20)
- A bunch of errors when using categoricals
- Interferance between two BOHB instances when they have the same networking parameters? HOT 2
- Why get_incumbent_id selects the incumbent only from runs with max_budget? HOT 1
- How to stop a worker
- How to plot pictures like your work
- Support scipy 1.3+ HOT 1
- Download code button for keras example is not working
- Missing Optimizer
- Minor documentation fixes
- Machine precision problem in determening s_max
- Fit reinforcement learning model with hyperparameter optimization method
- Hyperband bracket generation is inconsistent with the original Hyperband paper HOT 1
- Continuing from running halfway
- Warm start: results.json and configs.json (from live json_result_logger) do not contain results from previous runs HOT 3
- "Ideally, the optimizer would adjust the budgets online" -- when will it be implemented and using what method?
- Issue in case of warmstarting case
- Saving optimization process HOT 1
- conda package? HOT 2
- License file for conda package
- some problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hpbandster.