Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ st.pyplot(fig)
|
|
56 |
if st.button('Magic'):
|
57 |
loss = []
|
58 |
n_splits=5
|
59 |
-
opts = ['
|
60 |
for opt in opts:
|
61 |
kf = KFold(n_splits=n_splits, shuffle=True, random_state=32)
|
62 |
cv_scores = []
|
@@ -77,7 +77,7 @@ if st.button('Magic'):
|
|
77 |
plt.scatter(X_test[:,0], y_test)
|
78 |
st.pyplot(fig)
|
79 |
|
80 |
-
options = ['
|
81 |
model_type = st.selectbox('Select model type to use:', options)
|
82 |
options = ['boosting', 'bagging', 'gradient descent']
|
83 |
ensemble_type = st.selectbox('Select the ensemble type:', options)
|
|
|
56 |
if st.button('Magic'):
|
57 |
loss = []
|
58 |
n_splits=5
|
59 |
+
opts = ['LinearRegressor', 'DecisionTreeRegressor', 'SVR']
|
60 |
for opt in opts:
|
61 |
kf = KFold(n_splits=n_splits, shuffle=True, random_state=32)
|
62 |
cv_scores = []
|
|
|
77 |
plt.scatter(X_test[:,0], y_test)
|
78 |
st.pyplot(fig)
|
79 |
|
80 |
+
options = ['LinearRegressor', 'DecisionTreeRegressor', 'SVR']
|
81 |
model_type = st.selectbox('Select model type to use:', options)
|
82 |
options = ['boosting', 'bagging', 'gradient descent']
|
83 |
ensemble_type = st.selectbox('Select the ensemble type:', options)
|