Skip to content

Commit

Permalink
update notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
yngtodd committed Mar 13, 2019
1 parent 4c52d73 commit 7e444fa
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 68 deletions.
55 changes: 21 additions & 34 deletions notebooks/.ipynb_checkpoints/hyperopt-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,15 +23,15 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"100%|██████████| 100/100 [00:00<00:00, 312.22it/s, best loss: -77.18972901241136]\n",
"{'0': -2.729885415079413, '1': -2.702710636326808}\n"
"100%|██████████| 100/100 [00:00<00:00, 165.05it/s, best loss: -76.91377604101976]\n",
"{'0': -3.0663105938518846, '1': -3.1276325746396036}\n"
]
}
],
Expand All @@ -56,25 +56,23 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"{ 'book_time': datetime.datetime(2019, 3, 11, 17, 56, 33, 649000),\n",
"{ 'book_time': datetime.datetime(2019, 3, 13, 1, 57, 42, 826000),\n",
" 'exp_key': None,\n",
" 'misc': { 'cmd': ('domain_attachment', 'FMinIter_Domain'),\n",
" 'idxs': {'x': [0], 'y': [0], 'z': [0]},\n",
" 'idxs': {'0': [0], '1': [0]},\n",
" 'tid': 0,\n",
" 'vals': { 'x': [1.9185834595646973],\n",
" 'y': [-7.441043187200959],\n",
" 'z': [-7.64457512965655]},\n",
" 'vals': {'0': [-2.601201301415804], '1': [4.693710959846706]},\n",
" 'workdir': None},\n",
" 'owner': None,\n",
" 'refresh_time': datetime.datetime(2019, 3, 11, 17, 56, 33, 650000),\n",
" 'result': {'loss': 2274.399434544481, 'status': 'ok'},\n",
" 'refresh_time': datetime.datetime(2019, 3, 13, 1, 57, 42, 826000),\n",
" 'result': {'loss': 40.42574003214093, 'status': 'ok'},\n",
" 'spec': None,\n",
" 'state': 2,\n",
" 'tid': 0,\n",
Expand All @@ -88,7 +86,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -97,7 +95,7 @@
"100"
]
},
"execution_count": 11,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -106,17 +104,6 @@
"len(trials.trials)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"for i in range(10):\n",
" print(f'\\nIteration {i}')\n",
" pp.pprint(trials.trials[i])"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -171,7 +158,7 @@
},
{
"cell_type": "code",
"execution_count": 64,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -203,7 +190,7 @@
},
{
"cell_type": "code",
"execution_count": 71,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -212,16 +199,16 @@
},
{
"cell_type": "code",
"execution_count": 72,
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"-77.18972901241136"
"-76.91377604101976"
]
},
"execution_count": 72,
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -232,16 +219,16 @@
},
{
"cell_type": "code",
"execution_count": 73,
"execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'0': [-2.729885415079413], '1': [-2.702710636326808]}"
"{'0': [-3.0663105938518846], '1': [-3.1276325746396036]}"
]
},
"execution_count": 73,
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -274,7 +261,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,
Expand Down
55 changes: 21 additions & 34 deletions notebooks/hyperopt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,15 +23,15 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"100%|██████████| 100/100 [00:00<00:00, 312.22it/s, best loss: -77.18972901241136]\n",
"{'0': -2.729885415079413, '1': -2.702710636326808}\n"
"100%|██████████| 100/100 [00:00<00:00, 165.05it/s, best loss: -76.91377604101976]\n",
"{'0': -3.0663105938518846, '1': -3.1276325746396036}\n"
]
}
],
Expand All @@ -56,25 +56,23 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"{ 'book_time': datetime.datetime(2019, 3, 11, 17, 56, 33, 649000),\n",
"{ 'book_time': datetime.datetime(2019, 3, 13, 1, 57, 42, 826000),\n",
" 'exp_key': None,\n",
" 'misc': { 'cmd': ('domain_attachment', 'FMinIter_Domain'),\n",
" 'idxs': {'x': [0], 'y': [0], 'z': [0]},\n",
" 'idxs': {'0': [0], '1': [0]},\n",
" 'tid': 0,\n",
" 'vals': { 'x': [1.9185834595646973],\n",
" 'y': [-7.441043187200959],\n",
" 'z': [-7.64457512965655]},\n",
" 'vals': {'0': [-2.601201301415804], '1': [4.693710959846706]},\n",
" 'workdir': None},\n",
" 'owner': None,\n",
" 'refresh_time': datetime.datetime(2019, 3, 11, 17, 56, 33, 650000),\n",
" 'result': {'loss': 2274.399434544481, 'status': 'ok'},\n",
" 'refresh_time': datetime.datetime(2019, 3, 13, 1, 57, 42, 826000),\n",
" 'result': {'loss': 40.42574003214093, 'status': 'ok'},\n",
" 'spec': None,\n",
" 'state': 2,\n",
" 'tid': 0,\n",
Expand All @@ -88,7 +86,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -97,7 +95,7 @@
"100"
]
},
"execution_count": 11,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -106,17 +104,6 @@
"len(trials.trials)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"for i in range(10):\n",
" print(f'\\nIteration {i}')\n",
" pp.pprint(trials.trials[i])"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -171,7 +158,7 @@
},
{
"cell_type": "code",
"execution_count": 64,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -203,7 +190,7 @@
},
{
"cell_type": "code",
"execution_count": 71,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -212,16 +199,16 @@
},
{
"cell_type": "code",
"execution_count": 72,
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"-77.18972901241136"
"-76.91377604101976"
]
},
"execution_count": 72,
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -232,16 +219,16 @@
},
{
"cell_type": "code",
"execution_count": 73,
"execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'0': [-2.729885415079413], '1': [-2.702710636326808]}"
"{'0': [-3.0663105938518846], '1': [-3.1276325746396036]}"
]
},
"execution_count": 73,
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -274,7 +261,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 7e444fa

Please sign in to comment.