cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Nazarkovsky
Level IV

ROC for KNN (Predictive Modeling) in JMP PRo

Dear folks! 

I wonder, there is no option in KNN (K-Nearest Neighbors) for ROC. For instance, other predictive models have this option to display and it can be selected/deselected in "Preferences". 

I would be very thankful for some code/add-in to generate ROC with identification of AUC for any model or for KNN, in particular. It could be useful for all users who deal with the JMP Pro platform for predictive modeling. 

Thanks!

 

Reaching New Frontiers
1 ACCEPTED SOLUTION

Accepted Solutions

Re: ROC for KNN (Predictive Modeling) in JMP PRo

Unfortunately, I do not believe that this is possible. In order to generate an ROC curve, you need to have a model that gives the probabilities of group membership. The KNN approach does not provide probabilities of group membership.

 

Dan Obermiller

View solution in original post

2 REPLIES 2

Re: ROC for KNN (Predictive Modeling) in JMP PRo

Unfortunately, I do not believe that this is possible. In order to generate an ROC curve, you need to have a model that gives the probabilities of group membership. The KNN approach does not provide probabilities of group membership.

 

Dan Obermiller
Nazarkovsky
Level IV

Re: ROC for KNN (Predictive Modeling) in JMP PRo

Thanks! It is a pity.

Reaching New Frontiers

Recommended Articles