stan
stan copied to clipboard
Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
When using the new CmdStanR to provide inits, I happen to have a case where the initial values have finite lp__, but non-finite gradient. The message coming from `stan` https://github.com/stan-dev/stan/blob/c746ad2f9455d5abc15551e07e7273e1bb3c97ac/src/stan/services/util/initialize.hpp#L217...
Related to #3306 Modify the `WolfeLineSearch` function in `src/stan/optimization/bfgs_linesearch.hpp` to handle non-finite gradients. * Check if the function value `func_val` is finite. * Check if the gradient `gradx1` is finite....
#### Submission Checklist - [x] Run unit tests: `./runTests.py src/test/unit` - [x] Run cpplint: `make cpplint` - [x] Declare copyright holder and open-source license: see below #### Summary Add split-rank-folded...
There are some reports (e.g. https://discourse.mc-stan.org/t/disabling-line-search/36062) optimization returning a point that has finite log density but infinite gradient. The current line search does not check that the gradient is finite....
#### Summary: PR https://github.com/stan-dev/stan/pull/3266 implemented the rank-normalization and folding needed for Rhat-bulk and Rhat-tail. We should also add logic for ESS-bulk and ESS-tail, per Vehtari et al https://arxiv.org/abs/1903.08008. #### Description:...
#### Submission Checklist - [x] Run unit tests: `./runTests.py src/test/unit` - [x] Run cpplint: `make cpplint` - [x] Declare copyright holder and open-source license: see below #### Summary Added logic...
#### Summary: As currently written, when `stan::io::stan_csv_reader` encounters a file with saved warmup draws, the parser will return both warmup and sample draws, but no adaptation information. Instead, the reader...
#### Summary: A useful addition for simpler expressions with more complex indexing/subsetting would be to support logical indices. On the backend, this could just be syntactic sugar which first constructs...
This would be similar to `integrate_ode` but instead of calling ``` theta
#### Submission Checklist - [x] Run unit tests: `./runTests.py src/test/unit` - [x] Run cpplint: `make cpplint` - [x] Declare copyright holder and open-source license: see below #### Summary This is...