Checking Vehicle Type
Examining the feature space is instructive, but adding Vehicle type [type] as a target allows you to get a better idea of how well the prototypes fit into their car/truck categories. Additionally, adding a target allows the procedure to automatically select the "best" number of nearest neighbors, and to weight the distances by variable importance.
- Recall the Nearest Neighbor Analysis dialog and click the Variables tab.
- Select Vehicle type [type] as the target.
- Click the Neighbors tab.
- Select Automatically select k and type 9 as the maximum.
- Select Weight features by importance when computing distances.
- Click the Partitions tab.
Note that the Cross-Validation Folds group is now enabled. In order to reproduce the following results exactly, set the seed for the random number generator.
- Select Set seed for Mersenne Twister.
- Type 20040509 as the value of the seed.
- Click OK.