Skip to contents

This function produces a performance evaluation plot for a Renoir object.

Usage

# S4 method for Renoir,missing
plot(x, y, ..., key, measure, set, interactive = FALSE)

Arguments

x

an object of class Renoir

y

unused parameter

...

optional graphical parameters to plot_evaluation (if interactive = FALSE) or plotly_evaluation (if interactive = TRUE)

key

a character vector indicating how to group elements

measure

the performance metric to plot

set

the data set to consider (train, test or full)

interactive

logical, whether to draw an interactive plot

Value

An object of class ggplot (if interactive = FALSE) or plotly (if interactive = TRUE)

Details

A plot showing the mean performance and the related 95\ across different training-set sizes is produced.

Author

Alessandro Barberis