Closed rsmulktis closed 7 years ago
pymc3.math.dot(var1, var_const)
?
@rsmulktis I'm going to close this because it is not a bug report. Please ask questions either on Gitter or StackOverflow.
That's fine, I wasn't sure what the best way was; I'll use SO next time. Thanks for pointing out the answer, though!
One comment (as a newbie) having full api docs exposed, even with minimal descriptions, would be useful for browsing. The docs you guys have are exceptional, but either I'm looking in the wrong spot or the full apis aren't part of the generated set. For instance, i'm having a hard time finding pymc3.math.dot listed anywhere...
@rsmulktis Good point, I added that here http://pymc-devs.github.io/pymc3/api.html#math
Hey guys, i'm new to pymc3 (and probabilistic programming in general) and i'm trying to understand how something works. I'm setting up a simple model with a few stochastic variables that have shape and then creating a deterministic variable that is a matrix transform of a constant vector and the stochastic variable(s). But, i think i'm clearly doing something wrong. I'm hoping it's simple!
The model seems to fit ok and the traceplot of the stochastic variables that were simulated looks reasonable, but the deterministic variable isn't calculating correctly. What I want is to take my 5 stochastic values held in "var1" and inner product each sample with a constant vector to get a single value for the sample.
Here's the code which hopefully helps more than my explanation.
Thanks for any tips.