Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 284935

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

1 vote
1 answer
687 views

Can different models have the same accuracy? [closed]

I'm doing binary classification on different models, GLM, Random forest and SVM have the same accuracy, recall, specificity, precision and f1 score, however they all have a different AUC-PR curve. …
bolleke's user avatar
  • 77
1 vote
1 answer
196 views

With two different random seeds for binary classification, I have the exact same result for ...

With a binary classification analysis, I find myself with the exact same accuracy, recall and specificity for both a qda and glm model. When I apply the same random seed to both classification model …
bolleke's user avatar
  • 77
1 vote
0 answers
604 views

Models have high accuracy but very low AUC PR curve

method = "nb", trControl = ctrl) cm <- confusionMatrix(predict(nb, sonar_test), sonar_test$Class) plot(pr.curve(scores.class0 = nb$pred$M[sonar_test$Class == "M"], scores.class1 = nb$pred$R[ … sonar_test$Class == "R"], curve = T)) …
bolleke's user avatar
  • 77
2 votes
0 answers
557 views

How to calculate variable importance for different models? is varImp() the solution?

I'm using caret's train() function for a binary classification outcome with different models (nb, knn, lda, qda, glm, rpart, rf). I'm using varImp() and plots to determine the importance of every fea …
bolleke's user avatar
  • 77
1 vote
1 answer
616 views

Importance value (with varImp from carret package) for one of the two numerical predictors h...

I'm using two numerical predictors to find an outcome, when using varImp (from the carret package) one of the predictors has 100 importance and the other 0. How should I interpret this?
bolleke's user avatar
  • 77
1 vote
0 answers
69 views

Confidence interval crosses 0 but statistical significance at p < 0.05 using robust post hoc...

I have 12 groups so 66 contrasts, though I'm only interested in 6 of them, I'm using the mcppb20() function from Rand Wilcox's WRS package in R. …
bolleke's user avatar
  • 77