Skip to content

Manuscript Error: Code 1.7 doesn't work in PyMC version 5 #204

Description

@bskrainka

Description

The code block Code 1.7 doesn't work in PyMC version 5. The interface is now substantially different.

pred_dists = (pm.sample_prior_predictive(1000, model)["y_obs"],
              pm.sample_posterior_predictive(idata, 1000, model)["y_obs"])

Reference

p. 12, Code 1.7

Author Section

Do not close until

  • Added to Errata
  • Fixed in Open Access
  • Fixed in latex source

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions