Consider the following six training examples, where each example has three attributes: color, shape and size. Color has three possible values: red, green and blue. Shape has two possible values: square and round. Size has two possible values: big and small.
Example | Color | Shape | Size | Class |
---|---|---|---|---|
1 | red | square | big | + |
2 | blue | square | big | + |
3 | red | round | small | - |
4 | green | square | small | - |
5 | red | round | big | + |
6 | green | square | big | - |