View source: R/risk_score_func.r
risk_score_training | R Documentation |
calculates the risk scores for all individuals in the training dataset.
risk_score_training( gamma_sol, kernel_mat, event_vec, num_event_times, training_set_size )
gamma_sol |
optimal solution of the SVHM |
kernel_mat |
Gram matrix of the covariates |
num_event_times |
number of event times that occour in the training data set |
vector of risk scores for all training subjects
The calculated risk scores are not the actual risk scores defined by the Risk function but the induce an ordering of the risk scores. For detailed information see reference
Wang, Y., Chen, T., and Zeng, D. Support vector hazards machine: A counting process framework for learning risk scores for censored outcomes. Journal of Machine Learning Research, 17(167):1-37, 2016
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.