Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ st.title("Ridge Demo")
|
|
| 9 |
col1, col2 = st.columns(2)
|
| 10 |
|
| 11 |
with col1:
|
|
|
|
| 12 |
degree = st.slider('Degree', 2, 40, 1)
|
| 13 |
x = np.linspace(-1., 1., 100)
|
| 14 |
y = 4 + 3*x + 2*np.sin(x) + 2*np.random.randn(len(x))
|
|
|
|
| 9 |
col1, col2 = st.columns(2)
|
| 10 |
|
| 11 |
with col1:
|
| 12 |
+
st.header("Un-regularized")
|
| 13 |
degree = st.slider('Degree', 2, 40, 1)
|
| 14 |
x = np.linspace(-1., 1., 100)
|
| 15 |
y = 4 + 3*x + 2*np.sin(x) + 2*np.random.randn(len(x))
|