Last updated: 2023-01-24

Checks: 2 0

Knit directory: multiclass_AUC/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/

Untracked files:
    Untracked:  .Rprofile
    Untracked:  .gitattributes
    Untracked:  .gitignore
    Untracked:  LICENSE.CC-BY
    Untracked:  LICENSE.MIT
    Untracked:  README.html
    Untracked:  README.md
    Untracked:  _workflowr.yml
    Untracked:  analysis/
    Untracked:  code/
    Untracked:  data/
    Untracked:  multiclass_AUC.Rproj
    Untracked:  output/
    Untracked:  renv.lock
    Untracked:  renv/

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


There are no past versions. Publish this analysis with wflow_publish() to start tracking its development.


This is an open, shareable, reproducible, computational research project on using multiclass AUC as a performance metric for multiclass classification.

It is the work of Ross W. Gayler

It is a common data science task to classify inputs by assigning each input to one of a fixed number of categories. Given the existence of a set of inputs with known categories we want to apply the classification model and assess its performance by comparing the assigned categories to the known categories.

Accuracy is a commonly used performance metric. However, accuracy assumes that all misclassifications are equally costly and that the base rates of the categories are fixed. Signal Detection Theory (SDT) explicitly addresses these assumptions and Area Under the Curve (AUC) is a common SDT metric of discriminability. AUC is most commonly dealt with in the context of binary classification. AUC for multiclass classification is much less commonly encountered in practice and there is no commonly accepted agreement on how best to apply it

The objective of this project is to apply multiclass AUC approaches to some trial datasets to get a better understanding of how to apply it and the advantages/disadvantages.

The point of making it an open, shareable, reproducible project is that anyone should be able to copy it, reproduce the analyses, and try out modifications.