Skip to content

Conversation

sebp
Copy link
Contributor

@sebp sebp commented Oct 16, 2016

pm.switch does not exist and is replaced by theano.tensor.switch (same as pm.math.switch) in PyMC3.

Chapter 1 already uses theano's switch.

@twiecki
Copy link
Contributor

twiecki commented Oct 17, 2016

Actually these just moved to pymc3.math, can you import switch from there instead?

pm.switch does not exist and is replaced by theano.tensor.switch (same
as pm.math.switch) in PyMC3.
@sebp
Copy link
Contributor Author

sebp commented Oct 18, 2016

@twiecki pymc3.math.switch is used in chapters 1 and 2 now.

@twiecki
Copy link
Contributor

twiecki commented Oct 18, 2016

Cool, LGTM. CC @CamDavidsonPilon

@CamDavidsonPilon CamDavidsonPilon merged commit 0413e0f into CamDavidsonPilon:master Oct 18, 2016
@CamDavidsonPilon
Copy link
Owner

👍 thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants