Giter VIP home page Giter VIP logo

Comments (5)

betanalpha avatar betanalpha commented on May 28, 2024

Yup, that's true. How should we handle it, warn the user and then exit
Stan? If that's cool I'll add a fix and make one of these new-fangeld
pull-requests.

On Tue, May 14, 2013 at 6:15 PM, Marcus Brubaker
[email protected]:

If the model fails with --init=0, Stan will run and appear to be working
fine, but will fail to do anything. We should check that all inits are
valid and error if a user specified init is broken.


Reply to this email directly or view it on GitHubhttps://github.com//issues/41
.

from stan.

mbrubake avatar mbrubake commented on May 28, 2024

Yeah, I think that sounds right. We should make sure that the sampler is always starting from a valid initialization. Valid in this case meaning finite log prob and finite gradient. We check this already with random initialization, just need to do it for manually specified inits and bail with an appropriate error message if needed.

from stan.

betanalpha avatar betanalpha commented on May 28, 2024

Agreed -- just wanted to check that people didn't prefer switching to
random inits or something.

On Tue, May 14, 2013 at 6:46 PM, Marcus Brubaker
[email protected]:

Yeah, I think that sounds right. We should make sure that the sampler is
always starting from a valid initialization. Valid in this case meaning
finite log prob and finite gradient. We check this already with random
initialization, just need to do it for manually specified inits and bail
with an appropriate error message if needed.


Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-17892707
.

from stan.

mbrubake avatar mbrubake commented on May 28, 2024

Ah, I see. I don't think we should switch to something else. If a user
specifies a particular initialization and that initialization isn't valid,
I think it's important that the user knows their initialization is broken.

Cheers,
Marcus

On Tue, May 14, 2013 at 1:49 PM, betanalpha [email protected]:

Agreed -- just wanted to check that people didn't prefer switching to
random inits or something.

On Tue, May 14, 2013 at 6:46 PM, Marcus Brubaker
[email protected]:

Yeah, I think that sounds right. We should make sure that the sampler is
always starting from a valid initialization. Valid in this case meaning
finite log prob and finite gradient. We check this already with random
initialization, just need to do it for manually specified inits and bail
with an appropriate error message if needed.


Reply to this email directly or view it on GitHub<
https://github.com/stan-dev/stan/issues/41#issuecomment-17892707>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-17892908
.

from stan.

syclik avatar syclik commented on May 28, 2024

Pull request #74 fixed this issue.

from stan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.