Replies: 2 comments 1 reply
-
PR #254 takes care of this for pymc_experiments. |
Beta Was this translation helpful? Give feedback.
-
I think this makes sense. Just to sketch out some vague plans along these lines... At the moment we have duplicated / parallel class hierarchies for the Bayesian and scikit-learn implementations of the experiments. This is not ideal as it creates a lot of duplicated code and allows for unintentional divergence in the code. There is already a discussion about what direction we might go in in terms of non-Bayesian backends (see #250), so depending on the outcome of that I could potentially see the following:
I plan on creating a Discussion topic on that soon, so let's not dive into that particular issue on this thread. But I wanted to mention it now so that it's on the radar. I hope to start a Discussion thread on that soon (but maybe early next month) to lay out a few possible implementation approaches. I don't think there is a massive rush on this, and it depends on what we end up doing with #250. |
Beta Was this translation helpful? Give feedback.
-
Some of the modules, such as
pymc_experiments.py
are getting a bit large. I think it would be good to split them into smaller files for each experiment (or groups of experiments).I propose starting with breaking
pymc_experiments.py
intowith logic in the
__init__.py
to ensure that existing import patterns continue to work. This would mean the change has no impact on package usage, but makes the code easier to navigate and allows people to work on different areas without running into merge conflicts (for example someone can be adding multivariate synthetic control features and someone else fuzzy RD and they're changing different files rather than the same one).I'm planning on starting this, but wanted to give people a heads up in case there were questions, concerns, opposition, or someone has tried this and knows of issues that may come up.
Beta Was this translation helpful? Give feedback.
All reactions