bayeslite icon indicating copy to clipboard operation
bayeslite copied to clipboard

BQL Cheat Sheet

Open marcoct opened this issue 9 years ago • 4 comments

As discussed with @riastradh-probcomp in https://github.com/probcomp/bayeslite/issues/263 and other issues, there are some details that are not exactly part of the BQL syntax but are important for helping a new user get things done with the current system. I will add this to the bayeslite documentation.

Here's proposed list of content: 0. A disclaimer that the details below may not be part of the BQL language specification (e.g. the names of the fields returned by ESTIMATE ... FROM PAIRWISE) and are not guaranteed to persist for very long.

  1. The intended semantics of ESTIMATE, INFER, etc., which I don't believe are documented elsewhere.
  2. A list or table making more explicit the space of possible queries.
  3. More detail on what each keyword returns, including the names of the fields.
  4. A list of useful short commands that are not documented elsewhere.

marcoct avatar Oct 19 '15 17:10 marcoct

The workaround for ESTIMATE ... ORDER BY in https://github.com/probcomp/bayeslite/issues/259 should be included in the cheat sheet.

marcoct avatar Oct 19 '15 17:10 marcoct

Branch started here: https://github.com/probcomp/bayeslite/commit/f0c06daf1c86f29200e6b73570b21c57e1c8ad6c

marcoct avatar Oct 19 '15 18:10 marcoct

@marcoct: We would like to get this done by January 5th for the IAP class. Can I collaborate with you on it? Will you be working at all before then? :)

raxraxraxraxrax avatar Dec 21 '15 19:12 raxraxraxraxrax

@raxraxraxraxrax notes that there is also some work towards this at https://docs.google.com/document/d/1xaZsBSYyvcM3FY6PMj1xntJKB_QpeY1z3O3JdGZr_0g/edit#

gregory-marton avatar Feb 22 '16 15:02 gregory-marton