Coder Social home page Coder Social logo

Comments (3)

jgabry avatar jgabry commented on May 23, 2024

It definitely has to do with the name change. I had not noticed that. Is
this changing in rstan too or are you just renaming it in rstanarm? If it's
just rstanarm then I can put in a special case for that.

On Thursday, August 13, 2015, bgoodri [email protected] wrote:

If you do

fit1 <- stan_glm(Volume ~ log(Girth) + log(Height), data = trees, family = gaussian(link = 'log'))
launch_shinystan(fit1)

and go to NUTS (Plots), you get the error message and in the console it
says

Error in samps_post_warmup[if (!is.null(sel)) sel, , "lp__"] :
subscript out of bounds

This may have to do with it being renamed "log-posterior"?


Reply to this email directly or view it on GitHub
#88.

from shinystan.

bgoodri avatar bgoodri commented on May 23, 2024

It is just in rstanarm at the moment, but I could imagine any number of
packages the depend on Stan doing something like that. It may be best to
just call get_log_posterior() rather than rely on hard-coded names.

On Thu, Aug 13, 2015 at 8:13 PM, Jonah Gabry [email protected]
wrote:

It definitely has to do with the name change. I had not noticed that. Is
this changing in rstan too or are you just renaming it in rstanarm? If it's
just rstanarm then I can put in a special case for that.

On Thursday, August 13, 2015, bgoodri [email protected] wrote:

If you do

fit1 <- stan_glm(Volume ~ log(Girth) + log(Height), data = trees, family
= gaussian(link = 'log'))
launch_shinystan(fit1)

and go to NUTS (Plots), you get the error message and in the console it
says

Error in samps_post_warmup[if (!is.null(sel)) sel, , "lp__"] :
subscript out of bounds

This may have to do with it being renamed "log-posterior"?


Reply to this email directly or view it on GitHub
#88.


Reply to this email directly or view it on GitHub
#88 (comment).

from shinystan.

jgabry avatar jgabry commented on May 23, 2024

If get_log_posterior is sticking around then yeah I'll just use that.

On Thursday, August 13, 2015, bgoodri [email protected] wrote:

It is just in rstanarm at the moment, but I could imagine any number of
packages the depend on Stan doing something like that. It may be best to
just call get_log_posterior() rather than rely on hard-coded names.

On Thu, Aug 13, 2015 at 8:13 PM, Jonah Gabry <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');>
wrote:

It definitely has to do with the name change. I had not noticed that. Is
this changing in rstan too or are you just renaming it in rstanarm? If
it's
just rstanarm then I can put in a special case for that.

On Thursday, August 13, 2015, bgoodri <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:

If you do

fit1 <- stan_glm(Volume ~ log(Girth) + log(Height), data = trees,
family
= gaussian(link = 'log'))
launch_shinystan(fit1)

and go to NUTS (Plots), you get the error message and in the console it
says

Error in samps_post_warmup[if (!is.null(sel)) sel, , "lp__"] :
subscript out of bounds

This may have to do with it being renamed "log-posterior"?


Reply to this email directly or view it on GitHub
#88.


Reply to this email directly or view it on GitHub
<#88 (comment)
.


Reply to this email directly or view it on GitHub
#88 (comment).

from shinystan.

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.