Bagged k-Nearest Neighbors Survival Prediction
Bagged k-nearest neighbors survival prediction
Get optimal number of neighbors
Compute prediction for all samples.
Predict survival probabilities with bagged k-nearest neighbors surviva...
Get Predictions
Get Predictions
Function to extract survival probability predictions from bnnSurvivalE...
Generic print method for bnnSurvivalEnsemble
Generic print method for bnnSurvivalResult
Generic show method for bnnSurvivalEnsemble
Generic show method for bnnSurvivalResult
Get timepoints
Get Timepoints
Implements a bootstrap aggregated (bagged) version of the k-nearest neighbors survival probability prediction method (Lowsky et al. 2013). In addition to the bootstrapping of training samples, the features can be subsampled in each baselearner to break the correlation between them. The Rcpp package is used to speed up the computation.