listlearners: List the survival learners

View source: R/list_functions.R

listlearnersR Documentation

List the survival learners

Description

The ids accepted by the model argument of fit(), evaluate(), compare(), tune() and estimate().

Usage

listlearners(has_tune = FALSE)

Arguments

has_tune

Logical (default FALSE). If TRUE, return only learners with a built-in tuning grid, so that tune() works without a grid.

Value

A data frame with columns learner (the id) and tunable (whether a built-in tuning grid exists). A learner with tunable = FALSE (for example "fastgbm") can still be tuned by passing a grid to tune().

Examples

listlearners()
listlearners(has_tune = TRUE)

survalis documentation built on Nov. 14, 2026, 5:10 p.m.