stan-dev / stan

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.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.59k stars 369 forks source link

manual chapter on optimization #793

Closed bob-carpenter closed 7 years ago

bob-carpenter commented 10 years ago

From Marcus on stan-users in response to a model and question from David C. Cohen:

To summarize for users: If you are optimizing and expect your solution to end up on a constraint boundary, do not use Stan's "lower=" or "upper=" constraints. They will almost certainly result in failures and it's likely that it there will be no obvious indication that it's failed.

Play around a bit with normalizing your data, using the squared() parameterization and LBFGS and let us know how it goes.

jgabry commented 8 years ago

Does this still need to get into the manual or is the Optimization Algorithms section sufficient? It touches on some of this (albeit briefly).

bob-carpenter commented 8 years ago

Use your judgment.

bob-carpenter commented 7 years ago

Moved into #2122