Skip to content

Commit

Permalink
use more trees for quantile regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwright committed Nov 8, 2023
1 parent 3cc3b53 commit 53e6455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_quantreg.R
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down

0 comments on commit 53e6455

Please sign in to comment.