Thresholding | R Documentation |
This function provides the thresholding (correction) given a vector. It calls the function top
or top_thresh
in the same package, and the output is the vector after correction with the optimal threshold parameter.
Thresholding(X, y, coef, TOP)
X |
Design matrix of the logistic model considered. |
y |
Binary response |
coef |
Candidate vector to be corrected |
TOP |
The grill of thresholding |
opt_top |
The optimal threshold |
auc |
the log-likelihood for each grill of thresholding |
Wencan Zhu, Celine Levy-Leduc, Nils Ternes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.