Zeel commited on
Commit
826f2da
·
1 Parent(s): 67b90a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -1
app.py CHANGED
@@ -3,7 +3,29 @@ import streamlit as st
3
  import matplotlib.pyplot as plt
4
 
5
  st.subheader("Gaussian Process Regression")
6
- st_col = st.columns(1)[0]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
  lengthscale = st.slider('Lengthscale', min_value=0.01, max_value=1.0, value=0.25, step=0.01)
9
  variance = st.slider('Variance', min_value=0.001, max_value=0.1, value=0.025, step=0.001)
 
3
  import matplotlib.pyplot as plt
4
 
5
  st.subheader("Gaussian Process Regression")
6
+ st_cols = st.columns(2)
7
+ st_col = st_cols[0]
8
+
9
+ st_col_text = st_cols[1]
10
+
11
+ st_col_text.latex("""
12
+ \\text{{Gamma}}(
13
+ \\tau
14
+ ;
15
+ \\alpha
16
+ ,
17
+ \\beta
18
+ )
19
+ =
20
+ \\frac{{
21
+ \\beta^{{\\alpha}}
22
+ }} {{
23
+ \\Gamma(\\alpha)
24
+ }}
25
+ \\tau^{{\\alpha - 1}}
26
+ e^{{-\\beta \\tau}}
27
+ """)
28
+
29
 
30
  lengthscale = st.slider('Lengthscale', min_value=0.01, max_value=1.0, value=0.25, step=0.01)
31
  variance = st.slider('Variance', min_value=0.001, max_value=0.1, value=0.025, step=0.001)