Description Usage Arguments Value Examples
This function calculates actual performance of a given set of learners using a user-defined gold standard. If problem type is binary this calculates balanced accuracy, if it is of ranks then the performance measure is AUC.
1 | calculate_performance(summa, true_val)
|
summa |
A summa object created by the summa() function |
true_val |
A numeric vector of samples corresponding to true labels with 1 representing positive class and -1 representing negative class. |
An object of class summa
1 2 3 | load(system.file("extdata", "example_rank.Rdata", package = "UnsupervisedEnsemble"))
summa=summa(rank_matrix,"rank")
summa=calculate_performance(summa,actual_labels,,rank)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.