Skip to content

Commit 7269898

Browse files
committed
Improved IPython usage hint
1 parent d8faef1 commit 7269898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Chapter2_MorePyMC/MorePyMC.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"\n",
151151
"`some_variable = pm.DiscreteUniform(\"discrete_uni_var\", 0, 4)`\n",
152152
"\n",
153-
"where 0, 4 are the `DiscreteUniform`-specific lower and upper bound on the random variable. The [PyMC docs](http://pymc-devs.github.com/pymc/distributions.html) contain the specific parameters for stochastic variables. (Or use `??` if you are using IPython!)\n",
153+
"where 0, 4 are the `DiscreteUniform`-specific lower and upper bound on the random variable. The [PyMC docs](http://pymc-devs.github.com/pymc/distributions.html) contain the specific parameters for stochastic variables. (Or use `object??`, for example `pm.DiscreteUniform??` if you are using IPython!)\n",
154154
"\n",
155155
"The `name` attribute is used to retrieve the posterior distribution later in the analysis, so it is best to use a descriptive name. Typically, I use the Python variable's name as the `name`.\n",
156156
"\n",
@@ -2613,4 +2613,4 @@
26132613
"metadata": {}
26142614
}
26152615
]
2616-
}
2616+
}

0 commit comments

Comments
 (0)