Skip to content

Commit 1f86f9f

Browse files
committed
Removed extraneous warnings in example
Removed some extraneous warnings in discrete_find_MAP.ipynb that were due to my particular environment.
1 parent e03f77a commit 1f86f9f

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

pymc/examples/discrete_find_MAP.ipynb

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,7 @@
5656
],
5757
"language": "python",
5858
"metadata": {},
59-
"outputs": [
60-
{
61-
"output_type": "stream",
62-
"stream": "stderr",
63-
"text": [
64-
"WARNING (theano.gof.compilelock): Overriding existing lock by dead process '25402' (I am process '18668')\n"
65-
]
66-
}
67-
],
59+
"outputs": [],
6860
"prompt_number": 2
6961
},
7062
{
@@ -531,7 +523,7 @@
531523
"with model:\n",
532524
" for i in range(n+1):\n",
533525
" s = {'p':0.5, 'surv_sim':i}\n",
534-
" map_est = mc.find_MAP(start=s, vars=model.vars, fmin=bh, minimizer_kwargs={\"method\": \"Powell\"})\n",
526+
" map_est = mc.find_MAP(start=s, vars=model.vars, fmin=bh, minimizer_kwargs={\"method\": /\"Powell\"})\n",
535527
" print('surv_sim: %i->%i, p: %f->%f, LogP:%f'%(s['surv_sim'],\n",
536528
" map_est['surv_sim'],\n",
537529
" s['p'],\n",
@@ -728,16 +720,7 @@
728720
],
729721
"language": "python",
730722
"metadata": {},
731-
"outputs": [
732-
{
733-
"output_type": "stream",
734-
"stream": "stderr",
735-
"text": [
736-
"/nfs/adaptive/bedwards/anaconda/envs/pymc-dev/lib/python2.7/site-packages/theano/scan_module/scan_perform_ext.py:85: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility\n",
737-
" from scan_perform.scan_perform import *\n"
738-
]
739-
}
740-
],
723+
"outputs": [],
741724
"prompt_number": 9
742725
},
743726
{
@@ -1385,4 +1368,4 @@
13851368
"metadata": {}
13861369
}
13871370
]
1388-
}
1371+
}

0 commit comments

Comments
 (0)