Table 8.
Rule | Antecedents | Consequent | ||||||
---|---|---|---|---|---|---|---|---|
: | IF | head_shape = round | AND | body_shape = round | AND | is_smiling = no | ||
AND | holding = sword | AND | jacket_color = red | AND | has_tie = yes | THEN | class = yes | |
: | IF | head_shape = octagon | AND | body_shape = round | AND | is_smiling = no | ||
AND | holding = sword | AND | jacket_color = red | AND | has_tie = no | THEN | class = yes | |
: | IF | head_shape = round | AND | body_shape = round | AND | is_smiling = no | ||
AND | holding = sword | AND | jacket_color = yellow | AND | has_tie = yes | THEN | class = yes | |
: | IF | head_shape = round | AND | body_shape = round | AND | is_smiling = no | ||
AND | holding = sword | AND | jacket_color = red | AND | has_tie = no | THEN | class = yes | |
: | IF | head_shape = square | AND | body_shape = square | AND | is_smiling = yes | ||
AND | holding = flag | AND | jacket_color = yellow | AND | has_tie = no | THEN | class = no | |
: | IF | head_shape = octagon | AND | body_shape = round | AND | is_smiling = yes | ||
AND | holding = balloon | AND | jacket_color = blue | AND | has_tie = no | THEN | class = no | |
: | IF | head_shape = octagon | AND | body_shape = octagon | AND | is_smiling = yes | ||
AND | holding = sword | AND | jacket_color = green | AND | has_tie = no | THEN | class = no |