Alex Coventry
Alex Coventry
This caused me a fair bit of confusion: `SIMULATE Date_of_Launch,longitude_radians_of_geo,Apogee_km,Power_watts,Launch_Mass_kg,Dry_Mass_kg,Anticipated_Lifetime,Period_minutes,Eccentricity,Inclination_radians FROM satellites_cc Perigee_km=34672.7886686 LIMIT 7559` => ``` bayeslite.exception.BQLParseError: simulate missing limit Syntax error near [Perigee_km] after [SIMULATE Date_of_Launch , longitude_radians_of_geo...
``` python In [12]: with bayeslite.bayesdb_open() as bdb: bdb.sql_execute('CREATE TABLE n (c1 float)') bdb.execute('CREATE GENERATOR n_cc FOR n USING crosscat("c1" numerical)') bdb.execute('INITIALIZE 4 MODELS FOR n_cc') ....: ....: ....: ....:...
[Conditional draws from each model are given equal weight](https://github.com/probcomp/crosscat/blob/4f75431b06978c77fc1c8e9c559af0f68101316d/src/utils/sample_utils.py#L320). This is inaccurate. Models should be drawn from the multinomial given by the total probability of the conditions.
Crosscat adopts a uniform hyperprior over the parameters of the Normal Gamma prior distribution on the Normals (see [footnote 1, p. 8](http://arxiv.org/pdf/1512.01272.pdf).) For the "variance" parameter, this is done by...
In my hands, line_profiler is failing to record information when `multiprocessing.Pool.map` is used to call the functions I'm targetting. I can probably put together a minimal test case, but I...
It would be super-handy to be able to round-trip an ipython org notebook to the .ipynb format used by ipython notebook.
https://github.com/ionrock/pytest-el/blob/master/pytest.el#L118 ``` elisp (mapconcat (lambda (test) (substring test (string-width where))) (split-string tests) " ") "")) ``` E.g., `(pytest-module "/Users/alx/Google Drive/alien/probcomp/bayeslite/tests/tests/test_bdb.py" nil)` results in `Args out of range: "/Users/alx/Google", 49, nil`....