f_pred = lr.predict(X_test) accuracy_score(y_test,f_pred)