Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saimadhu-polamuri/70a26f49f02892881c12ce711b6e38eb to your computer and use it in GitHub Desktop.
Save saimadhu-polamuri/70a26f49f02892881c12ce711b6e38eb to your computer and use it in GitHub Desktop.
## Ridge Regression Predictions
final_model = Ridge(alpha=0.25)
final_model.fit(X_train, y_train)
print(final_model.score(X_test, y_test))
## Output: 0.6973569341182368
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment