hyperopt icon indicating copy to clipboard operation
hyperopt copied to clipboard

Request: Force the first set of evaluated parameters/ save info to trials

Open sshleifer opened this issue 7 years ago • 2 comments

I know the best params for my model but hyperopt over a parameter space centered around my best params has thus far failed to discover params with a better objective than mine. I want to guide tpe.suggest towards good parameters by telling it "check out these params". Have already run:

trials = Trials()
best = fmin(objective,
            space=rnn_space,
    algo=tpe.suggest,
    max_evals=50,
    trials=trials)

and then

best_params={dropout_frac=1,...}
baseline_result = objective(best_params)

Now I just need to somehow inject this information into the optimization process, or restart the optimization process with more guidance.

sshleifer avatar Jan 25 '18 18:01 sshleifer

insert_trial_docs seems relevant, but documentation for how to create a doc from a dictionary does not exist yet

sshleifer avatar Jan 25 '18 18:01 sshleifer

This issue has been marked as stale because it has been open 120 days with no activity. Remove the stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Sep 20 '24 01:09 github-actions[bot]