This pymc-example may be good to browse: Fitting a Reinforcement Learning Model to Behavioral Data with PyMC — PyMC example gallery