Skip to content

Instantly share code, notes, and snippets.

@meraldo-aliz
Created March 2, 2022 03:56
Show Gist options
  • Save meraldo-aliz/c81c3e21a1fa72bbf577544ea304db87 to your computer and use it in GitHub Desktop.
Save meraldo-aliz/c81c3e21a1fa72bbf577544ea304db87 to your computer and use it in GitHub Desktop.
lifetimes
# First, we choose a sample customer.
sample_customer = rfm_cal_holdout.iloc[20]
# Let's inspect his frequency, recency and T both for the calibration and observation periods:
sample_customer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment