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

Improve show function of BUGSModel #236

Merged
merged 4 commits into from
Nov 14, 2024
Merged

Improve show function of BUGSModel #236

merged 4 commits into from
Nov 14, 2024

Conversation

sunxd3
Copy link
Member

@sunxd3 sunxd3 commented Nov 14, 2024

No description provided.

Copy link
Contributor

github-actions bot commented Nov 14, 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.6366 8.32233 69.249 83.556
pumps 12 10 1.01261 1.37623 11.201 6.559
dogs 2 720 NA NA 173.495 187.09
seeds 26 21 2.48918 3.44422 27.231 19.887
surgical_realistic 14 12 1.32568 1.77982 15.098 8.907
magnesium 108 96 11.442 13.057 122.95 75.051
salm 22 18 2.4476 3.29113 20.8495 12.5235
equiv 15 20 2.616 3.67438 19.096 15.479
dyes 9 30 1.01084 1.38067 12.153 12.974
stacks 6 21 1.19388 1.76394 24.727 15.519
epil 303 236 34.014 39.664 280.821 244.397
blockers 47 44 3.49657 4.13643 58.35 28.433
oxford 244 240 16.501 20.068 363.631 170.7
lsat 1006 5000 176.862 220.683 2357.24 1172.56
bones 33 422 75.01 95.559 432.089 184.084
mice 20 65 7.808 9.81867 28.974 38.933
kidney 64 58 10.785 16.451 64.38 72.095
leuk 18 714 20.488 26.61 219.737 205.185
leukfr 40 714 23.704 33.352 226.875 229.58

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11832373313

Details

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

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/model.jl 0 30 0.0%
Totals Coverage Status
Change from base Build 11741808700: -1.0%
Covered Lines: 1387
Relevant Lines: 1872

💛 - Coveralls

@sunxd3 sunxd3 merged commit 41620db into master Nov 14, 2024
13 checks passed
@sunxd3 sunxd3 deleted the snuxd/feature_patches branch November 14, 2024 07:37
naseweisssss pushed a commit that referenced this pull request Nov 17, 2024
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