Source: https://www.lri.fr/~antoine/Courses/Master-ISI/Tr-evaluation-M-ISIx4.pdf