cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
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