Source: https://web.stanford.edu/class/cs279/lectures/lecture2-annot.pdf