Predicting Sales
Now use Sales in thousands [sales] as the target, to get an idea of what kind of sales figures you might expect once these prototypes are established models.
- Recall the Nearest Neighbor Analysis dialog and click the Variables tab.
Figure 1. Variables tab - Deselect Vehicle type [type] and select Sales in thousands [sales] as the target.
- Click the Features tab.
- Select Perform feature selection.
- In the Stopping Criterion group, type 5 as the number of features to select.
- Click the Partitions tab.
When feature selection is requested in addition to k selection, cross-validation is no longer used because of performance concerns. Instead, a set of features are selected for each value of k, and then the value of k (and attendant feature set) that minimizes the error in predicting the target is chosen.
This also means there is no need to set the seed for the random number generator.
- Deselect Set seed for Mersenne Twister.
- Click the Save tab.
- Select Predicted value or category.
- Click OK.