Skip to content

Commit

Permalink
Testing run on all unit notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
cgpotts committed Mar 31, 2018
1 parent 4c8db6c commit 6dea7bc
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 68 deletions.
4 changes: 1 addition & 3 deletions setup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"metadata": {},
"outputs": [],
"source": [
"__author__ = \"Christopher Potts\"\n",
Expand Down
20 changes: 10 additions & 10 deletions vsm_01_distributional.ipynb

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions vsm_02_dimreduce.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/Applications/anaconda/envs/nlu2/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.\n",
"/Applications/anaconda/envs/nlu/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.\n",
" from ._conv import register_converters as _register_converters\n"
]
}
Expand Down Expand Up @@ -665,7 +665,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Stopping at iteration 680 with error 9.97367012549e-05\n"
"Stopping at iteration 547 with error 9.999229386453145e-05\n"
]
}
],
Expand All @@ -682,10 +682,10 @@
"data": {
"text/plain": [
"gnarly 0.000000\n",
"awesome 1.014585\n",
"terrible 1.345223\n",
"lame 1.414685\n",
"wicked 1.471710\n",
"awesome 0.219802\n",
"lame 0.604375\n",
"terrible 0.895709\n",
"wicked 1.574378\n",
"dtype: float64"
]
},
Expand Down Expand Up @@ -736,7 +736,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Stopping at iteration 462 with error 9.91549153532e-05\n"
"Stopping at iteration 679 with error 9.996347120791212e-05\n"
]
}
],
Expand Down Expand Up @@ -770,7 +770,7 @@
{
"data": {
"text/plain": [
"0.9318106928628529"
"0.9886773305299698"
]
},
"execution_count": 24,
Expand Down Expand Up @@ -809,7 +809,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Iteration 100: loss: 133160.390625"
"Iteration 100: loss: 133194.53125"
]
}
],
Expand All @@ -830,10 +830,10 @@
"data": {
"text/plain": [
"superb 0.000000\n",
"excellent 0.111126\n",
"direction 0.129726\n",
"performances 0.134147\n",
"acting 0.134855\n",
"brilliant 0.113144\n",
"excellent 0.116295\n",
"fine 0.117888\n",
"performances 0.127362\n",
"dtype: float64"
]
},
Expand Down Expand Up @@ -935,7 +935,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Iteration 100: loss: 0.00101830647327"
"Iteration 100: loss: 0.0010361233726143837"
]
},
{
Expand Down Expand Up @@ -1005,11 +1005,11 @@
{
"data": {
"text/plain": [
"superb 0.000000\n",
"robert 0.479744\n",
"anyone 0.562139\n",
"heard 0.571957\n",
"fred 0.576704\n",
"superb 0.000000\n",
"newer 0.496989\n",
"trip 0.504418\n",
"fault 0.529206\n",
"arlington 0.541104\n",
"dtype: float64"
]
},
Expand Down Expand Up @@ -1047,7 +1047,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Iteration 1000: loss: 0.000113842652354"
"Iteration 1000: loss: 0.00011613927927101031"
]
}
],
Expand All @@ -1064,11 +1064,11 @@
{
"data": {
"text/plain": [
"superb 0.000000\n",
"brilliant 0.125542\n",
"flawless 0.145533\n",
"notch 0.154290\n",
"fantastic 0.162791\n",
"superb 0.000000\n",
"brilliant 0.103738\n",
"direction 0.115500\n",
"cinematography 0.130195\n",
"flawless 0.138378\n",
"dtype: float64"
]
},
Expand Down Expand Up @@ -1257,21 +1257,21 @@
"metadata": {
"celltoolbar": "Slideshow",
"kernelspec": {
"display_name": "Python 2",
"display_name": "Python 3",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.14"
"pygments_lexer": "ipython3",
"version": "3.6.4"
},
"widgets": {
"state": {},
Expand Down
20 changes: 10 additions & 10 deletions vsm_03_retrofitting.ipynb

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions vsm_bakeoff_analogies.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -328,21 +328,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"display_name": "Python 3",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.14"
"pygments_lexer": "ipython3",
"version": "3.6.4"
},
"widgets": {
"state": {},
Expand Down
10 changes: 5 additions & 5 deletions vsm_bakeoff_semantic_orientation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -519,21 +519,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"display_name": "Python 3",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.14"
"pygments_lexer": "ipython3",
"version": "3.6.4"
},
"widgets": {
"state": {},
Expand Down
10 changes: 5 additions & 5 deletions vsm_bakeoff_wordsim.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -386,21 +386,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"display_name": "Python 3",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.14"
"pygments_lexer": "ipython3",
"version": "3.6.4"
},
"widgets": {
"state": {},
Expand Down

0 comments on commit 6dea7bc

Please sign in to comment.