Mathematical Formulation Of Decision Trees