probcomp / bayeslite

BayesDB on SQLite. A Bayesian database table for querying the probable implications of data as easily as SQL databases query the data itself.
http://probcomp.csail.mit.edu/software/bayesdb
Apache License 2.0
922 stars 64 forks source link

Support overrides with conditional models/component models post-generator creation #619

Open fsaad opened 6 years ago

fsaad commented 6 years ago

Update ALTER GENERATOR to make dynamic changes to the learned generator and CGPM network, i.e. handle the following case:

ALTER GENERATOR OVERRIDE GENERATIVE MODEL FOR <x> GIVEN <y>...;
ALTER GENERATOR SET CATEGORY MODEL FOR x TO ...;