Path: blob/master/notebooks/book2/18/gpr_demo_noise_free.ipynb
1193 views
Kernel: Python 3.7.13 ('py3713')
In [1]:
In [2]:
Out[2]:
/home/patel_zeel/miniconda3/envs/pyprobml/lib/python3.9/site-packages/probml_utils/plotting.py:25: UserWarning: LATEXIFY environment variable not set, not latexifying
warnings.warn("LATEXIFY environment variable not set, not latexifying")
In [3]:
Samples from prior (noiseless & noisy)
In [4]:
Out[4]:
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/miniconda3/envs/pyprobml/lib/python3.9/site-packages/probml_utils/plotting.py:65: UserWarning: set FIG_DIR environment variable to save figures
warnings.warn("set FIG_DIR environment variable to save figures")
Samples from posterior (noiseless & noisy)
In [5]:
Out[5]:
/home/patel_zeel/miniconda3/envs/pyprobml/lib/python3.9/site-packages/probml_utils/plotting.py:65: UserWarning: set FIG_DIR environment variable to save figures
warnings.warn("set FIG_DIR environment variable to save figures")
/home/patel_zeel/miniconda3/envs/pyprobml/lib/python3.9/site-packages/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 (variable noise)
In [6]:
Out[6]:
interactive(children=(IntSlider(value=1, description='random_state', max=10, min=1), FloatSlider(value=0.0, de…