Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 05-data-spending.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ ames_val_split <- initial_validation_split(ames, prop = c(0.6, 0.2))
ames_val_split
```

Printing the split now shows the size of the training set (`r format(nrow(training(ames_val_split)), big.mark = ",")`), validation set (`r format(nrow(validation(ames_val_split)), big.mark = ",")`), and test set ((`r format(nrow(testing(ames_val_split)), big.mark = ",")`).
Printing the split now shows the size of the training set (`r format(nrow(training(ames_val_split)), big.mark = ",")`), validation set (`r format(nrow(validation(ames_val_split)), big.mark = ",")`), and test set (`r format(nrow(testing(ames_val_split)), big.mark = ",")`).

To get the training, validation, and testing data, the same syntax is used:

Expand Down