DF_ConfPlot_accu {Dforest} | R Documentation |
Draw accuracy curve according to the confidence level of predictions
DF_ConfPlot_accu(Pred_result, Label, bin = 20, plot = T, smooth = F)
Pred_result |
Predictions |
Label |
known label for Test Dataset |
bin |
How many bins occurred in Conf Plot (Default is 20) |
plot |
Draw Plot if True, otherwise output the datamatrix |
smooth |
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