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


Publication date: 11/29/2021

K Nearest Neighbors Script-Only Messages

When you launch the K Nearest Neighbors platform via JSL, you can use the following arguments that are available only in JSL:

Use Excluded Rows for Validation( 0|1 )

The following messages for a K Nearest Neighbors object are available only in JSL:

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