Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. df = pd.concat([train_pred_1, train_pred_2], axis=1)
  2. df_test = pd.concat([test_pred_1, test_pred_2], axis=1)
  3.  
  4. model = LogisticRegression(random_state=1)
  5. model.fit(df,y_train)
  6. model.score(df_test, y_test)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement