Cross Validated Asked by Kliocontar on January 5, 2022
I am trying to create a ROC plot based on response variable with three classes. I believe that is possible based on the answer to this question Here. In the answer provide in this question though, they are getting the pred using NaiveBayes to get the model, but I’ve already created my model and predictions. Does anyone know how I can apply the code to create a ROC for my model and my predictions?
Just to clarify:
I see in the code that he does Naive Bayes for each class. I created my model different for the three classes using rpart() then pruning based on the calculation for the best CP. I’m worried that I have create a model for three of the classes using a naive bayes. It’s not really going to give me an ROC chart based on the model that I created previously. I guess my question is would the ROC created in the way I linked actually reflect the model I created previously.
If it won’t reflect model, which I believe that it won’t, is there way for me to do a similar thing done in the question I linked using the model I created in rpart? I hope this clarifies my question a bit more.
0 Asked on December 11, 2021 by isobel-m
1 Asked on December 10, 2021 by code_diy
3 Asked on December 8, 2021 by skoestlmeier
2 Asked on December 8, 2021 by unistudent87
3 Asked on December 8, 2021 by rockthestar
1 Asked on December 8, 2021
1 Asked on December 8, 2021 by kev8484
32 Asked on December 8, 2021
0 Asked on December 8, 2021
0 Asked on December 8, 2021 by likao
0 Asked on December 8, 2021
0 Asked on December 8, 2021 by thetagang
0 Asked on December 8, 2021
categorical data generalized linear model multiple regression regression
0 Asked on December 8, 2021
2 Asked on December 8, 2021 by sadisha
1 Asked on December 8, 2021
machine learning multiple regression regression standardization
0 Asked on December 8, 2021
machine learning neural networks q learning references reinforcement learning
1 Asked on December 8, 2021 by user292136
1 Asked on December 6, 2021 by hulk
Get help from others!
Recent Answers
Recent Questions
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP