Skip to content

Commit

Permalink
Merge pull request #1 from MMohey/MMohey-patch-1
Browse files Browse the repository at this point in the history
fix minor typo
  • Loading branch information
MMohey committed Apr 8, 2017
2 parents a8a0b91 + d05a083 commit 6f33680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookdown/04-Basic.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ We will use these data illustrate functionality on this (and other) pages.

## Basic Parameter Tuning

By default, simple bootstrap resampling is used for line 3 in the algorithm above. Others are availible, such as repeated *K*-fold cross-validation, leave-one-out etc. The function `trainControl` can be used to specifiy the type of resampling:
By default, simple bootstrap resampling is used for line 3 in the algorithm above. Others are available, such as repeated *K*-fold cross-validation, leave-one-out etc. The function `trainControl` can be used to specifiy the type of resampling:

```{r train_control,tidy=FALSE}
fitControl <- trainControl(## 10-fold CV
Expand Down

0 comments on commit 6f33680

Please sign in to comment.