Example

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.

ExampleColorShapeSizeClass
1redsquarebig+
2bluesquarebig+
3redroundsmall-
4greensquaresmall-
5redroundbig+
6greensquarebig-