risk_score_training: Training risk scores

View source: R/risk_score_func.r

risk_score_trainingR Documentation

Training risk scores

Description

calculates the risk scores for all individuals in the training dataset.

Usage

risk_score_training(
  gamma_sol,
  kernel_mat,
  event_vec,
  num_event_times,
  training_set_size
)

Arguments

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

Value

vector of risk scores for all training subjects

Note

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

References

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


herglola/SVHM documentation built on March 24, 2022, 12:44 p.m.