PreyPatel commited on
Commit
54c6fe2
1 Parent(s): 127e0e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,7 +56,7 @@ st.pyplot(fig)
56
  if st.button('Magic'):
57
  loss = []
58
  n_splits=5
59
- opts = ['Linear regressor', 'Decision Tree regressor', 'SVR']
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 = ['Linear regressor', 'Decision Tree regressor', '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)
 
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)