Skip to content

Commit 1c0f113

Browse files
committed
Add distributions layout.
1 parent 42c0915 commit 1c0f113

File tree

1 file changed

+49
-1
lines changed

1 file changed

+49
-1
lines changed

docs/source/notebooks/api_quickstart.ipynb

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,55 @@
266266
"cell_type": "markdown",
267267
"metadata": {},
268268
"source": [
269-
"In the PyMC3 module, the structure for probability distributions looks like this:\n"
269+
"In the PyMC3 module, the structure for probability distributions looks like this:\n",
270+
"\n",
271+
"[pymc3.distributions](http://pymc-devs.github.io/pymc3/api/distributions.html)<br>\n",
272+
" |- [continuous](http://pymc-devs.github.io/pymc3/api/distributions/continuous.html)<br>\n",
273+
" |- [discrete](http://pymc-devs.github.io/pymc3/api/distributions/discrete.html)<br>\n",
274+
" |- [timeseries](http://pymc-devs.github.io/pymc3/api/distributions/timeseries.html)<br>\n",
275+
" |- [mixture](http://pymc-devs.github.io/pymc3/api/distributions/mixture.html)<br>"
276+
]
277+
},
278+
{
279+
"cell_type": "code",
280+
"execution_count": 113,
281+
"metadata": {
282+
"collapsed": false
283+
},
284+
"outputs": [
285+
{
286+
"data": {
287+
"text/plain": [
288+
"['Discrete',\n",
289+
" 'Distribution',\n",
290+
" 'Mixture',\n",
291+
" 'Normal',\n",
292+
" 'NormalMixture',\n",
293+
" '__builtins__',\n",
294+
" '__cached__',\n",
295+
" '__doc__',\n",
296+
" '__file__',\n",
297+
" '__loader__',\n",
298+
" '__name__',\n",
299+
" '__package__',\n",
300+
" '__spec__',\n",
301+
" 'all_discrete',\n",
302+
" 'bound',\n",
303+
" 'draw_values',\n",
304+
" 'generate_samples',\n",
305+
" 'get_tau_sd',\n",
306+
" 'logsumexp',\n",
307+
" 'np',\n",
308+
" 'tt']"
309+
]
310+
},
311+
"execution_count": 113,
312+
"metadata": {},
313+
"output_type": "execute_result"
314+
}
315+
],
316+
"source": [
317+
"dir(pm.distributions.mixture)"
270318
]
271319
},
272320
{

0 commit comments

Comments
 (0)