-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ancestral Sampling and Bayes Ball Algorithm #233
Commits on Nov 4, 2024
-
change SimpleGraph to SimpleDiGraph for topological sort and added te…
…st for ancestral sampling
Configuration menu - View commit details
-
Copy full SHA for 304fd88 - Browse repository at this point
Copy the full SHA 304fd88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 573b3e5 - Browse repository at this point
Copy the full SHA 573b3e5View commit details -
Update src/experimental/ProbabilisticGraphicalModels/bayesnet.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 62c07ed - Browse repository at this point
Copy the full SHA 62c07edView commit details -
Update src/experimental/ProbabilisticGraphicalModels/bayesnet.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 344b4f1 - Browse repository at this point
Copy the full SHA 344b4f1View commit details -
Update test/experimental/ProbabilisticGraphicalModels/bayesnet.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0bb810a - Browse repository at this point
Copy the full SHA 0bb810aView commit details -
Update test/experimental/ProbabilisticGraphicalModels/bayesnet.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6ce7559 - Browse repository at this point
Copy the full SHA 6ce7559View commit details -
Update test/experimental/ProbabilisticGraphicalModels/bayesnet.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c385c37 - Browse repository at this point
Copy the full SHA c385c37View commit details -
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1d0ed43 - Browse repository at this point
Copy the full SHA 1d0ed43View commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bc2fccf - Browse repository at this point
Copy the full SHA bc2fccfView commit details -
Apply suggestions from code review
linting Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 102069d - Browse repository at this point
Copy the full SHA 102069dView commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 503910f - Browse repository at this point
Copy the full SHA 503910fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 593d18e - Browse repository at this point
Copy the full SHA 593d18eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f2bbcf - Browse repository at this point
Copy the full SHA 6f2bbcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ffba3b - Browse repository at this point
Copy the full SHA 8ffba3bView commit details
Commits on Nov 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2c91dac - Browse repository at this point
Copy the full SHA 2c91dacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8339b0e - Browse repository at this point
Copy the full SHA 8339b0eView commit details
Commits on Nov 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 25308ff - Browse repository at this point
Copy the full SHA 25308ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35c1c3f - Browse repository at this point
Copy the full SHA 35c1c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a83c12 - Browse repository at this point
Copy the full SHA 1a83c12View commit details -
Configuration menu - View commit details
-
Copy full SHA for c387813 - Browse repository at this point
Copy the full SHA c387813View commit details
Commits on Nov 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for deaf99c - Browse repository at this point
Copy the full SHA deaf99cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 830c208 - Browse repository at this point
Copy the full SHA 830c208View commit details
Commits on Nov 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cae8914 - Browse repository at this point
Copy the full SHA cae8914View commit details -
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 966e4d1 - Browse repository at this point
Copy the full SHA 966e4d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9347bc - Browse repository at this point
Copy the full SHA f9347bcView commit details -
Permit dot call (like
Distributions.Normal
) to be used in model def……inition (#237) The motivation for the PR is initially to allow the use [`product_distribution`](https://juliastats.org/Distributions.jl/stable/multivariate/#Distributions.product_distribution) in JuliaBUGS model. By writing ```julia @bugs begin x[1:2] ~ Distributions.product_distribution(fill(Normal(), 2)) end ``` It also enables ```julia julia> foo(x) = x + 1 foo (generic function with 1 method) julia> model_def = @bugs begin a = Main.foo(b) end quote a = Main.foo(b) end julia> compile(model_def, (;b=2)) BUGSModel (parameters are in transformed (unconstrained) space, with dimension 0): Model parameters: Variable sizes and types: a: type = Int64 b: type = Int64 ``` i.e., an easier way to introduce external functions into JuliaBUGS. This can't fully replace `@register_primitive` yet, because using `Main` module is relying on Julia runtime behavior and not very intuitive. Examples: ```julia julia> module TestModule bar(x) = x + 1 end Main.TestModule julia> model_def = @bugs begin a = TestModule.bar(b) end quote a = TestModule.bar(b) end julia> compile(model_def, (; b = 1)) ERROR: UndefVarError: `TestModule` not defined in `JuliaBUGS` ... ``` one would need to do ```julia julia> model_def = @bugs begin a = Main.TestModule.bar(b) end quote a = Main.TestModule.bar(b) end ``` also ```julia julia> @testset "t" begin foo1(x) = x + 1 model_def = @bugs begin a = Main.foo1(b) end compile(model_def, (; b= 1)) end t: Error During Test at REPL[18]:1 Got exception outside of a @test UndefVarError: `foo1` not defined in `Main` ... ```
Configuration menu - View commit details
-
Copy full SHA for a4cbbba - Browse repository at this point
Copy the full SHA a4cbbbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ca9933 - Browse repository at this point
Copy the full SHA 1ca9933View commit details
Commits on Nov 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e229cac - Browse repository at this point
Copy the full SHA e229cacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34a17b2 - Browse repository at this point
Copy the full SHA 34a17b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0921f2e - Browse repository at this point
Copy the full SHA 0921f2eView commit details
Commits on Nov 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 43027c5 - Browse repository at this point
Copy the full SHA 43027c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0ea8e9 - Browse repository at this point
Copy the full SHA a0ea8e9View commit details
Commits on Nov 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a318f60 - Browse repository at this point
Copy the full SHA a318f60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 121d412 - Browse repository at this point
Copy the full SHA 121d412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cff1db - Browse repository at this point
Copy the full SHA 0cff1dbView commit details