Skip to content

Commit

Permalink
Bayesian optimization tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NazBen committed Oct 25, 2017
1 parent 59693ad commit 46f2a2f
Show file tree
Hide file tree
Showing 6 changed files with 50,416 additions and 768 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,4 @@ _Pvt_Extensions/
ModelManifest.xml
*.pyperf
*.hdf5
.cache/v/cache
51,175 changes: 50,411 additions & 764 deletions examples/bayesian-optimization-dependencies.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/bayesian-optimization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1463,17 +1463,17 @@
}
],
"source": [
"n_random_start = 50\n",
"n_random_starts = 50\n",
"n_iter = 100\n",
"n_estimators = 200\n",
"min_samples_split = max(2, int(n_random_start/10))\n",
"min_samples_split = max(2, int(n_random_starts/10))\n",
"rfq = ModifiedRandomForestQuantileRegressor(n_estimators, min_samples_split=min_samples_split, n_jobs=7)\n",
"n_calls = n_random_start + n_iter\n",
"space = [(xmin, xmax)]\n",
"acq_func = 'EI'\n",
"\n",
"opt_res = forest_minimize(func, space, acq_func=acq_func, base_estimator=rfq,\n",
" n_calls=n_calls, n_random_starts=n_random_start, n_jobs=7, verbose=True)"
" n_calls=n_calls, n_random_starts=n_random_starts, n_jobs=7, verbose=True)"
]
},
{
Expand Down Expand Up @@ -1822,7 +1822,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.3"
"version": "3.6.2"
}
},
"nbformat": 4,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/dep_bayesian_optim_ns_10_niter_5_EI.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 46f2a2f

Please sign in to comment.