stan-dev / stan-dev/rstan

get the initial values of a broken model

Open
#161 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Right now it's impossible to use "get_inits" when a model fails, it will be nice to be able to extract the initial values somehow. Bob mentioned that it's not a good idea to return broken fit object. This can be solved if there's an option to log the errors in an external file, and get all the characteristics of the broken model, between them the initial values.

https://groups.google.com/forum/#!searchin/stan-users/bruno/stan-users/J4jhJ4Eu1q0/Md0mmj9p5JkJ

(Sorry I don't know how to add labels and mark it as a feature request/enhancement)
Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by tracing the get_inits behavior for failed models and review the linked discussion; the requested outcome is an option to log errors externally while exposing the broken model's characteristics, including initial values.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.