Consider the decision tree that predicts Mary's dietary preferences described during the lecture and in the handouts: CHOLESTEROL / \ low / \ high / \ MARY EATS SODIUM F1,F2,F3,F4 / \ high/ \ low / \ MARY DOES NOT EAT TASTE F7, F8 / \ good/ \ bad / \ MARY EATS MARY DOES NOT EAT F5 F6 ---------------------------------------------------------------------- The following is the tree format we'll use to printout that tree to a file: CHOLESTEROL=low : MARY EATS=yes CHOLESTEROL=high | SODIUM=high : MARY EATS=no | SODIUM=low | | TASTE=good : MARY EATS=yes | | TASTE=bad : MARY EATS=no ---------------------------------------------------------------------- The following is the rule format that we'll use to printout the rules derived from the decision tree to a file: if CHOLESTEROL=low then MARY EATS=yes if CHOLESTEROL=high and SODIUM=high then MARY EATS=no if CHOLESTEROL=high and SODIUM=low and TASTE=good then MARY EATS=yes if CHOLESTEROL=high and SODIUM=low and TASTE=bad then MARY EATS=no ----------------------------------------------------------------------