Skip to content

Instantly share code, notes, and snippets.

@erykml
Created July 28, 2022 20:28
Show Gist options
  • Save erykml/c7c19b131eca99a4ddd1b1eb95b34821 to your computer and use it in GitHub Desktop.
Save erykml/c7c19b131eca99a4ddd1b1eb95b34821 to your computer and use it in GitHub Desktop.
model_3 = LinearRegression().fit(X_3.iloc[:TRAIN_END],
y.iloc[:TRAIN_END])
results_df["model_3"] = model_3.predict(X_3)
results_df[["actuals", "model_3"]].plot(figsize=(16,4),
title="Fit using RBF features")
plt.axvline(date(2020, 1, 1), c="m", linestyle="--");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment