Skip to content

Commit

Permalink
0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vang1ong7ang committed Mar 16, 2020
1 parent f250e24 commit c0cfba1
Showing 1 changed file with 25 additions and 91 deletions.
116 changes: 25 additions & 91 deletions dual-token-model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "ae0f2f927840437095ed7a9cdff1f215",
"model_id": "f6116af485e148a683afc2a97ae00a73",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -287,7 +287,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "aa943a7445424be7bf77dd0722c29020",
"model_id": "6634b7a1023549f5b34f05fd87e6f593",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -342,7 +342,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "3d11d68607dd4881bcac9a71e91a30c1",
"model_id": "fe8c71b89b524a028f35523696638663",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -463,14 +463,23 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 9,
"metadata": {},
"outputs": [],
"outputs": [
{
"ename": "SyntaxError",
"evalue": "EOL while scanning string literal (<ipython-input-9-6e290785eae3>, line 4)",
"output_type": "error",
"traceback": [
"\u001b[0;36m File \u001b[0;32m\"<ipython-input-9-6e290785eae3>\"\u001b[0;36m, line \u001b[0;32m4\u001b[0m\n\u001b[0;31m G=ipywidgets.widgetstable_baselines.ACKTR('Mls.FloatSlider(min=0, max=100, step=1, value=2)\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m EOL while scanning string literal\n"
]
}
],
"source": [
"# YOU DON'T NEED TO READ THIS SECTION UNLESS YOU WANT TO KNOW THE IMPLEMENT DETAILS OF FIGURES\n",
"class retial_investor(solution):\n",
" A=ipywidgets.widgets.FloatSlider(min=0, max=1000, step=10, value=100)\n",
" G=ipywidgets.widgetstable_baselines.ACKTR('Mls.FloatSlider(min=0, max=100, step=1, value=2)\n",
" G=ipywidgets.widget.ACKTR('Mls.FloatSlider(min=0, max=100, step=1, value=2)\n",
" N=ipywidgets.widgets.FloatSlider(min=0, max=100, step=1, value=10)\n",
" I = ipywidgets.widgets.FloatSlider(min=10**6, max=10**8, step=10**6, value=10**7)\n",
" U = ipywidgets.widgets.FloatSlider(min=10**8, max=10**8, step=10**8, value=10**8)\n",
Expand Down Expand Up @@ -562,24 +571,9 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "ddfe855be1b542dc80fad2c1ba74e71e",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"@retial_investor.decorator()\n",
"def draw(S, T, K, A, G, N, I, U, R, W):\n",
Expand Down Expand Up @@ -617,24 +611,9 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "0eaf8dddecf541568c198b246d2ace36",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"@retial_investor.decorator()\n",
"def draw(S, T, K, A, G, N, I, U, R, W):\n",
Expand Down Expand Up @@ -672,24 +651,9 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "0c5a24477c324b2da5ab42ebdd6367d8",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"@retial_investor.decorator()\n",
"def draw(S, T, K, A, G, N, I, U, R, W):\n",
Expand Down Expand Up @@ -727,24 +691,9 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "f90d812922bd438ab63eb11fbc23cf5f",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"@retial_investor.decorator()\n",
"def draw(S, T, K, A, G, N, I, U, R, W):\n",
Expand Down Expand Up @@ -782,24 +731,9 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "f664cadee643404c8d3684ac230f9d30",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"@retial_investor.decorator()\n",
"def draw(S, T, K, A, G, N, I, U, R, W):\n",
Expand Down

0 comments on commit c0cfba1

Please sign in to comment.