Skip to content

Commit

Permalink
Minor example edit to suggest docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeratyoy committed Oct 22, 2021
1 parent 3c7a870 commit 67ac239
Showing 1 changed file with 30 additions and 21 deletions.
51 changes: 30 additions & 21 deletions examples/00_interfacing_DEHB.ipynb
Expand Up @@ -172,7 +172,7 @@
"data": {
"text/plain": [
"Configuration:\n",
" x0, Value: 6.3793522646424785"
" x0, Value: 3.716302229868112"
]
},
"execution_count": 5,
Expand Down Expand Up @@ -257,6 +257,15 @@
"# but can be tuned as desired"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
"?dehb.run"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -267,15 +276,15 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 9,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Configuration:\n",
" x0, Value: 4.647994905980703\n",
" x0, Value: 4.060258498267547\n",
"\n"
]
}
Expand All @@ -294,21 +303,21 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2021-03-22 17:53:27.292 | INFO | dehb.optimizers.dehb:reset:102 - \n",
"2021-10-22 14:45:56.117 | INFO | dehb.optimizers.dehb:reset:107 - \n",
"\n",
"RESET at 03/22/21 17:53:27 CET\n",
"RESET at 10/22/21 14:45:56 CEST\n",
"\n",
"\n",
"(Configuration:\n",
" x0, Value: 3.5500062657482494\n",
", 0.04514887709783266)\n"
" x0, Value: 3.724555206841792\n",
", 0.0938589687572785)\n"
]
}
],
Expand All @@ -329,21 +338,21 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 11,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2021-03-22 17:53:29.658 | INFO | dehb.optimizers.dehb:reset:102 - \n",
"2021-10-22 14:45:58.567 | INFO | dehb.optimizers.dehb:reset:107 - \n",
"\n",
"RESET at 03/22/21 17:53:29 CET\n",
"RESET at 10/22/21 14:45:58 CEST\n",
"\n",
"\n",
"(Configuration:\n",
" x0, Value: 6.898789003516494\n",
", 0.0068207743261361475)\n"
" x0, Value: 4.341818535733585\n",
", 3.653636256717441e-05)\n"
]
}
],
Expand All @@ -367,16 +376,16 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 12,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(Configuration:\n",
" x0, Value: 6.695906943430258\n",
", 0.015266398519239388)\n"
" x0, Value: 4.610766436763522\n",
", 0.007774399252232556)\n"
]
}
],
Expand All @@ -399,15 +408,15 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 13,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Configuration:\n",
" x0, Value: 6.695906943430258\n",
" x0, Value: 4.610766436763522\n",
"\n"
]
}
Expand All @@ -418,16 +427,16 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 14,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.015266398519239388 0.015266398519239388\n",
"0.007774399252232556 0.007774399252232556\n",
"Configuration:\n",
" x0, Value: 6.695906943430258\n",
" x0, Value: 4.610766436763522\n",
"\n"
]
}
Expand Down

0 comments on commit 67ac239

Please sign in to comment.