Skip to content

AttributeError: 'pymc3' object has no attribute 'switch' #319

@vladserkoff

Description

@vladserkoff

Hey, thanks for the transition to pymc3!
There's probably a typo in the 8th cell in Intro Chapter
Should lambda_ = pm.switch(tau >= idx, lambda_1, lambda_2) be lambda_ = pm.math.switch(tau >= idx, lambda_1, lambda_2) instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions