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

Update examples files for nimble test, also some extra bug fix #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sunxd3
Copy link
Member

@sunxd3 sunxd3 commented Dec 6, 2024

No description provided.

@@ -0,0 +1,54 @@
name = "Stagnant: a changepoint problem and an illustration of how NOT to do MCMC!)"

model_def = @bugs begin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
model_def = @bugs begin
model_def = @bugs begin

x_change = (mean = 0.02597, std = 0.03245)
)

stagnant = Example(name, model_def, original, data, inits, inits_alternative, reference_results)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
stagnant = Example(name, model_def, original, data, inits, inits_alternative, reference_results)
stagnant = Example(
name, model_def, original, data, inits, inits_alternative, reference_results)

Comment on lines +32 to +37
var"p.dyspnoea" = reshape([
0.9 0.1
0.2 0.8
0.3 0.7
0.1 0.9
], (2, 2, 2))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
var"p.dyspnoea" = reshape([
0.9 0.1
0.2 0.8
0.3 0.7
0.1 0.9
], (2, 2, 2))
var"p.dyspnoea" = reshape([0.9 0.1
0.2 0.8
0.3 0.7
0.1 0.9], (2, 2, 2))

)

inits = (smoking = 1, tuberculosis = 1, var"lung.cancer" = 1, bronchitis = 1, xray = 1)
inits_alternative = (smoking = 2, tuberculosis = 2, var"lung.cancer" = 2, bronchitis = 2, xray = 2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
inits_alternative = (smoking = 2, tuberculosis = 2, var"lung.cancer" = 2, bronchitis = 2, xray = 2)
inits_alternative = (
smoking = 2, tuberculosis = 2, var"lung.cancer" = 2, bronchitis = 2, xray = 2)

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.

1 participant