Created
August 30, 2022 20:43
-
-
Save erykml/94ac75c9c0c318e04718baab8c9661e7 to your computer and use it in GitHub Desktop.
This file contains 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
plotline_X = np.arange(X.min(), X.max()).reshape(-1, 1) | |
fit_df = pd.DataFrame( | |
index = plotline_X.flatten(), | |
data={"linear_regression": lr.predict(plotline_X)} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment