From c12a384ecea1880f3c9a5b6b152a8c906bd19f01 Mon Sep 17 00:00:00 2001 From: Devin Pastoor Date: Sat, 28 May 2016 13:15:10 +0200 Subject: [PATCH] remove extra 0 compared to the declared instruction on line 42 of generating 20 random test-training splits --- model-assess.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model-assess.Rmd b/model-assess.Rmd index 3ef230e..dd24e62 100644 --- a/model-assess.Rmd +++ b/model-assess.Rmd @@ -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])