Skip to content

generate synthetic dataset given BG/NBD Model parameters? #717

Answered by ColtAllen
seanreed1111 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @seanreed1111,

Are you interested in generating RFM data for modeling, or raw transaction data? (See the Quickstart for examples). Simulating RFM data is not supported yet for BG/NBD, but can be done for the Pareto/NBD model. Simulating raw transactions is not supported at all natively, but I did hack something together in the legacy lifetimes library last year for this very situation:

https://github.com/ColtAllen/marketing-case-study/blob/main/case-study.ipynb

First three cells in that notebook should cover your request. If this is something you think you'll be doing on a regular basis, please create an issue and we'll prioritize it accordingly.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@seanreed1111
Comment options

@ColtAllen
Comment options

Answer selected by seanreed1111
@seanreed1111
Comment options

@seanreed1111
Comment options

@ColtAllen
Comment options

@seanreed1111
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request CLV
3 participants