Skip to content
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

A BayesNet implemented without MetaGraphsNext #232

Merged
merged 6 commits into from
Nov 3, 2024

Conversation

sunxd3
Copy link
Member

@sunxd3 sunxd3 commented Nov 3, 2024

No description provided.

sunxd3 and others added 6 commits November 3, 2024 12:46
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

github-actions bot commented Nov 3, 2024

BridgeStan not found at location specified by $BRIDGESTAN environment variable, downloading version 2.5.0 to /home/runner/.bridgestan/bridgestan-2.5.0
Done!
Model dogs produces error: ErrorException("log_density() failed with exception: Exception: bernoulli_lpmf: Probability parameter is inf, but must be in the interval [0, 1] (in '/home/runner/work/JuliaBUGS.jl/JuliaBUGS.jl/benchmark/stan/bugs_examples/vol1/dogs/dogs.stan', line 37, column 6 to line 38, column 62)\n")

Model Parameter Count Data Count Stan Density Time (µs) Stan Density Gradient Time (µs) JuliaBUGS Density Time with Graph Walk (µs) JuliaBUGS Density Gradient Time with ReverseDiff.jl(compiled tape) (µs)
rats 65 150 5.6126 8.212 145.973 91.281
pumps 12 10 1.00497 1.32795 19.336 6.39675
dogs 2 720 NA NA 268.591 158.391
seeds 26 21 2.51927 3.25833 42.409 20.108
surgical_realistic 14 12 1.2663 1.68094 26.329 8.516
magnesium 108 96 10.7 12.278 244.908 76.353
salm 22 18 2.36982 3.07072 38.983 12.5535
equiv 15 20 2.532 3.34 26.43 15.219
dyes 9 30 0.995867 1.34432 17.072 13.0745
stacks 6 21 1.1275 1.71409 53.52 14.7075
epil 303 236 33.092 39.334 527.506 247.262
blockers 47 44 3.39263 4.19343 103.664 30.047
oxford 244 240 16.471 18.825 672.01 193.902
lsat 1006 5000 181.875 222.796 3330.64 1170.45
bones 33 422 72.185 89.638 1270.59 184.485
mice 20 65 7.394 9.43433 42.209 39.073
kidney 64 58 10.8955 16.421 109.815 72.476
leuk 18 714 20.449 26.891 340.19 199.498
leukfr 40 714 23.845 31.699 364.18 250.594

@coveralls
Copy link

coveralls commented Nov 3, 2024

Pull Request Test Coverage Report for Build 11651499506

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 71 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-3.0%) to 75.28%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/experimental/ProbabilisticGraphicalModels/bayesnet.jl 0 71 0.0%
Totals Coverage Status
Change from base Build 11569275363: -3.0%
Covered Lines: 1410
Relevant Lines: 1873

💛 - Coveralls

@sunxd3 sunxd3 merged commit 8531eeb into master Nov 3, 2024
10 of 13 checks passed
@sunxd3 sunxd3 deleted the sunxd/bayesnet_without_metagraph branch November 3, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants