ErickMVdO commited on
Commit
e6a9905
1 Parent(s): 4a67ee0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -223,7 +223,7 @@ def house_price(LotArea, LotFrontage, YearBuilt, GrLivArea, GarageArea):
223
  df[categorical_columns] = df[categorical_columns].apply(lambda x: x.cat.codes)
224
  df = (df - df.mean()) / df.std()
225
 
226
- predictions = model.predict(test)
227
 
228
  return predictions[0]
229
 
 
223
  df[categorical_columns] = df[categorical_columns].apply(lambda x: x.cat.codes)
224
  df = (df - df.mean()) / df.std()
225
 
226
+ predictions = model.predict(df)
227
 
228
  return predictions[0]
229