Skip to content

Commit 05c705b

Browse files
committed
Fix typos in code examples.
1 parent 87a3985 commit 05c705b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ExamplesFromChapters/Chapter1/SMS_behaviour.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
alpha = 1.0 / count_data.mean() # recall count_data is
88
# the variable that holds our txt counts
99

10-
lambda_1 = pm.Exponential("lambda_1", alpha)
10+
lambda_1 = pm.Exponential("lambda_1", alpha)
1111
lambda_2 = pm.Exponential("lambda_2", alpha)
1212

1313
tau = pm.DiscreteUniform("tau", lower=0, upper=n_count_data)

ExamplesFromChapters/Chapter3/ClusteringWithGaussians.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
centers = pm.Normal("centers", [150, 150], [0.001, 0.001], size=2)
1414

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

2020

0 commit comments

Comments
 (0)