# NOTES

- https://arxiv.org/abs/2102.11582

- The authors of this paper don't say much about setting the OOD threshold. The poster at ICML has a code snippet whihch
  said that they have to consider it OOD based on some threshold. There was still no information about how this
  threshold was set.

- For OOD detection, they do something like an energy based model and just logsumexp over the GMM logits to get an
  overall value. This is the value which they use for the binary AUROC calculation in the paper.
  https://github.com/omegafragger/DDU/blob/main/evaluate.py#L212

- It seems that the value that is input to the roc_auc_score function is the logsumexp over the logits. This seems a
  little bit odd but it must be interpreted as the value that we are giving to the sigmoid function for binary
  classification of ID/OOD:
  https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html#sklearn.linear_model.LogisticRegression.decision_function
