Spaces:
Runtime error
Runtime error
Fix indentation error
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ if cost_function == 'RMSE-Loss':
|
|
41 |
st.latex(r'''\ell(X, y, w)=\frac{1}{m}||Xw - y||_{2}^2''')
|
42 |
st.latex(r'''\ell(X, y, w)=\frac{1}{m}\big(\sqrt{(Xw - y)\cdot(Xw - y)}\big)^2''')
|
43 |
st.latex(r'''\ell(X, y, w)= \frac{1}{m}\sum_1^m (\hat{y}_i - y_i)^2''')
|
44 |
-
|
45 |
st.write("You selected the Huber loss function.")
|
46 |
st.latex(r'''
|
47 |
\ell_{H} =
|
|
|
41 |
st.latex(r'''\ell(X, y, w)=\frac{1}{m}||Xw - y||_{2}^2''')
|
42 |
st.latex(r'''\ell(X, y, w)=\frac{1}{m}\big(\sqrt{(Xw - y)\cdot(Xw - y)}\big)^2''')
|
43 |
st.latex(r'''\ell(X, y, w)= \frac{1}{m}\sum_1^m (\hat{y}_i - y_i)^2''')
|
44 |
+
else:
|
45 |
st.write("You selected the Huber loss function.")
|
46 |
st.latex(r'''
|
47 |
\ell_{H} =
|