Skip to content

Commit f17817a

Browse files
authored
Fix typos in Linear_Regression_Starter.ipynb (#490)
Fixed small typos in the linear regression example.
1 parent afc1af1 commit f17817a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Linear_Regression_Starter.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@
569569
"id": "NF1XmDmDBRyT"
570570
},
571571
"source": [
572-
"Now, we are ready to train our approximator to learn posterior distributions for linear regression models. To achieve this, we will all `approximator.fit` passing the `simulator` and a bunch of hyperparameters that control how long we want to train.\n",
572+
"Now, we are ready to train our approximator to learn posterior distributions for linear regression models. To achieve this, we will call `approximator.fit` passing the `simulator` and a bunch of hyperparameters that control how long we want to train.\n",
573573
"\n",
574574
"**Note**: when using JAX and the shape of your data differs in every batch (e.g., when observations vary), you will observe some compilation overhead during the first few steps. The total training time for this example is around 2 minutes on a standard laptop."
575575
]
@@ -669,7 +669,7 @@
669669
"id": "nxCV-wdnDa1N"
670670
},
671671
"source": [
672-
"Initial sanity checks of the posterior samples look good. `post_draws[\"beta\"]` has shape `(200, 2000, 2)` which makes sense since we asked for inference of a 200 data sets (first dimension is 200), for which we wanted to generated 1000 posterior samples (second dimension is 1000). The third dimension is 2, since the `beta` variable was defined as a vector of length 2 (intercept and slope)."
672+
"Initial sanity checks of the posterior samples look good. `post_draws[\"beta\"]` has shape `(200, 1000, 2)` which makes sense since we asked for inference of a 200 data sets (first dimension is 200), for which we wanted to generated 1000 posterior samples (second dimension is 1000). The third dimension is 2, since the `beta` variable was defined as a vector of length 2 (intercept and slope)."
673673
]
674674
},
675675
{

0 commit comments

Comments
 (0)