Spaces:
Runtime error
Runtime error
Change sliderbar default values
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ st.latex(r'''h(\boldsymbol x, \boldsymbol w)= \sum_{k=1}^{K}\boldsymbol w_{k} \p
|
|
11 |
|
12 |
|
13 |
# Sidebar inputs
|
14 |
-
number_of_observations = st.sidebar.slider('Number of observations', min_value=50, max_value=150, value=
|
15 |
-
noise_standard_deviation = st.sidebar.slider('Standard deviation of the noise', min_value = 0.0, max_value=2.0, value=0
|
16 |
cost_function = st.sidebar.radio('What cost function you want to use for the fitting?', options=('RMSE-Loss', 'Huber-Loss'))
|
17 |
|
18 |
np.random.seed(2)
|
|
|
11 |
|
12 |
|
13 |
# Sidebar inputs
|
14 |
+
number_of_observations = st.sidebar.slider('Number of observations', min_value=50, max_value=150, value=100)
|
15 |
+
noise_standard_deviation = st.sidebar.slider('Standard deviation of the noise', min_value = 0.0, max_value=2.0, value=1.0)
|
16 |
cost_function = st.sidebar.radio('What cost function you want to use for the fitting?', options=('RMSE-Loss', 'Huber-Loss'))
|
17 |
|
18 |
np.random.seed(2)
|