Skip to content

Commit b6d910e

Browse files
committed
rm cross-validation remark and fix typos
1 parent d965f59 commit b6d910e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

examples/generalized_linear_models/GLM-out-of-sample-predictions.ipynb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
},
224224
{
225225
"source": [
226-
"As pointed out on the [thread](https://discourse.pymc.io/t/out-of-sample-predictions-with-the-glm-sub-module/773) (thank you @Nicky!), we need to keep the lables of the features ni the design matrix."
226+
"As pointed out on the [thread](https://discourse.pymc.io/t/out-of-sample-predictions-with-the-glm-sub-module/773) (thank you @Nicky!), we need to keep the labels of the features in the design matrix."
227227
],
228228
"cell_type": "markdown",
229229
"metadata": {}
@@ -245,13 +245,6 @@
245245
"print(f\"labels = {labels}\")"
246246
]
247247
},
248-
{
249-
"source": [
250-
"**Remark:** One needs to be careful when generating these features as we do not want to leak information in our cross validation steps. This could be the case when one-hot-encoding categorical variables."
251-
],
252-
"cell_type": "markdown",
253-
"metadata": {}
254-
},
255248
{
256249
"source": [
257250
"Now we do a train-test split."

0 commit comments

Comments
 (0)