summa_plot: Plot predicted versus actual performance

Description Usage Arguments Value Examples

View source: R/plot_summa.R

Description

This is a conveneince function to plot actual vs predicted performances. Running this function only makes sense if the user knows the true labels and have already run the calculate_performance() functions using the actual labels.

Usage

1

Arguments

summa

A summa object created using the calculate_performance() function

Value

A plot that compares actual v.s. predicted performance as well as the output of the majority vote and summa ensemble

Examples

1
2
3
4
data=create_predictions(20,30,0.3,"binary")
summa=summa(data$predictions,"binary")
summa=calculate_performance(summa,data$actual_labels)
summa_plot(summa)

learn-ensemble/R-SUMMA documentation built on Nov. 13, 2019, 12:34 a.m.