This version of the Help is no longer updated. See JMP.com/help for the latest version.

.
Publication date: 07/30/2020

K Nearest Neighbors

The following JSL message constructs a script to create a prediction formula column and returns it to the log.

knn_object << (Response[number] << Get Prediction Formula)

The following JSL message returns the value of the best K neighbors.

knn_object << Response[number] << Get Best K
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).