Publication date: 08/13/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 (