Description Usage Arguments Value Examples
This function allows you to compute the average of misdiagnoses rate for viral failure and the optimal risk under min-λ rules from K-fold cross-validation.
1 | CV.TGST(Obj, lambda, K = 10)
|
Obj |
An object of class TGST. |
lambda |
A user-specified weight that reflects relative loss for the two types of misdiagnoses, taking value in [0,1]. Loss=λ*I(FN)+(1-λ)*I(FP). |
K |
Number of folds in cross validation. The default is 10. |
Cross-validation results.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.