Path: blob/master/notebooks/book1/02/discrete_prob_dist_plot.ipynb
1193 views
Kernel: Python [conda env:pyprobml]
Discrete Probability Distribution Plot
In [1]:
In [2]:
Out[2]:
/home/patel_zeel/probml-utils/probml_utils/plotting.py:25: UserWarning: LATEXIFY environment variable not set, not latexifying
warnings.warn("LATEXIFY environment variable not set, not latexifying")
In [3]:
Out[3]:
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
/home/patel_zeel/probml-utils/probml_utils/plotting.py:65: UserWarning: set FIG_DIR environment variable to save figures
warnings.warn("set FIG_DIR environment variable to save figures")
Demo
You can see different examples of discrete distributions by changing the seed in the following demo.
In [4]:
Out[4]:
interactive(children=(IntSlider(value=5, description='random_state', max=10, min=1), IntSlider(value=6, descri…