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