Processing math: 100%

Nearest neighbors for each test point selected by running the algorithm in section 2.2 on IBM’s simulator

t = 1

t = 2

t = 3

Test\Training

x00

x01

x10

x11

x00

x01

x10

x11

x00

x01

x10

x11

[0, 0, 0, 0]

1

1

0

0

1

1

0

0

1

1

1

0

[0, 0, 0, 1]

1

1

0

0

1

1

0

0

1

1

0

1

[0, 0, 1, 0]

1

0

0

0

1

1

1

0

1

1

1

1

[0, 0, 1, 1]

0

1

0

0

1

1

0

1

1

1

1

1

[0, 1, 0, 0]

0

1

0

0

1

1

1

0

1

1

1

1

[0, 1, 0, 1]

0

0

1

0

1

1

0

1

1

1

1

1

[0, 1, 1, 0]

0

0

0

1

1

0

1

1

1

1

1

1