Skip to content

Commit 31ee1eb

Browse files
committed
fixing spacing of note box
1 parent b1fc411 commit 31ee1eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

classification1.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ formula `Class ~ Area + Smoothness` (instead of `Class ~ .`) in the recipe.
13201320
You will also notice that we did not call `prep()` on the recipe; this is unnecessary when it is
13211321
placed in a workflow.
13221322

1323-
We will now place these steps in a `workflow` using the `add_recipe` and `add_model` functions, \index{tidymodels!add\_recipe}\index{tidymodels!add\_model}
1323+
We will now place these steps in a `workflow` using the `add_recipe` and `add_model` functions,\index{tidymodels!add\_recipe}\index{tidymodels!add\_model}
13241324
and finally we will use the `fit` function to run the whole workflow on the `unscaled_cancer` data.
13251325
Note another difference from earlier here: we do not include a formula in the `fit` function. This \index{tidymodels!fit}
13261326
is again because we included the formula in the recipe, so there is no need to respecify it:
@@ -1364,6 +1364,8 @@ The basic idea is to create a grid of synthetic new observations using the `expa
13641364
predict the label of each, and visualize the predictions with a colored scatter having a very high transparency
13651365
(low `alpha` value) and large point radius. See if you can figure out what each line is doing!
13661366

1367+
\pagebreak
1368+
13671369
> **Note:** Understanding this code is not required for the remainder of the
13681370
> textbook. It is included for those readers who would like to use similar
13691371
> visualizations in their own data analyses.

0 commit comments

Comments
 (0)