KAARIN commited on
Commit
08c5345
·
verified ·
1 Parent(s): a0d5ae1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -53,8 +53,7 @@ my_model=LinearRegression()
53
  pipe=Pipeline(steps=[('preprocessor',preprocessor),('model',my_model)])
54
  pipe.fit(X_train,y_train)
55
  y_pred=pipe.predict(X_test)
56
- print('RMSE :', mean_squared_error(y_test,y_pred)**.5)
57
- print('R2 :', r2_score(y_test,y_pred))
58
 
59
 
60
  # In[8]:
 
53
  pipe=Pipeline(steps=[('preprocessor',preprocessor),('model',my_model)])
54
  pipe.fit(X_train,y_train)
55
  y_pred=pipe.predict(X_test)
56
+ mean_squared_error(y_test,y_pred)**.5, r2_score(y_test,y_pred)
 
57
 
58
 
59
  # In[8]: