pymc
pymc copied to clipboard
Bayesian Modeling and Probabilistic Programming in Python
rtd is failing both on latest and all recent PRs, see for example: https://readthedocs.org/projects/pymc/builds/18031171/. I suspect this is related to the latest theme release. Can someone try to pin `pydata-sphinx-theme
## `Mixture.dist` fails on first attempt if components are defined out of context ```python import numpy as np import pymc3 as pm def make_model(): comps = [ pm.Lognormal.dist(1), pm.Lognormal.dist(2), ]...
## Description of your problem Hi, I can't seem to use the `Categorical` distribution with tensor probabilities. ```python import pymc3 as pm with pm.Model() as model: p = pm.Uniform('p', 0,...
This function could benefit from some more clear docstrings and example. * Point is actually optional when `make_shared` is False * Explain `shared` * Make `shared` optional https://github.com/pymc-devs/pymc/blob/761f77dad29116650ef3ca043645042219654a5c/pymc/aesaraf.py#L565-L586
When updating the docstrings for `pm.AR()` distribution class (https://github.com/pymc-devs/pymc/pull/6080), it became clear that we have no clean, unified way to refer to the "unnamed distribution" arguments taken by some distributions...
I am marking this as a draft, as I might very well be shooting myself in the foot... but it seems like it should work? ```python import arviz as az...
My guess is that unobserved [Gaussian/MvNormal/MvStudentT]RandomWalk would sample much better if NUTS could propose value differences instead of the timeseries values. This is what is done when one manually creates...
I have seen this one fail repeatedly recently, such as in https://github.com/pymc-devs/pymc/runs/8135110596?check_suite_focus=true ```python ================================== FAILURES =================================== ______________________ TestProfile.test_profile_variable ______________________ self = def test_profile_variable(self): rv = self.model.basic_RVs[0] > assert self.model.profile(self.model.logp(vars=[rv], sum=False)).fct_call_time...
Hello, I am not sure if this is a bug, but perhaps a peculiar behavior that I'd like to report. Over the past few weeks I noticed this: compiling a...
## Description of your problem I am trying to fit a Negative-Binomial regression model. However, I am running into `SamplingError: Initial evaluation of model at starting point failed!`, even if...