Skip to content

Instantly share code, notes, and snippets.

@ogyalcin
Created June 24, 2021 08:56
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 ogyalcin/665db3262756d28c0ef5b4e09f0a28cf to your computer and use it in GitHub Desktop.
Save ogyalcin/665db3262756d28c0ef5b4e09f0a28cf to your computer and use it in GitHub Desktop.
# The RMSE of the RuleFit model
rulefit_preds = rulefit.predict(X.values)
rulefit_rmse = np.sqrt(((rulefit_preds - y) ** 2).mean())
print(rulefit_rmse)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment