Skip to content

Commit b1fc411

Browse files
committed
removing warning message from output, fixing spacing
1 parent 6a4d199 commit b1fc411

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

classification1.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,8 @@ loaded, and the standardized version of that same data. But first, we need to
846846
standardize the `unscaled_cancer` data set with `tidymodels`.
847847

848848
In the `tidymodels` framework, all data preprocessing happens
849-
using a `recipe` from [the `recipes` R package](https://recipes.tidymodels.org/) [@recipes]
850-
Here we will initialize a recipe \index{recipe} \index{tidymodels!recipe|see{recipe}} for
849+
using a `recipe` from [the `recipes` R package](https://recipes.tidymodels.org/) [@recipes].
850+
Here we will initialize a recipe\index{recipe} \index{tidymodels!recipe|see{recipe}} for
851851
the `unscaled_cancer` data above, specifying
852852
that the `Class` variable is the target, and all other variables are predictors:
853853

@@ -1296,7 +1296,7 @@ The `tidymodels` package collection also provides the `workflow`, a way to chain
12961296
To illustrate the whole pipeline, let's start from scratch with the `unscaled_wdbc.csv` data.
12971297
First we will load the data, create a model, and specify a recipe for how the data should be preprocessed:
12981298

1299-
```{r 05-workflow}
1299+
```{r 05-workflow, message = FALSE, warning = FALSE}
13001300
# load the unscaled cancer data
13011301
# and make sure the target Class variable is a factor
13021302
unscaled_cancer <- read_csv("data/unscaled_wdbc.csv") |>

0 commit comments

Comments
 (0)