[R] ROCR Issue: Averaging Across Multiple Classifier Runs in ROC Curve

2009-11-25 Thread Na'im R. Tyson
Dear R-philes, I am having some trouble averaging across multiple runs of a classifier in an ROC Curve. I am using the ROCR package and the plot() method. First, I initialize a list with two elements where each element is a list of predictions and labels: vowel.ROC <- list(predictions=

[R] Exporting Contingency Tables with xtable

2009-12-08 Thread Na&#x27;im R. Tyson
Dear R-philes: I am having an issue with exporting contingency tables with xtable(). I set up a contingency and convert it to a matrix for passing to xtable() as shown below. v.cont.table <- table(v_lda$class, grps, dnn=c("predicted", "observed")) v.cont.mat <- as.matrix(v.cont.tab

Re: [R] Exporting Contingency Tables with xtable

2009-12-09 Thread Na&#x27;im R. Tyson
to R for sake of example: library(Hmisc) latex(table(state.division, state.region), rowlabel = "X", collabel = "Y", file = "") On Wed, Dec 9, 2009 at 12:04 AM, Na'im R. Tyson wrote: Dear R-philes: I am having an issue with exporting contingency tables w

[R] Computing Confidence Intervals for AUC in ROCR Package

2010-01-22 Thread Na&#x27;im R. Tyson
Dear R-philes, I am plotting ROC curves for several cross-validation runs of a classifier (using the function below). In addition to the average AUC, I am interested in obtaining a confidence interval for the average AUC. Is there a straightforward way to do this via the ROCR package?

Re: [R] Computing Confidence Intervals for AUC in ROCR Package

2010-01-22 Thread Na&#x27;im R. Tyson
ote: On Jan 22, 2010, at 3:53 AM, Na'im R. Tyson wrote: Dear R-philes, I am plotting ROC curves for several cross-validation runs of a classifier (using the function below). In addition to the average AUC, I am interested in obtaining a confidence interval for the average AUC. Is the

[R] Displaying Counts of Unused Factors in Contingency Tables with table()

2010-07-28 Thread Na&#x27;im R. Tyson
R-philes, I have a question about displaying counts of unused factors using the table() function. I have two vectors with character data in them: local.labels("ah", "ah", "ah~") local.preds("ah", "ah", "ah") If I use the table function as shown below, I get an error because the number of