swift icon indicating copy to clipboard operation
swift copied to clipboard

A compiler for BLOG probabilistic programming language

Results 6 swift issues
Sort by recently updated
recently updated
newest added

Currently in MCMC Translator, we do not support any set expression. For example: random Real X(t_year y, t_index i) ~ if y == 0 then Gaussian(0, 1) else Gaussian(sum({A(i, j)...

bug
enhancement

Now query-for syntax only supports MCMC algorithms

enhancement

Now in the compiled target, all the string names of the instances will be stored in a vector with name "__vecstr_instance_XXXXX" For example, BLOG: type City; distinct City C[2]; C++...

enhancement

Wiki: https://en.wikipedia.org/wiki/Negative_binomial_distribution

Currently we did a hack for gaussian proposals. The proposal distribution can be found in "MCMC_util.h" called "gaussian_prop". Note that the variance of the proposal distribution is fixed: 1.0. The...

enhancement

I've just added this project grammar to https://mingodad.github.io/parsertl-playground/playground/ an `Yacc/Lex` compatible online editor/tester (select `Blog-lang parser` from `Examples` then click `Parse` to see a parser tree for the content in...