Skip to content

Commit

Permalink
Merge pull request CamDavidsonPilon#329 from mkcor/master
Browse files Browse the repository at this point in the history
Fix typos in code examples.
  • Loading branch information
CamDavidsonPilon authored Nov 1, 2016
2 parents 87a3985 + 05c705b commit 2c7e604
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ExamplesFromChapters/Chapter1/SMS_behaviour.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
alpha = 1.0 / count_data.mean() # recall count_data is
# the variable that holds our txt counts

lambda_1 = pm.Exponential("lambda_1", alpha)
lambda_1 = pm.Exponential("lambda_1", alpha)
lambda_2 = pm.Exponential("lambda_2", alpha)

tau = pm.DiscreteUniform("tau", lower=0, upper=n_count_data)
Expand Down
4 changes: 2 additions & 2 deletions ExamplesFromChapters/Chapter3/ClusteringWithGaussians.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
centers = pm.Normal("centers", [150, 150], [0.001, 0.001], size=2)

"""
The below deterministic functions map a assingment, in this case 0 or 1,
to a set of parameters, located in the (1,2) arrays `taus` and `centers.`
The below deterministic functions map an assignment, in this case 0 or 1,
to a set of parameters, located in the (1, 2) arrays `taus` and `centers.`
"""


Expand Down

0 comments on commit 2c7e604

Please sign in to comment.