Comments (3)
Thanks! I was planning to open an issue on the PyMC3 repo next week to discuss this, but that was pre-empted by the tweets today. :)
Initially I thought this could be a drop-in replacement for the glm module, but one thing it currently does that's kind of nice is completely separate abstract term specification from model estimation. Even though PyMC3 is currently the only back-end implemented in Bambi, the long-term ideal would be to add back-ends for, e.g., Stan, statsmodels, etc., which would allow users to easily fit the same model using different packages (and compare them). So I think it makes sense to keep this a separate package, even though at the moment there's nothing it does that isn't reliant on PyMC3.
That said, I don't know that the pymc3.glm
module needs to be removed, since it's perfectly functional. You could keep it in as-is, but maybe just direct users who want greater functionality to Bambi. Alternatively, it'd be fine with me if you want to integrate a stripped-down version of Bambi (that mainly loses the separation between abstract model and computational back-end) into PyMC3. The only real downside I see with the latter approach is that maintenance might become more difficult.
from bambi.
Yeah, I definitely agree that this should stay its own package. Probably glm can also stay where it is. Closing.
Another question, is it possible at all to interact with the model at the PyMC3 level (similar go pymc3.glm)?
from bambi.
The PyMC3 model is always available in model.backend.model
, so in that sense, yes--you can always grab it at any time and modify it further before you run
the model in Bambi (and retrieve it after the fact). But we could perhaps make it easier to work with? Let me know if you have suggestions.
from bambi.
Related Issues (20)
- Setting Prior on only one group term HOT 6
- Add `TruncatedPrior`
- Some examples ideas HOT 9
- Example "Hierarchical Logistic regression with Binomial family" not working HOT 4
- Non-Centered Reparameterization HOT 4
- No likelihood for Ordinal model HOT 3
- Add convenient function to access list of inference methods HOT 4
- Replace `{response_name}_mean` with `{response_name}_{parent_name}`. HOT 2
- az.plot_trace issue with categorical variable in Bambi formula model: ValueError: assignment destination is read-only HOT 6
- Potential Issue re: Spline models and Bambi's interpret module HOT 21
- Non covariate variables being detected as covariates HOT 2
- flowMC 0.3 update breaking API changes - No module named 'flowMC.sampler' HOT 1
- bambi dev version with bayeux give wrong posterior dims for hierarchical model (mixed and dropped dimensions) HOT 12
- Idea for entry in our FAQ
- Release after pymc 5.13.1 HOT 2
- Multidimensional Spline Implementation HOT 7
- Bambi's hierarchical modeling HOT 1
- jakewestfall.org link HOT 1
- Link to list examples broken in on of the examples HOT 3
- Sampler parameters not used when calling JAX samplers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bambi.