>> To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+unsubscribe@googlegroups.com.
>> To post to this group, send email to stan-...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+unsubscribe@googlegroups.com.
> To post to this group, send email to stan-...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Stan users mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stan-users/PQICLhcmOlg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stan-users+unsubscribe@googlegroups.com.
1. The problem, at the end of the day, reduces to a big eigenvalue solve. I need control over the eigenvalue solve beyond what Stan currently offers (generalized eigenvalue solve, only need the few smallest eigenvalues)
--
You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.
@BGoodrichYeah, the eigenvalues are actually real in this problem. I'm pretty sure something in ARPACK will solve my problem (I think that's what Scipy uses under the hood anyway?) -- it's just a matter of knocking the dust off my documentation reading skills.
If Ben B calculates the derivatives himself, then it's
no holds barred on both the values and derivatives.
- Bob
> On Mar 14, 2017, at 1:18 PM, Ben Goodrich <goodri...@gmail.com> wrote:
>
> On Tuesday, March 14, 2017 at 12:17:39 PM UTC-4, Ben B wrote:
> @BGoodrich
>
> Yeah, the eigenvalues are actually real in this problem. I'm pretty sure something in ARPACK will solve my problem (I think that's what Scipy uses under the hood anyway?) -- it's just a matter of knocking the dust off my documentation reading skills.
>
> The eigenvalues not only need to be real; the C++ needs to use real arithmetic exclusively to calculate them. If it is using complex<T> then you are going to have pull the double values out of the stan::math::var types, calculate the small eigenvalues, do the derivatives analytically, and then attach the derivatives to new stan::math::var values. And that is a lot of work.
>
> --
> You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+unsubscribe@googlegroups.com.
> To post to this group, send email to stan-...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Stan users mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stan-users/PQICLhcmOlg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stan-users+unsubscribe@googlegroups.com.
>> I’ll also note that statistical models built out of inversions/decompositions are almost always a mess to fit.Haha, agreed in my limited experience. I think we got pretty lucky with this model/data. I coded this up in Python with the 2012 Radford Neal HMC paper and things just kinda work, which is why I think there's a chance I could take advantage of all the nice Stan stuff if I can weasel it in. You're right though; it still feels like a coinflip.
--
You received this message because you are subscribed to a topic in the Google Groups "Stan users mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stan-users/PQICLhcmOlg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stan-users+unsubscribe@googlegroups.com.
> To unsubscribe from this group and all its topics, send an email to stan-users+unsubscribe@googlegroups.com.
> To post to this group, send email to stan-...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+unsubscribe@googlegroups.com.
> To post to this group, send email to stan-...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> <resonance-modes.pdf>
--
You received this message because you are subscribed to a topic in the Google Groups "Stan users mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stan-users/PQICLhcmOlg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stan-users+unsubscribe@googlegroups.com.
Yeah, hopefully I can manage a math library fork. It's either I do that or I maintain all my own samplers and stats stuff. I honestly dunno which'll be harder at the end of the day.
Also @BGoodrich, I had a look at the cmdStan manual. Is what you were saying that I might be able to just take the function I wrote (that returns a vector of vars with stored_gradient_varis preset) and include it in a Stan model like on page 25/26 with the Bernoulli example? I think I may have misunderstood the first time.
Ben was also saying that you don't need to fork per se so much as
get your own function into the compiel path. It will have to
be in the stan::math namespace for everything to work.
It would be great for this all to be a case study, blog, etc., at some point.
--
You received this message because you are subscribed to a topic in the Google Groups "Stan users mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stan-users/PQICLhcmOlg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stan-users+unsubscribe@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.