search for: my_roc

Displaying 3 results from an estimated 3 matches for "my_roc".

Did you mean: my_row
2017 Jun 26
3
Jagged ROC curves?
...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]) aucval <- round(as.numeric(my_roc$auc),4) return(my_roc) } roc_1 <- getROC(dat1,dat1test) plot.roc(roc_1,col="brown3") > roc_1 Call: roc.formula(formula = d1test[, resp_col] ~ ibd_probs[, 2]) Data: ibd_probs[, 2] in 3 controls (...
2017 Jun 26
0
Jagged ROC curves?
...ibrary(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]) > aucval <- round(as.numeric(my_roc$auc),4) > return(my_roc) > } > > > roc_1 <- getROC(dat1,dat1test) > plot.roc(roc_1,col="brown3") > > >> roc_1 > > Call: > roc.formula(formula = d1test[, re...
2017 Jun 26
0
Jagged ROC curves?
...OC <- 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]) > > aucval <- round(as.numeric(my_roc$auc),4) > > return(my_roc) > > } > > > > > > roc_1 <- getROC(dat1,dat1test) > > plot.roc(roc_1,col="brown3") > > > > > >> roc_1 > >...