Displaying 3 results from an estimated 3 matches for "getroc".
Did you mean:
getloc
2017 Jun 26
3
Jagged ROC curves?
...e 22 data points. Should I be doing something differently?
How can I provide a URL/attachment for my plot? Not sure if I can provide
reproducible code, but here is some pseudocode, let me know if you'd like
more details:
#####
## generate roc and auc values
#####
library(pROC)
library(AUCRF)
getROC <- function(d1train,d1test){
my_model <- AUCRF(formula= status ~ ., data=d1train,
ranking='MDA',ntree=1000,pdel=0.05)
my_opt_model <- my_model$RFopt
my_probs <- predict(my_opt_model, d1test, type = 'prob')
my_roc <- roc(d1test[,resp_col] ~ my_probs[,2])
aucva...
2017 Jun 26
0
Jagged ROC curves?
...gt;
> How can I provide a URL/attachment for my plot? Not sure if I can provide
> reproducible code, but here is some pseudocode, let me know if you'd like
> more details:
>
> #####
> ## generate roc and auc values
> #####
> library(pROC)
> library(AUCRF)
>
> getROC <- function(d1train,d1test){
> my_model <- AUCRF(formula= status ~ ., data=d1train,
> ranking='MDA',ntree=1000,pdel=0.05)
> my_opt_model <- my_model$RFopt
>
> my_probs <- predict(my_opt_model, d1test, type = 'prob')
> my_roc <- roc(d1test[,resp_c...
2017 Jun 26
0
Jagged ROC curves?
...my plot? Not sure if I can provide
> > reproducible code, but here is some pseudocode, let me know if you'd like
> > more details:
> >
> > #####
> > ## generate roc and auc values
> > #####
> > library(pROC)
> > library(AUCRF)
> >
> > getROC <- function(d1train,d1test){
> > my_model <- AUCRF(formula= status ~ ., data=d1train,
> > ranking='MDA',ntree=1000,pdel=0.05)
> > my_opt_model <- my_model$RFopt
> >
> > my_probs <- predict(my_opt_model, d1test, type = 'prob')
> > my...