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

Take large inputs in "init" block #72

Open
2 tasks
joejohnston203 opened this issue Feb 12, 2018 · 0 comments
Open
2 tasks

Take large inputs in "init" block #72

joejohnston203 opened this issue Feb 12, 2018 · 0 comments

Comments

@joejohnston203
Copy link

In a hierarchical model I have a parameter associated with each of the 4000 data points. Currently, in order to initialize those parameters to 0, I have an array with 4000 elements in the "stan.run.init" block.

Morpho could include a way to initialize a large array of parameters in one or both of the following ways:

  • By optionally reading the initialization values from an input file
  • By inputting the array length and the value of each element in the 'init' block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant