Code Monkey home page Code Monkey logo

Comments (3)

tyarkoni avatar tyarkoni commented on May 29, 2024

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.

twiecki avatar twiecki commented on May 29, 2024

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.

tyarkoni avatar tyarkoni commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.