-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @BeiYaaa, I believe my response to #268 (comment) answers your first question. The short answer is time between transactions is a key component of this model, and we can't go more granular than the raw data. If the raw data were hourly timestamps and Your second question is a good one, and something I worked on last week in fact for an upcoming PR - an All transactions occurring in the same time period will have their monetary values summed together for that time period. The averaging occurs across all purchase time periods except for the first purchase. If the customer only made one purchase, then frequency=0 because the CLV model is predicting the number of repeat purchases. Monetary values for one-time customers are also zeroed out because the That being said, there is an |
Beta Was this translation helpful? Give feedback.
Hey @BeiYaaa,
I believe my response to #268 (comment) answers your first question. The short answer is time between transactions is a key component of this model, and we can't go more granular than the raw data. If the raw data were hourly timestamps and
rfm_summary(time_unit='D', *args)
, it would be counted as multiple transactions.Your second question is a good one, and something I worked on last week in fact for an upcoming PR - an
rfm_train_test_split
function, because the equivalent function in the legacylifetimes
library has a bug and doesn't aggregate properly.All transactions occurring in the same time period will have their monetary values summed together for that time period.…