pymc
pymc copied to clipboard
Bayesian Modeling and Probabilistic Programming in Python
The dims argument is not respected when a random variable is created with parameters that broadcast to the desired output dimensions: ```python coords = { "dim1": pd.RangeIndex(10), "dim2": pd.RangeIndex(7) }...
**What is this PR about?** ... Description: Change Model docstring Issue name Model docstring is outdated Issue number: #6040 **Checklist** + [x ] Explain important implementation details π + [x...
Apologies for delay but finally got around to updating the latest version of model_graph.py to include networkx export function as discussed in [5677](https://github.com/pymc-devs/pymc/pull/5677) This creates a method for exporting the...
## Description of your problem Using the model.add_coord method appears to break pm.sample_posterior_predictive. Hereβs a simple example, estimating the loc and scale of three independent normals: **Please provide a minimal,...
## Description of your problem When using `Data` or `MutableData` objects with binomial or Poisson likelihoods, they are not properly added to the model graph when the likelihood has non-scalar...
We no longer have self.Var("name", dist) to register random variables. We need to fix that with a correct API call https://github.com/pymc-devs/pymc/blob/ad16bf48a1703b80cee3d3fef9df1dd0ae552d7c/pymc/model.py#L469
**What is this PR about?** Addressing #5383 This enables `StickBreakingWeight`'s `alpha` to accept batched data (>2D), make the `infer_shape` work with batched data, and fix the `rng_fn` by broadcasting alpha...
**What is this PR about?** fixing a number of issues with the pymc.simulator docstring. ... **Checklist** + [ ] Explain important implementation details π + [ ] Make sure that...
When I have a simple model: ```python import pymc as pm with pm.Model() as m: x = pm.MutableData("x", input_data) y = pm.MutableData("y" , output_data) beta = pm.Normal("beta") y_est = x...
**What is this PR about?** The original solution to fix Issue #5932 overwrites existing dimensions and coordinate data on the variables when creating the ArviZ InferenceData object. (See the issue...