Creates precision-recall or ROC plots for recommender evaluation results.
Usage
# S4 method for class 'evaluationResults'
plot(x, y,
avg = TRUE, add=FALSE, type= "b", annotate = FALSE, ...)
# S4 method for class 'evaluationResultList'
plot(x, y,
xlim=NULL, ylim=NULL, col = NULL, pch = NULL, lty = 1,
avg = TRUE, type = "b", annotate= 0, legend="bottomright", ...)Arguments
- x
the object to be plotted.
- y
a character string indicating the type of plot (e.g., "ROC" or "prec/rec").
- avg
plot average of runs?
- add
add to a plot?
- type
line type (see
plot).- annotate
annotate N (recommendation list size) to plot.
- ...
further arguments passed on to
plot.- xlim, ylim
plot limits (see
plot).- col
colors (see
plot).- pch
point symbol to use (see
plot).- lty
line type (see
plot)- legend
where to place legend (see
legend).
See also
evaluationResults,
evaluationResultList.
See
evaluate for examples.
Other evaluation:
calcPredictionAccuracy(),
error,
evaluate(),
evaluationResultList-class,
evaluationResults-class,
evaluationScheme(),
evaluationScheme-class