r descr_models("rand_forest", "aorsf")

Tuning Parameters

defaults <-
  tibble::tibble(parsnip = c("trees", "min_n", "mtry"),
                 default = c("500L", "5L", "ceiling(sqrt(n_predictors))"))

param <-
  rand_forest() %>%
  set_engine("aorsf") %>%
  set_mode("censored regression") %>%
  make_parameter_list(defaults) %>%
  distinct()

This model has r nrow(param) tuning parameters:

param$item

Additionally, this model has one engine-specific tuning parameter:

Translation from parsnip to the original package (censored regression)

r uses_extension("rand_forest", "aorsf", "censored regression")

library(censored)

rand_forest() %>%
  set_engine("aorsf") %>%
  set_mode("censored regression") %>%
  translate()

Preprocessing requirements


Case weights


Other details

Predictions of survival probability at a time exceeding the maximum observed event time are the predicted survival probability at the maximum observed time in the training data.

References



Try the parsnip package in your browser

Any scripts or data that you put into this service are public.

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.