Source: https://wiki.umontreal.ca/download/attachments/130454719/SAE_Guide_apprentissage_distance.pdf