Skip to content

Commit 659f63d

Browse files
authored
Fix spelling/grammar in pipeline notebook (#1082)
Noticed a few misspellings. Fixed a couple more based on PR feedback.
1 parent f73207e commit 659f63d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

notebooks/02 sklearn Pipeline.ipynb

+6-6
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@
116116
" \n",
117117
"Here comes the tricky part!\n",
118118
" \n",
119-
"The input to the pipeline will be our dataframe `X`, which one row per identifier.\n",
119+
"The input to the pipeline will be our dataframe `X`, with one row per identifier.\n",
120120
"It is currently empty.\n",
121-
"But which time series data should the `RelevantFeatureAugmenter` to actually extract the features from?\n",
121+
"But which time series data should the `RelevantFeatureAugmenter` use to actually extract the features from?\n",
122122
"\n",
123123
"We need to pass the time series data (stored in `df_ts`) to the transformer.\n",
124124
" \n",
@@ -179,7 +179,7 @@
179179
"cell_type": "markdown",
180180
"metadata": {},
181181
"source": [
182-
"During interference, the augmentor does only extract the relevant features it has found out in the training phase and the classifier predicts the target using these features."
182+
"During inference, the augmenter only extracts those features that it has found as being relevant in the training phase. The classifier predicts the target using these features."
183183
]
184184
},
185185
{
@@ -211,7 +211,7 @@
211211
"cell_type": "markdown",
212212
"metadata": {},
213213
"source": [
214-
"You can also find out, which columns the augmenter has selected"
214+
"You can also find out which columns the augmenter has selected"
215215
]
216216
},
217217
{
@@ -248,11 +248,11 @@
248248
"metadata": {},
249249
"source": [
250250
"In the example above we passed in a single `df_ts` into the `RelevantFeatureAugmenter`, which was used both for training and predicting.\n",
251-
"During training, only the data with the `id`s from `X_train` where extracted and during prediction the rest.\n",
251+
"During training, only the data with the `id`s from `X_train` were extracted. The rest of the data are extracted during prediction.\n",
252252
"\n",
253253
"However, it is perfectly fine to call `set_params` twice: once before training and once before prediction. \n",
254254
"This can be handy if you for example dump the trained pipeline to disk and re-use it only later for prediction.\n",
255-
"You only need to make sure that the `id`s of the enteties you use during training/prediction are actually present in the passed time series data."
255+
"You only need to make sure that the `id`s of the entities you use during training/prediction are actually present in the passed time series data."
256256
]
257257
},
258258
{

0 commit comments

Comments
 (0)