chaphoto commited on
Commit
d1ed6db
1 Parent(s): 3969c17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -26,7 +26,7 @@ st.write(df.describe())
26
 
27
 
28
  # X AND Y DATA
29
- x = df.drop(['Price'], axis = 1)
30
  y = df.iloc[:, -1]
31
  x_train, x_test, y_train, y_test = train_test_split(x,y, test_size = 0.2, random_state = 0)
32
 
@@ -59,8 +59,6 @@ st.subheader('Housing Data')
59
  st.write(user_data)
60
 
61
 
62
-
63
-
64
  # MODEL
65
  lr = LinearRegression()
66
  lr.fit(x_train, y_train)
 
26
 
27
 
28
  # X AND Y DATA
29
+ x = df.drop(['SalePrice'], axis = 1)
30
  y = df.iloc[:, -1]
31
  x_train, x_test, y_train, y_test = train_test_split(x,y, test_size = 0.2, random_state = 0)
32
 
 
59
  st.write(user_data)
60
 
61
 
 
 
62
  # MODEL
63
  lr = LinearRegression()
64
  lr.fit(x_train, y_train)