1. Home
  2. K Nearest Neighbours Store Options

K Nearest Neighbours Store Options

This a dialog allow you to save results for the K Nearest Neighbours menu. After selecting the appropriate boxes, you need to type the names for the identifiers of the data structures into the corresponding In: fields.

Save

The available save options for are as follows:

Similarity Symmetric matrix The symmetric matrix of similarities between observations. This may be very large.
Predictions Factor or variate The predicted values for the observations from the rest of the observation using the optimal combination of options. The output type will be the same as the Data to predict structure.
Cross-validation error Scalar The minimum cross-validation error for the optimal combination of options. If the Data to predict is a factor, this is a mean squared error. If is a factor, it is the percentage of observations for which the predictions and observed values do not match.
Confusion matrix Matrix The cross tabulation of the observations by the true and predicted groups as a percentage of the true groups for the optimal combination of options.
Optimal options Pointer A pointer to 3 scalars giving the optimal combination of Minimum similarity Minimum neighbours and Maximum neighbours respectively.

Display in spreadsheet

Select this to display the results in a new spreadsheet window.

Action Icons

Clear Clear all fields and list boxes.
Help Open the Help topic for this dialog.

See also

Updated on February 14, 2023

Was this article helpful?