Skip to content

Instantly share code, notes, and snippets.

@erykml
Created August 30, 2022 20:50
Show Gist options
  • Save erykml/4a9428f3661b5dbc73911a840db5fa37 to your computer and use it in GitHub Desktop.
Save erykml/4a9428f3661b5dbc73911a840db5fa37 to your computer and use it in GitHub Desktop.
fix, ax = plt.subplots()
fit_df.plot(ax=ax)
plt.scatter(X, y, c="k")
plt.title("Linear regression on data with outliers");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment