Displaying 20 results from an estimated 2000 matches similar to: "Random Forest AUC"
2009 May 12
1
ROCR: auc and logarithm plot
Hi,
I am quite new to R and I have two questions regarding ROCR.
1. I have tried to understand how to extract area-under-curve value by looking at the ROCR document and googling. Still I am not sure if I am doing the right thing. Here is my code, is "auc1" the auc value?
"
pred1 <- prediction(resp1,label1)
perf1 <- performance(pred1,"tpr","fpr")
plot(
2008 Jun 12
1
About Mcneil Hanley test for a portion of AUC!
Dear all
I am trying to compare the performances of several methods using the AUC0.1
and
not the whole AUC. (meaning I wanted to compare to AUC's whose x axis only
goes to
0.1 not 1)
I came to know about the Mcneil Hanley test from Bernardo Rangel Tura
and I referred to the original paper for the calculation of "r" which is an
argument of the function
cROC. I can only find the
2011 Dec 22
0
randomforest and AUC using 10 fold CV - Plotting results
Here is a snippet to show what i'm trying to do.
library(randomForest)
library(ROCR)
library(caret)
data(iris)
iris <- iris[(iris$Species != "setosa"),]
fit <- randomForest(factor(Species) ~ ., data=iris, ntree=50)
train.predict <- predict(fit,iris,type="prob")[,2]
2006 Mar 20
1
How to compare areas under ROC curves calculated with ROC R package
I might be missing something but I thought that AUC was a measure for
comparing ROC curves, so there is nothing else needed to "compare" them. The
larger AUC is the higher correlation of 2 variables compared. No other
measures or calculations are needed.
Jarek Tuszynski
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On
2006 Mar 15
1
How to compare areas under ROC curves calculated with ROCR package
Dear all,
I try to compare the performances of several parameters to diagnose
lameness in dogs.
I have several ROC curves from the same dataset.
I plotted the ROC curves and calculated AUC with the ROCR package.
I would like to compare the AUC.
I used the following program I found on R-help archives :
From: Bernardo Rangel Tura
Date: Thu 16 Dec 2004 - 07:30:37 EST
2004 Dec 15
3
(no subject)
Dear R-helper,
I would like to compare the AUC of two logistic regression models (same
population). Is it possible with R ?
Thank you
Roman Rouzier
[[alternative HTML version deleted]]
2010 Jan 22
2
Computing Confidence Intervals for AUC in ROCR Package
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?
plot_roc_curve <- function(roc.dat, plt.title) {
#print(str(vowel.ROC))
pred <-
2008 Jul 17
1
Comparing differences in AUC from 2 different models
Hi,
I would like to compare differences in AUC from 2 different models, glm and gam for predicting presence / absence. I know that in theory the model with a higher AUC is better, but what I am interested in is if statistically the increase in AUC from the glm model to the gam model is significant. I also read quite extensive discussions on the list about ROC and AUC but I still didn't find
2005 Sep 28
1
Fast AUC computation
I am doing a simulation with a relatively large data set (20,000
observations) for which I want to calculate the area under the Receiver
Operator Curve (AUC) for many parameter combinations. I am using the ROC
library and the following commands to generate each AUC:
rocobj=rocdemo.sca(truth = ymis, data = model$fitted.values, rule =
dxrule.sca) #generation of observed ROC object
2011 Aug 08
1
Sample size AUC for ROC curves
Hallo!
Does anybody know a way to calculate the sample size for comparing AUC of ROC
curves against 'by chance' with AUC=0.5 (and/or against anothe AUC)?
Thanks!
Karl
2012 Nov 22
3
ROC Curve: negative AUC
Hi all,
does anyone know why the area under the curve (AUC) is negative?
I'm using ROC function with a logistic regression, package Epi.
First time it happens...
Thanks a lot!
Bruno
--
View this message in context: http://r.789695.n4.nabble.com/ROC-Curve-negative-AUC-tp4650469.html
Sent from the R help mailing list archive at Nabble.com.
2012 Dec 19
2
pROC and ROCR give different values for AUC
Packages pROC and ROCR both calculate/approximate the Area Under (Receiver Operator) Curve. However the results are different.
I am computing a new variable as a predictor for a label. The new variable is a (non-linear) function of a set of input values, and I'm checking how different parameter settings contribute to prediction. All my settings are predictive, but some are better.
The AUC i
2005 Sep 22
2
Survey of ROC AUC / wilcoxon test functions
Hi,
I was lately debugging parts of my 'colAUC' function in caTools package, and
in a process looked into other packages for calculating Areas Under ROC
Curves (AUC). To my surprise I found at least 6 other functions:
* wilcox.test
* AUC from ROC package,
* performance from ROCR package,
* auROC from limma package,
* ROC from Epi package,
* roc.area from verification
2009 Oct 28
1
need help explain the routine input parameters for seROC and cROC found in the R archive
Please help.
I found the code in the archive.
The author of this script says: "The first function (seROC) calculate
the standard error of ROC curve, the second function (cROC) compare
ROC curves."
Can some one explain to me what are the na, nn and r parameters which
are used as the input to the following two functions?
Thanks much in advance.
> From: Bernardo Rangel Tura
>
2011 Jan 20
2
auc function
Hi, there.
Suppose I already have sensitivities and specificities. What is the quick R-function to calculate AUC for the ROC plot? There seem to be many R functions to calculate AUC.
Thanks.
Yulei
[[alternative HTML version deleted]]
2011 Mar 13
1
use of ROCR package (ROC curve / AUC value) in a specific case versus integral calculation
Hello,
I would like to use the ROCR package to draw ROC curves and compute AUC
values.
However, in the specific context of my application, the true positive
rates and false positive rates are already provided by some upstream method.
Of course, I can draw a ROC plot with the following command :
plot(x=FPrate, y=TPrate, "o", xlab="false positive rate", ylab="true
2008 Jan 05
1
AUC values from LRM and ROCR
Dear List,
I am trying to assess the prediction accuracy of an ordinal model fit with
LRM in the Design package. I used predict.lrm to predict on an independent
dataset and am now attempting to assess the accuracy of these predictions.
>From what I have read, the AUC is good for this because it is threshold
independent. I obtained the AUC for the fit model output from the c score (c
=
2007 Dec 13
2
Function for AUC?
Hello
Is there an easy way, i.e. a function in a package, to calculate the
area under the curve (AUC) for drug serum levels?
Thanks for any advice
--
Armin Goralczyk, M.D.
--
Universit?tsmedizin G?ttingen
Abteilung Allgemein- und Viszeralchirurgie
Rudolf-Koch-Str. 40
39099 G?ttingen
--
Dept. of General Surgery
University of G?ttingen
G?ttingen, Germany
--
http://www.chirurgie-goettingen.de
2008 Mar 06
2
calculate AUC and plot ROC in R
Hi, there:
Could someone tell me a simple function of plot ROC curve and calculate
AUC in R? My setting is very simple, a column of the true binary
response and another column of predicted probabilities.
Thanks!
Yulei
[[alternative HTML version deleted]]
2011 Mar 16
2
calculating AUCs for each of the 1000 boot strap samples
Hallo,
I modified a code given by Andrija, a contributor in the list to achieve two objectives:
create 1000 samples from a list of 207 samples with each of the samples cointaining 20 good and 20 bad. THis i have achievedcalcuate AUC each of the 1000 samples, this i get an error.
Please see the code below and assist me.
> data<-data.frame(id=1:(165+42),main_samp$SCORE,