Skip to content

Instantly share code, notes, and snippets.

@meraldo-aliz
Last active March 2, 2022 05:11
Show Gist options
  • Save meraldo-aliz/bad78f3392a1a1d70a5d941ead8a57de to your computer and use it in GitHub Desktop.
Save meraldo-aliz/bad78f3392a1a1d70a5d941ead8a57de to your computer and use it in GitHub Desktop.
lifetimes
VALUE_10_PRED_THRESHOLD = 10
# filtering for high-value customers
rfm_cal_holdout.loc[rfm_cal_holdout["value_10_pred"]>VALUE_10_PRED_THRESHOLD, ["value_10_pred"]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment