xMLdotplot: Function to visualise machine learning results using dot plot

Description Usage Arguments Value Note See Also Examples

View source: R/xMLdotplot.r

Description

xMLdotplot is supposed to visualise machine learning results using dot plot. It returns an object of class "ggplot".

Usage

1
2
3
4
5
6
7
8
9
xMLdotplot(
sTarget,
displayBy = c("importance2fold", "roc2fold", "fmax2fold",
"importance_accurancy",
"importance_gini", "ROC", "Fmax"),
ML.included = TRUE,
font.family = "sans",
signature = TRUE
)

Arguments

sTarget

an object of class "sTarget"

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)

ML.included

logical to indicate whether to use ML results

font.family

the font family for texts

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

Value

an object of class "ggplot"

Note

none

See Also

xMLdotplot

Examples

1
2
3
4
5
6
RData.location <- "http://galahad.well.ox.ac.uk/bigdata"
## Not run: 
gp <- xMLdotplot(sTarget, displayBy="importance_accurancy")
gp

## End(Not run)

Pi documentation built on Nov. 26, 2020, 2:01 a.m.