bzinberg
bzinberg
In a data validation scenario, I want to check whether a `MetaGraph` has an indexing prop with a given key. I'm currently peeking under the hood, as I don't think...
Thank you for making Jupytext awesome. Steps to repro: 1. From the notebook web interface, create an empty Python notebook. 1. Open the Python notebook, pair it to a light-script,...
Example: ``` julia> using Gen julia> @dist function labeled_cat(weights, labels) println("$weights") labels[categorical(weights)] end; Gen.SimpleArg{Any}(1) ```
Choicemaps have a notion of "submap," and define a specialization of `Base.setindex!(choicemap, k, v)` allowing the user to assign the value `v` to the key `k`. Currently, the behavior of...
When trying to run GenSceneGraphs from Docker, @jcrosenb encountered the error ``` ┌ Info: Precompiling GenSceneGraphs [dcc2c3cc-8ed1-11e9-1eb3-1dd41a11fee5] └ @ Base loading.jl:1278 ERROR: LoadError: Failed to precompile Gen [ea4f424c-a589-11e8-07c0-fd5c91b9da4a] to /root/.julia/compiled/v1.5/Gen/OEZG1_Y796z.ji....
AFAIK, the only "direct" way to convert a `Dict` or `Vector{ 1), (:b => 2), #= whatever other stuff; or more to the point, this is often programmatically constructed =#]...
When debugging MH inference (e.g. "why is my proposal never accepted"), it would be useful to have a variant of `mh` that exposes the acceptance probability. We could make something...
Proposal: Allow a Generative Function to recommend a proposal for conditioning on its return value
# Motivation This has come up repeatedly when I try to add slack terms or noise to a model. Even if I'm the only one developing the code, this "adding"...
I think Gen should complain in this case, because otherwise typos can silently lead to unintended behavior: ``` julia> @gen function f() {:address} ~ Gen.bernoulli(0.5) end; julia> t = Gen.simulate(f,...
Draft fix of https://github.com/JuliaDiff/ReverseDiff.jl/issues/153.