Skip to content
Permalink
Browse files

test

  • Loading branch information...
jermwatt committed Jun 28, 2019
1 parent f000e07 commit b43c59c79502ee5450d246b296d8c4f057878630
@@ -13319,15 +13319,15 @@ <h4 id="Example-11.7:--Universal-approximation-of-real-regression-data"><span st
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In [9]:</div>
<div class="prompt input_prompt">In [3]:</div>
<div class="inner_cell">

</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt output_prompt">Out[9]:</div>
<div class="prompt output_prompt">Out[3]:</div>
<div class="output_html rendered_html output_subarea output_execute_result">
<video controls="" height="400" loop="" width="800">
<source src="videos/animation_3.mp4" type="video/mp4">
@@ -13396,18 +13396,18 @@ <h4 id="Example-11.8:--Universal-approximation-of-real-classification-data"><spa
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In [10]:</div>
<div class="prompt input_prompt">In [5]:</div>
<div class="inner_cell">

</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt output_prompt">Out[10]:</div>
<div class="prompt output_prompt">Out[5]:</div>
<div class="output_html rendered_html output_subarea output_execute_result">
<video controls="" height="400" loop="" width="800">
<source src="videos/animation_3.mp4" type="video/mp4">
<source src="videos/animation_4.mp4" type="video/mp4">
</source></video>
</div>
</div>
@@ -13423,18 +13423,18 @@ <h4 id="Example-11.8:--Universal-approximation-of-real-classification-data"><spa
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In [11]:</div>
<div class="prompt input_prompt">In [7]:</div>
<div class="inner_cell">

</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt output_prompt">Out[11]:</div>
<div class="prompt output_prompt">Out[7]:</div>
<div class="output_html rendered_html output_subarea output_execute_result">
<video controls="" height="400" loop="" width="800">
<source src="videos/animation_4.mp4" type="video/mp4">
<source src="videos/animation_5.mp4" type="video/mp4">
</source></video>
</div>
</div>
@@ -184,7 +184,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 3,
"metadata": {},
"outputs": [
{
@@ -199,7 +199,7 @@
"<IPython.core.display.HTML object>"
]
},
"execution_count": 9,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
@@ -279,22 +279,22 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"<video width=\"800\" height=\"400\" controls loop>\n",
" <source src=\"videos/animation_3.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_4.mp4\" type=\"video/mp4\">\n",
" </video>\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"execution_count": 10,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
@@ -312,13 +312,13 @@
"\n",
"# animate\n",
"frames = 5\n",
"demo3.animate_comparisons(savepath = 'videos/animation_3.mp4',frames=frames,fps=1)\n",
"demo3.animate_comparisons(savepath = 'videos/animation_4.mp4',frames=frames,fps=1)\n",
"\n",
"# load in video and display\n",
"from IPython.display import HTML\n",
"HTML(\"\"\"\n",
"<video width=\"800\" height=\"400\" controls loop>\n",
" <source src=\"videos/animation_3.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_4.mp4\" type=\"video/mp4\">\n",
" </video>\n",
"\"\"\")"
]
@@ -332,22 +332,22 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 7,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"<video width=\"800\" height=\"400\" controls loop>\n",
" <source src=\"videos/animation_4.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_5.mp4\" type=\"video/mp4\">\n",
" </video>\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"execution_count": 11,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
@@ -392,14 +392,14 @@
"# animate the business\n",
"frames = num_units\n",
"demo = nonlib.main_classification_animators.Visualizer(csvname)\n",
"savepath = 'videos/animation_4.mp4'\n",
"savepath = 'videos/animation_5.mp4'\n",
"demo.animate_classifications(savepath,run1,frames,fps=0.5)\n",
"\n",
"# load in video and display\n",
"from IPython.display import HTML\n",
"HTML(\"\"\"\n",
"<video width=\"800\" height=\"400\" controls loop>\n",
" <source src=\"videos/animation_4.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_5.mp4\" type=\"video/mp4\">\n",
" </video>\n",
"\"\"\")"
]
@@ -13318,18 +13318,18 @@ <h4 id="Example-11.9:--Naive-cross-validation-and-regression"><span style="color
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In [10]:</div>
<div class="prompt input_prompt">In [1]:</div>
<div class="inner_cell">

</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt output_prompt">Out[10]:</div>
<div class="prompt output_prompt">Out[1]:</div>
<div class="output_html rendered_html output_subarea output_execute_result">
<video controls="" height="500" loop="" width="1000">
<source src="videos/animation_5.mp4" type="video/mp4">
<source src="videos/animation_6.mp4" type="video/mp4">
</source></video>
</div>
</div>
@@ -13372,18 +13372,18 @@ <h4 id="Example-11.10:---Naive-cross-validation-and-classification"><span style=
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In [9]:</div>
<div class="prompt input_prompt">In [2]:</div>
<div class="inner_cell">

</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt output_prompt">Out[9]:</div>
<div class="prompt output_prompt">Out[2]:</div>
<div class="output_html rendered_html output_subarea output_execute_result">
<video controls="" height="500" loop="" width="1000">
<source src="videos/animation_6.mp4" type="video/mp4">
<source src="videos/animation_7.mp4" type="video/mp4">
</source></video>
</div>
</div>
@@ -171,22 +171,22 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"<video width=\"1000\" height=\"500\" controls loop>\n",
" <source src=\"videos/animation_5.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_6.mp4\" type=\"video/mp4\">\n",
" </video>\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"execution_count": 10,
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
@@ -197,13 +197,13 @@
"demo3 = nonlib.regression_basis_single.Visualizer()\n",
"csvname = datapath + 'noisy_sin_sample.csv'\n",
"demo3.load_data(csvname)\n",
"demo3.brows_single_cross_val(savepath='videos/animation_5.mp4',basis='poly',num_elements = [v for v in range(1,9)],folds = 3,fps=1)\n",
"demo3.brows_single_cross_val(savepath='videos/animation_6.mp4',basis='poly',num_elements = [v for v in range(1,9)],folds = 3,fps=1)\n",
"\n",
"# load in video and display\n",
"from IPython.display import HTML\n",
"HTML(\"\"\"\n",
"<video width=\"1000\" height=\"500\" controls loop>\n",
" <source src=\"videos/animation_5.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_6.mp4\" type=\"video/mp4\">\n",
" </video>\n",
"\"\"\")"
]
@@ -249,22 +249,22 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"<video width=\"1000\" height=\"500\" controls loop>\n",
" <source src=\"videos/animation_6.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_7.mp4\" type=\"video/mp4\">\n",
" </video>\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"execution_count": 9,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
@@ -307,14 +307,14 @@
"demo2 = nonlib.crossval_classification_animator.Visualizer(csvname)\n",
"\n",
"# animate based on the sample weight history\n",
"savepath = 'videos/animation_6.mp4'\n",
"savepath = 'videos/animation_7.mp4'\n",
"demo2.animate_crossval_classifications(savepath,models_1,fps=1)\n",
"\n",
"# load in video and display\n",
"from IPython.display import HTML\n",
"HTML(\"\"\"\n",
"<video width=\"1000\" height=\"500\" controls loop>\n",
" <source src=\"videos/animation_6.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_7.mp4\" type=\"video/mp4\">\n",
" </video>\n",
"\"\"\")"
]
@@ -13592,18 +13592,18 @@ <h4 id="Example-11.11:--Boosting-regression-using-stump-units"><span style="colo
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In [3]:</div>
<div class="prompt input_prompt">In [1]:</div>
<div class="inner_cell">

</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt output_prompt">Out[3]:</div>
<div class="prompt output_prompt">Out[1]:</div>
<div class="output_html rendered_html output_subarea output_execute_result">
<video controls="" height="400" loop="" width="800">
<source src="videos/animation_7.mp4" type="video/mp4">
<source src="videos/animation_8.mp4" type="video/mp4">
</source></video>
</div>
</div>
@@ -448,22 +448,22 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"<video width=\"800\" height=\"400\" controls loop>\n",
" <source src=\"videos/animation_7.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_8.mp4\" type=\"video/mp4\">\n",
" </video>\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"execution_count": 3,
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
@@ -505,7 +505,7 @@
"from IPython.display import HTML\n",
"HTML(\"\"\"\n",
"<video width=\"800\" height=\"400\" controls loop>\n",
" <source src=\"videos/animation_7.mp4\" type=\"video/mp4\">\n",
" <source src=\"videos/animation_8.mp4\" type=\"video/mp4\">\n",
" </video>\n",
"\"\"\")"
]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit b43c59c

Please sign in to comment.
You can’t perform that action at this time.