remove extra 0 compared to the declared instruction on line 42 of generating 20 random test-training splits
This commit is contained in:
parent
d101d7e62a
commit
c12a384ece
|
@ -42,7 +42,7 @@ partition(mtcars, 0.1)
|
|||
We'll generate 20 random test-training splits, and then create lists of test-training datasets:
|
||||
|
||||
```{r}
|
||||
partitions <- rerun(200, partition(mtcars, 0.25))
|
||||
partitions <- rerun(20, partition(mtcars, 0.25))
|
||||
|
||||
tst <- partitions %>% map(~mtcars[.x, , drop = FALSE])
|
||||
trn <- partitions %>% map(~mtcars[!.x, , drop = FALSE])
|
||||
|
|
Loading…
Reference in New Issue