xMLdotplot | R Documentation |
xMLdotplot
is supposed to visualise machine learning results
using dot plot. It returns an object of class "ggplot".
xMLdotplot(pTarget, displayBy = c("importance2fold", "roc2fold", "fmax2fold", "importance_accurancy", "importance_gini", "ROC", "Fmax"), signature = TRUE)
pTarget |
an object of class "pTarget" |
displayBy |
which statistics will be used for displaying. It can be either statistics across folds ("importance2fold" for predictor importance, "roc2fold" for AUC in ROC, "fmax2fold" for F-max in Precision-Recall curve) or overall statistics ("importance_accurancy" for predictor importance measured by accuracy decrease, "importance_gini" for predictor importance measured by Gini decrease, "ROC" for AUC in ROC, "Fmax" for F-max in Precision-Recall curve) |
signature |
logical to indicate whether the signature is assigned to the plot caption. By default, it sets TRUE showing which function is used to draw this graph |
an object of class "ggplot"
none
xMLrandomforest
## Not run: # Load the library library(Pi) ## End(Not run) RData.location <- "http://galahad.well.ox.ac.uk/bigdata_dev" ## Not run: gp <- xMLdotplot(pTarget, displayBy="importance_accurancy") gp ## End(Not run)