probcomp / bdbcontrib

BayesDB contributions, including plotting, helper methods, and examples
http://probcomp.csail.mit.edu/bayesdb
Apache License 2.0
9 stars 6 forks source link

Outstanding issues in composer #81

Open fsaad opened 8 years ago

fsaad commented 8 years ago

According @axch

fsaad commented 8 years ago

Um, include the casefold in the presence check at composer.py:178, if that's what you meant. Will fix.

Line 207: What are locls, fcols, pcols, and fpreds? Can we make the names more descriptive? The docstring for parse contains all the definitions.

What's with the comment on line 215? Is that an example value? If so, call it that and fix it (underscore) Should remove -- artifact of old code that hardcored the schema.

Line 230: Why is this a bql query instead of a call to the metamodel API? Must be a BQL query since calling CREATE GENERATOR does an array of important stuff to make the sure the generator is successfully initialized before calling the create_generator function of the metamodel. Invoking this method directly results a half-baked generator.

Line 514: Is this actually correct? No, it is a bug.

_We also know how to build the ignore table better, per Taylor's review of predictiveprobability. I implemented the 'better' implementation, if better means O(m+n) not O(mn), in the crosscat code before merging that branch. Can migrate same algorithm here if required.

fsaad commented 8 years ago

If it remains a BQL query, should quote the elements properly Should make sure we use the table name, not satellites!

gregory-marton commented 8 years ago

@fsaad, status update?

fsaad commented 8 years ago

No updates, I took a hiatus from composer since writing those comments. These issues are likely to be revisited in the near future