Comments (3)
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.
from pybats.
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)
- DCMM with No Regressors Not Possible HOT 1
- Wrong graphical output?
- Looking for good example of point and path forecast beyond current known time series data points HOT 1
- Creating a model and forecasting with a single time series
- Reference for initialization procedure (define_?_params routines)
- `forecast_path` does not work when using holidays HOT 1
- Negative binomial in addition HOT 6
- How to actually forecast? HOT 4
- ValueError: lam value too large 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 pybats.