Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating fitted model based on new upcoming data #47

Open
LorenzoMonni opened this issue Dec 10, 2020 · 2 comments
Open

Updating fitted model based on new upcoming data #47

LorenzoMonni opened this issue Dec 10, 2020 · 2 comments

Comments

@LorenzoMonni
Copy link

This is not related to a bug in the code, but instead to an idea of a functionality of models. Say we have a model that was already created from a dataset with an estimator, is there an automatic way to update this model based on new data samples instead of appending the new samples to the old dataset and having to run the fitting again with the full dataset from the beginning?

@ankurankan
Copy link
Member

@LorenzoMonni There is no direct way to update the model parameters with new data yet. I will try to have this feature in next to next release. But in the meanwhile, you can simulate the updating behavior using BayesianEstimators and Dirichlet prior. I have shown an example here: pgmpy/pgmpy#1350 (comment)

@LorenzoMonni
Copy link
Author

Ok, thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants