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

Determining whether a row is hypothetical in cgpm_metamodel.predict_confidence fails for subsampling #500

Closed fsaad closed 7 years ago

fsaad commented 7 years ago

Should instead use the table bayesdb_cgpm_individual to check whether the rowid (function argument) is in the table_rowid column.