Skip to content

Instantly share code, notes, and snippets.

@erykml
Created August 30, 2022 20:55
Show Gist options
  • Save erykml/3eca64fd0fa6767de8b71ea1afb0dcfd to your computer and use it in GitHub Desktop.
Save erykml/3eca64fd0fa6767de8b71ea1afb0dcfd to your computer and use it in GitHub Desktop.
huber = HuberRegressor().fit(X, y)
fit_df["huber_regression"] = huber.predict(plotline_X)
coef_list.append(["huber_regression", huber.coef_[0]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment