View source: R/SurvivalWrappers.R
| SurvivalDART | R Documentation |
Fits an Accelerated Failure Time (AFT) model using the Dirichlet splitting prior (DART), which induces structural sparsity through a Beta–Dirichlet hierarchy on splitting probabilities.
SurvivalDART(
time,
status,
X_train,
X_test = NULL,
timescale = "time",
number_of_trees = 200,
a_dirichlet = 0.5,
b_dirichlet = 1,
rho_dirichlet = NULL,
k = 2,
N_post = 1000,
N_burn = 1000,
verbose = TRUE,
...
)
time |
Outcome vector of right-censored (non-negative) survival times. |
status |
Event indicator (1 = event, 0 = censored). |
X_train |
Design matrix for training data. |
X_test |
Optional test matrix. If NULL, predictions are computed at
the column means of |
timescale |
Either |
number_of_trees |
Number of trees in the ensemble. Default is 200. |
a_dirichlet, b_dirichlet |
Beta hyperparameters controlling sparsity in the Dirichlet splitting rule. |
rho_dirichlet |
Expected number of active predictors. If NULL,
defaults to the number of covariates in |
k |
Scaling constant used to calibrate the prior variance of the step heights. |
N_post |
Number of posterior samples to store. |
N_burn |
Number of burn-in iterations. |
verbose |
Logical; print sampling progress. |
... |
Additional arguments passed to |
This function provides a survival-specific wrapper for DART under an AFT formulation for right-censored outcomes.
Structural regularisation is induced through a Dirichlet prior on splitting probabilities, encouraging sparse feature usage in high-dimensional settings.
Users requiring alternative shrinkage priors on the leaf parameters
(e.g., Horseshoe or half-Cauchy priors) should use
ShrinkageTrees directly.
A fitted AFT-DART model object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.