Spaces:
Runtime error
Runtime error
Fix another typo on radio button....
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ st.latex(r'''h(\boldsymbol x, \boldsymbol w)= \sum_{k=1}^{K}\boldsymbol w_{k} \p
|
|
13 |
# Sidebar inputs
|
14 |
number_of_observations = st.sidebar.slider('Number of observations', min_value=50, max_value=150, value=50)
|
15 |
noise_standard_deviation = st.sidebar.slider('Standard deviation of the noise', min_value = 0.0, max_value=2.0, value=0.25)
|
16 |
-
cost_function = st.sidebar.
|
17 |
|
18 |
np.random.seed(2)
|
19 |
|
|
|
13 |
# Sidebar inputs
|
14 |
number_of_observations = st.sidebar.slider('Number of observations', min_value=50, max_value=150, value=50)
|
15 |
noise_standard_deviation = st.sidebar.slider('Standard deviation of the noise', min_value = 0.0, max_value=2.0, value=0.25)
|
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)
|
19 |
|