View source: R/subsample_accs.R
Compute average test accuracies ATA_k.
1 | sub_accuracies(pmat, i_chosen, subKs = 1:ncol(pmat))
|
pmat |
Matrix of margins m_y(x) for test instances, rows are observations and columns are labels. |
i_chosen |
True labels. |
subKs |
The number of classes k for which we want to calculate ATA_k. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.