Perform Leave-one-out CV with Logistic Regression.
Source:R/evaluate.R
LOOAUC_simple_multiple_noplot_one_df.Rd
Perform Leave-one-out CV with Logistic Regression.
Arguments
- df
a
data.frame
of gene expression count data. Required.- targetVec
a binary vector of the response variable. Should be the same number of samples as in
df
. Required.
Value
A list of length 3 with elements
- auc
The AUC from the LOOCV procedure.
- byClass
A vector containing the sensitivity, specificity, positive predictive value, negative predictive value, precision, recall, F1, prevalence, detection rate, detection prevalence and balanced accuracy.
- prob
A vector of the test prediction probabilities.