The loss may vary between different decisions. In medicine false negatives (a patient with a disease is classified as healthy) are often more costly than false positives (a healthy patient is classified as having a disease). However, if we assume that all errors are equally costly we get the loss function