Draw accuracy curve according to the confidence level of predictions
DF_ConfPlot(Pred_result, Label, bin = 20, plot = T, smooth = F)Predictions
known label for Test Dataset
How many bins occurred in Conf Plot (Default is 20)
Draw Plot if True, otherwise output the datamatrix
if TRUE, Fit the performance curve with smooth function (by ggplot2)
ACC_Conf: return data Matrix ("ConfidenceLevel", "Accuracy", "Matched Samples") for confidence plot (no plot)
ConfPlot: Draw Confidence Plot if True, need install ggplot2