Closed sebp closed 7 years ago
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.
Actually these just moved to pymc3.math, can you import switch from there instead?
pymc3.math
switch
@twiecki pymc3.math.switch is used in chapters 1 and 2 now.
pymc3.math.switch
Cool, LGTM. CC @CamDavidsonPilon
👍 thanks for the contribution!
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.