chaphoto commited on
Commit
bd68159
1 Parent(s): c7ddfd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -51,16 +51,16 @@ x_train, x_test, y_train, y_test = train_test_split(x,y, test_size = 0.2, random
51
  # FUNCTION
52
  def user_report():
53
  MSSubClass = st.sidebar.slider('MSSubClass', 0,60, 200 )
54
- LotArea = st.sidebar.slider('LotArea', 0,5,10 )
55
- OverallQual = st.sidebar.slider('OverallQual', 0,5, 10 )
56
- OverallCond = st.sidebar.slider('OverallCond', 2,7, 3 )
57
- YearBuilt = st.sidebar.slider('YearBuilt', 1872,1900, 201 )
58
- YearRemodAdd = st.sidebar.slider('YearRemodAdd', 170,70000, 5000 )
59
- BsmtFinSF1 = st.sidebar.slider('BsmtFinSF1', 170,70000, 5000 )
60
- BsmtUnfSF = st.sidebar.slider('BsmtUnfSF', 170,70000, 5000 )
61
- BsmtFinSF2 = st.sidebar.slider('BsmtFinSF2', 170,70000, 5000 )
62
- TotalBsmtSF = st.sidebar.slider('TotalBsmtSF', 170,70000, 5000 )
63
- SalePrice = st.sidebar.slider('SalePrice', 170,70000, 5000 )
64
 
65
  user_report_data = {
66
  'MSSubClass':MSSubClass,
 
51
  # FUNCTION
52
  def user_report():
53
  MSSubClass = st.sidebar.slider('MSSubClass', 0,60, 200 )
54
+ LotArea = st.sidebar.slider('LotArea', 1300,10000,22000 )
55
+ OverallQual = st.sidebar.slider('OverallQual', 1,5, 10 )
56
+ OverallCond = st.sidebar.slider('OverallCond', 1,5, 9 )
57
+ YearBuilt = st.sidebar.slider('YearBuilt', 1872,1975, 2010 )
58
+ YearRemodAdd = st.sidebar.slider('YearRemodAdd', 1950,1975, 2010 )
59
+ BsmtFinSF1 = st.sidebar.slider('BsmtFinSF1', 0,2500, 5000 )
60
+ BsmtUnfSF = st.sidebar.slider('BsmtUnfSF', 0,2500, 5000 )
61
+ BsmtFinSF2 = st.sidebar.slider('BsmtFinSF2', 0,2500, 5000 )
62
+ TotalBsmtSF = st.sidebar.slider('TotalBsmtSF', 0,2500, 6000 )
63
+ SalePrice = st.sidebar.slider('SalePrice', 0,300000, 800000 )
64
 
65
  user_report_data = {
66
  'MSSubClass':MSSubClass,