Created
May 26, 2022 11:33
-
-
Save srang992/36f69ee43ae52cabe12fc39ab5e6f31e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # making an object for LogisticRegression | |
| linear_reg = LogisticRegression() | |
| # fitting the data | |
| linear_reg.fit(X_scaled, y_resampled) | |
| # predicting on x_test | |
| y_pred = linear_reg.predict(X_test_scaled) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment