search for: aucval

Displaying 4 results from an estimated 4 matches for "aucval".

Did you mean: acutal
2017 Jun 26
3
Jagged ROC curves?
...etROC <- 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 (d1test[, resp_col] 0) < 19 cases (d1test[, resp_co...
2010 Feb 25
3
variable substitution in for loops
Friends I can't quite find a direct answer to this question from the lists, so here goes: I have several dataframes, 200+ columns 2000+ rows. I wish to script some operations to perform on some of the variables (columns) in the data frames not knowing what the column number is, hence have to refer by name. I have variable names in a text file "varlist". So, something like this:
2017 Jun 26
0
Jagged ROC curves?
...test){ > 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]...
2017 Jun 26
0
Jagged ROC curves?
...CRF(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...