Skip to content

Commit

Permalink
more different inits
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEnsemble committed Sep 1, 2021
1 parent 9e8f100 commit 59e12d1
Showing 1 changed file with 15 additions and 74 deletions.
89 changes: 15 additions & 74 deletions new/BO_run.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "equipped-surgery",
"id": "center-mathematics",
"metadata": {},
"source": [
"# BO runs"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "dominant-mentor",
"id": "ambient-transsexual",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -53,7 +53,7 @@
},
{
"cell_type": "markdown",
"id": "joint-trunk",
"id": "intellectual-flour",
"metadata": {},
"source": [
"load data from `prepare_Xy.ipynb`"
Expand All @@ -62,7 +62,7 @@
{
"cell_type": "code",
"execution_count": 2,
"id": "accurate-disaster",
"id": "comic-elizabeth",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -97,7 +97,7 @@
},
{
"cell_type": "markdown",
"id": "educated-allocation",
"id": "congressional-walter",
"metadata": {},
"source": [
"convert to torch tensors"
Expand All @@ -106,7 +106,7 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "infectious-england",
"id": "seventh-transfer",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -117,7 +117,7 @@
{
"cell_type": "code",
"execution_count": 4,
"id": "stuck-train",
"id": "subtle-holmes",
"metadata": {},
"outputs": [
{
Expand All @@ -138,7 +138,7 @@
{
"cell_type": "code",
"execution_count": 5,
"id": "perceived-northeast",
"id": "limiting-collar",
"metadata": {},
"outputs": [
{
Expand All @@ -159,7 +159,7 @@
{
"cell_type": "code",
"execution_count": 6,
"id": "sublime-armstrong",
"id": "resistant-release",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -169,7 +169,7 @@
{
"cell_type": "code",
"execution_count": 7,
"id": "verified-target",
"id": "earned-dayton",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -277,16 +277,16 @@
},
{
"cell_type": "markdown",
"id": "informal-thought",
"id": "complicated-assumption",
"metadata": {},
"source": [
"must run with `which_acquisition` equal to all three below."
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "turkish-bernard",
"execution_count": null,
"id": "adapted-provision",
"metadata": {},
"outputs": [
{
Expand All @@ -296,74 +296,15 @@
"# COFs in initialization: 5\n",
"\n",
"RUN 0\n",
"took time t = 0.7031182249387106 min\n",
"\n",
"\n",
"RUN 1\n",
"took time t = 0.724576183160146 min\n",
"\n",
"\n",
"RUN 2\n",
"took time t = 0.9156078775723775 min\n",
"\n",
"\n",
"RUN 3\n",
"took time t = 0.7954629262288412 min\n",
"\n",
"\n",
"RUN 4\n",
"took time t = 0.5300405740737915 min\n",
"\n",
"# COFs in initialization: 10\n",
"\n",
"RUN 0\n",
"took time t = 0.57634117603302 min\n",
"\n",
"\n",
"RUN 1\n",
"took time t = 0.5788240234057108 min\n",
"\n",
"\n",
"RUN 2\n",
"took time t = 0.557153316338857 min\n",
"\n",
"\n",
"RUN 3\n",
"took time t = 0.45756221214930215 min\n",
"\n",
"\n",
"RUN 4\n",
"took time t = 0.5383438547452291 min\n",
"\n",
"# COFs in initialization: 15\n",
"\n",
"RUN 0\n",
"took time t = 0.8625232338905334 min\n",
"\n",
"\n",
"RUN 1\n",
"took time t = 0.7685578902562459 min\n",
"\n",
"\n",
"RUN 2\n",
"took time t = 0.6317920446395874 min\n",
"\n",
"\n",
"RUN 3\n",
"took time t = 0.6234280983606975 min\n",
"\n",
"\n",
"RUN 4\n",
"took time t = 0.6032879710197449 min\n",
"\n"
"iteration: 26\r"
]
}
],
"source": [
"which_acquisition = \"EI\"\n",
"# which_acquisition = \"max y_hat\"\n",
"# which_acquisition = \"max sigma\"\n",
"nb_COFs_initializations = {\"EI\": [5, 10, 15], \n",
"nb_COFs_initializations = {\"EI\": [5, 10, 15, 20, 25], \n",
" \"max y_hat\": [10], \n",
" \"max sigma\": [10]}\n",
"\n",
Expand Down

0 comments on commit 59e12d1

Please sign in to comment.