Skip to content

Don't understand the generate_and_preprocess_model_data function #227

Answered by michaelraczycki
AuguB asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @AuguB,
The docstring example needs to be updated, thanks for pointing it out. Good example of what it's supposed to do is https://github.com/michaelraczycki/pymc-marketing/blob/main/pymc_marketing/mmm/delayed_saturated_mmm.py. In general for some models the function can be just blank, for others it should contain necessary steps to construct coords, determine presence of optional parameters etc and then generate the final dataset. It probably will be separated into 2 functions in some minor patch later on. The docstring in this case was quite tricky to show from perspective of model_builder itself since it's a mostly abstract class that doesn't include any optional input parameters a…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mattijsdp
Comment options

@AuguB
Comment options

@mattijsdp
Comment options

@AuguB
Comment options

@AuguB
Comment options

Answer selected by AuguB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants