For the latest version of JMP Help, visit JMP.com/help.


Predictive and Specialized Modeling > K Nearest Neighbors > K Nearest Neighbors Platform Options
Publication date: 04/21/2023

Image shown hereK Nearest Neighbors Platform Options

The K Nearest Neighbors red triangle menu contains the following options:

Save Near Neighbor Rows

Saves K columns to the data table. The columns are named RowNear <k>. For a given row, the kth column contains the row number of its kth nearest neighbor.

Caution: The row numbers in the columns RowNear <k> do not update when you reorder the rows in your data table. If you reorder the rows, the values in those columns are incorrect.

Save Near Neighbor Distances

Saves K columns to the data table. The columns are named Distance <k>. For a given row, the kth column contains the distance to that row’s kth nearest neighbor.

See Local Data Filters in JMP Reports, Redo Menus in JMP Reports, Save Platform Preferences, and Save Script Menus in JMP Reports in Using JMP for more information about the following options:

Local Data Filter

Shows or hides the local data filter that enables you to filter the data used in a specific report.

Redo

Contains options that enable you to repeat or relaunch the analysis. In platforms that support the feature, the Automatic Recalc option immediately reflects the changes that you make to the data table in the corresponding report window.

Platform Preferences

Contains options that enable you to view the current platform preferences or update the platform preferences to match the settings in the current JMP report.

Save Script

Contains options that enable you to save a script that reproduces the report to several destinations.

Save By-Group Script

Contains options that enable you to save a script that reproduces the platform report for all levels of a By variable to several destinations. Available only when a By variable is specified in the launch window.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).