Save (Nearest Neighbor Analysis)

Names of Saved Variables. Automatic name generation ensures that you keep all of your work. Custom names allow you to discard/replace results from previous runs without first deleting the saved variables in the Data Editor.

Variables to Save

  • Predicted value or category. This saves the predicted value for a scale target or the predicted category for a categorical target.
  • Predicted probability. This saves the predicted probabilities for a categorical target. A separate variable is saved for each of the first n categories, where n is specified in the Maximum categories to save for categorical target control.
  • Training/Holdout partition variables. If cases are randomly assigned to the training and holdout samples on the Partitions tab, this saves the value of the partition (training or holdout) to which the case was assigned.
  • Cross-validation fold variable. If cases are randomly assigned to cross-validation folds on the Partitions tab, this saves the value of the fold to which the case was assigned.