Giter Club home page Giter Club logo

Comments (3)

lavinei avatar lavinei commented on July 2, 2024

Hi Nikita,

I apologize for the late reply, I didn't see this issue until today. I'd be happy to take a look at your data and work through the issue with you, if you'd like to send it to me at [email protected].

Thanks,
Isaac

from pybats.

niserson avatar niserson commented on July 2, 2024

from pybats.

lavinei avatar lavinei commented on July 2, 2024

Hi Nikita,

Thanks for your response, I'm glad that you've been using the package and that it's working well for you! Item-interaction effects are an interesting question, it's something that I thought about a little bit, but never had the opportunity to work on much.

If you'd like to work with something that already exists within PyBATS, I'd recommend using latent factors to capture interactions among items. The latent factor is a regression predictor that is a random variable. To give an example of using a latent factor, this paper uses a model on total sales to create a latent factor which is a forecast of day-of-week and holiday effects. If the same latent factor is used in multiple item models, then there will be dependence in the forecast. You can model the joint forecast distribution across items either with a Copula model using this function, or by simulating the latent factor, as is done in this paper.

To focus on item-interactions in particular, here is one simple idea: Simulate from the forecast distribution of one item, and then use those simulated values as predictors for another item. Pybats has functions to work with these simulated values, in this module.

In terms of developing PyBATS further, I would love to have you and others contribute to the package! I am no longer in graduate school, so I don't have as much time to actively develop, but I can certainly help out if there are things you would like to add. Please let me know if you have ideas for additional models, and feel free to submit pull requests.

Best,
Isaac

from pybats.

Related Issues (10)

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.