| Table 2. A matrix of predicted class membership of seed lot fractions in the test set (n = 40 for each seed lot fraction) by four-class PLS-DA and OPLS-DA (values in parenthesis) models developed using different NIR spectral regions. | ||||||||||||
| A) Full NIR region (780–2500 nm) | ||||||||||||
| Seed lot fractions | 1 | 2 | 3 | 4 | No class | 1 & 2 | 1 & 3 | 1 & 4 | 2 & 3 | 2 & 4 | 3 & 4 | %Correct |
| Empty (1) | 16(15) | 12(11) | 4(4) | 0(0) | 5(7) | 1(1) | 2(2) | 0(0) | 0(0) | 0(0) | 0(0) | 40(38) |
| Insect-attacked (2) | 3(2) | 31(31) | 0(0) | 0(0) | 4(4) | 2(3) | 0(0) | 0(0) | 0(0) | 0(0) | 0(0) | 78(78) |
| Shriveled (3) | 7(5) | 0(0) | 21(26) | 0(0) | 2(3) | 0(0) | 10(6) | 0(0) | 0(0) | 0(0) | 0(0) | 53(65) |
| Filled-viable (4) | 0(1) | 0(0) | 0(0) | 38(38) | 2(1) | 0(0) | 0(0) | 0(0) | 0(0) | 0(0) | 0(0) | 95(95) |
| B) Shorter NIR region (780–1100 nm) | ||||||||||||
| Seed lot fractions | 1 | 2 | 3 | 4 | No class | 1 & 2 | 1 & 3 | 1 & 4 | 2 & 3 | 2 & 4 | 3 & 4 | %Correct |
| Empty (1) | 14(16) | 11(11) | 3(3) | 0(0) | 11(10) | 1(0) | 0(0) | 0(0) | 0(0) | 0(0) | 0(0) | 35(40) |
| Insect-attacked (2) | 2(2) | 33(33) | 0(0) | 0(0) | 3(3) | 2(2) | 0(0) | 0(0) | 0(0) | 0(0) | 0(0) | 83(83) |
| Shriveled (3) | 4(5) | 0(0) | 28(26) | 0(0) | 4(6) | 0(0) | 4(3) | 0(0) | 0(0) | 0(0) | 0(0) | 70(65) |
| Filled-viable (4) | 1(1) | 0(0) | 0(0) | 39(39) | 0(0) | 0(0) | 0(0) | 0(0) | 0(0) | 0(0) | 0(0) | 98(98) |
| C) Longer NIR region (1100–2500 nm) | ||||||||||||
| Seed lot fractions | 1 | 2 | 3 | 4 | No class | 1 & 2 | 1 & 3 | 1 & 4 | 2 & 3 | 2 & 4 | 3 & 4 | %Correct |
| Empty (1) | 18(19) | 11(12) | 2(1) | 0(0) | 7(7) | 0(0) | 2(1) | 0(0) | 0(0) | 0(0) | 0(0) | 45(48) |
| Insect-attacked (2) | 2(0) | 33(31) | 0(1) | 0(0) | 3(6) | 2(2) | 0(0) | 0(0) | 0(0) | 0(0) | 0(0) | 83(78) |
| Shriveled (3) | 10(16) | 0(0) | 22(14) | 0(0) | 2(8) | 0(0) | 6(2) | 0(0) | 0(0) | 0(0) | 0(0) | 55(35) |
| Filled-viable (4) | 1(0) | 0(0) | 0(0) | 39(39) | 0(0) | 0(0) | 0(0) | 0(1) | 0(0) | 0(0) | 0(0) | 98(98) |