Source: http://helios.mi.parisdescartes.fr/~lomn/Cours/DM/Material/ComplementsCours/decisiontree.pdf