From 53e6455d49d6e57a4481af952e447613aff4060d Mon Sep 17 00:00:00 2001 From: Marvin Wright Date: Wed, 8 Nov 2023 08:12:14 +0100 Subject: [PATCH] use more trees for quantile regression test --- tests/testthat/test_quantreg.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test_quantreg.R b/tests/testthat/test_quantreg.R index b2f6ffab..343c234c 100644 --- a/tests/testthat/test_quantreg.R +++ b/tests/testthat/test_quantreg.R @@ -2,7 +2,7 @@ library(ranger) context("ranger_quantreg") rf.quant <- ranger(mpg ~ ., mtcars[1:26, ], quantreg = TRUE, - keep.inbag = TRUE, num.trees = 50) + keep.inbag = TRUE, num.trees = 500) pred.quant <- predict(rf.quant, mtcars[27:32, ], type = "quantiles") test_that("Quantile prediction is of correct size", {