Zeel commited on
Commit
c11d7d9
·
1 Parent(s): 44e6ec6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -10,7 +10,7 @@ st.markdown(r"""
10
  Squared Exponential Kernel is formulated as $K(x, x') = \sigma_f^2 \exp \left[\frac{-(x - x')^2}{\ell^2}\right]$ where, $\ell$ is lengthscale and $\sigma_f^2$ is variance.
11
  $$
12
  \text{Prior: } \mathbf{f} \sim \mathcal{N}(\boldsymbol{0}, K) \\
13
- \text{Likelihood: } \mathbf{y} \sim \mathcal{N}(\mathbf{f}, \sigma_n^2)
14
  $$
15
  where $\sigma_n^2$ is known as noise variance or likelihood noise.
16
  """)
@@ -69,4 +69,10 @@ hide_streamlit_style = """
69
  subheader {alignment: center;}
70
  </style>
71
  """
72
- st.markdown(hide_streamlit_style, unsafe_allow_html=True)
 
 
 
 
 
 
 
10
  Squared Exponential Kernel is formulated as $K(x, x') = \sigma_f^2 \exp \left[\frac{-(x - x')^2}{\ell^2}\right]$ where, $\ell$ is lengthscale and $\sigma_f^2$ is variance.
11
  $$
12
  \text{Prior: } \mathbf{f} \sim \mathcal{N}(\boldsymbol{0}, K) \\
13
+ \text{Likelihood: } \mathbf{y} \sim \mathcal{N}(\mathbf{f}, \sigma_n^2I)
14
  $$
15
  where $\sigma_n^2$ is known as noise variance or likelihood noise.
16
  """)
 
69
  subheader {alignment: center;}
70
  </style>
71
  """
72
+ st.markdown(hide_streamlit_style, unsafe_allow_html=True)
73
+ st.markdown(r"""
74
+ Here are some observations to note while experimenting with the hyperparameters:
75
+ * Lengthscale ($\ell$) controls the smoothness of the fit. Smoothness in fit increases with an increase in $\ell$.
76
+ * Variance controls the uncertainty in smooth (in other words, smoothness in the vertical direction [[Slide 154](http://cbl.eng.cam.ac.uk/pub/Public/Turner/News/imperial-gp-tutorial.pdf)]).
77
+ * Noise variance is a measure of observation noise or irreducible noise present in the dataset. Increasing noise variance to a certain limit reduces overfitting.
78
+ """)