-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Expose skeleton #706
Expose skeleton #706
Conversation
Codecov Report
@@ Coverage Diff @@
## master #706 +/- ##
==========================================
- Coverage 90.56% 90.53% -0.03%
==========================================
Files 12 12
Lines 3888 3890 +2
==========================================
+ Hits 3521 3522 +1
- Misses 367 368 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@rok-cesnovar I realised I'd made a bunch of redundant/unnecessary changes with the PR, so I've reverted those. Makes for a much simpler diff ha! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
Awesome, thanks!
…On Thu, Oct 20, 2022 at 3:49 AM Rok Češnovar ***@***.***> wrote:
Merged #706 <#706> into master.
—
Reply to this email directly, view it on GitHub
<#706 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3PQQ7FZO3QZCTK27UXBWTWED2PRANCNFSM6AAAAAARGZF5HE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Awesome, thanks! |
Submission Checklist
Summary
Packages like https://github.com/n-kall/priorsense and https://github.com/stan-dev/loo will need access to the parameter skeleton from the
constrain_pars
function for full compatibility withcmdstanr
.This PR adds a boolean flag to the
constrain_pars
method to return only the parameter skeleton rather than the constrained pars:As part of this, the
model_variables
object is updated to include the parameter sizes from the model when the model methods are initialised.Copyright and Licensing
Please list the copyright holder for the work you are submitting
(this will be you or your assignee, such as a university or company):
Andrew Johnson
By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the following licenses: