Skip to contents

All functions

DeepSuRv
DeepSuRv Neural Network Model (R6 Class)
cf_apply_constraints()
Apply biological constraints to feature values
cf_compare_one()
Compare original and counterfactual survival for one feature
cf_generate_curves()
Generate counterfactual survival curves for multiple scenarios
cf_perturb_multi()
Apply multi-feature relative perturbations
cf_plot()
Plot original vs. counterfactual survival curves
cf_stability()
Assess stability of counterfactual predictions
cf_top_features()
Identify top influential features for an individual prediction
format_dataset_to_df()
Format a DeepSurv Dataset into a Data Frame
get_optimizer_from_str()
Map string to torch optimizer function
load_datasets()
Load HDF5 Datasets into R
make_deepsurv_explainer()
Create a survex explainer object for a trained DeepSuRv model
negative_log_likelihood()
Compute Negative Log-Likelihood
prep_data()
Prepare data for DeepSurv training
prepare_data()
Prepare Dataset for Survival Analysis
standardize_x()
Standardize a Covariate Matrix