Displaying 20 results from an estimated 10000 matches similar to: "generate ROC curve using randomForest package"
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
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 Oct 31
4
how to compute a roc curve
Hi,
I'm trying to set up a prediction software, now i testing the performance
of my method, so i need to calculate a ROC curve, specially auc, cut-off,
sens and spec, i just looking at ROCH package, but it's a mass for me, i'm
not a math guy and I'm getting lost
Could any of you recommend me an easy-to-use package to do this task? i just
have a list of positive/negative samples
2011 Apr 13
1
area under roc curve
Dear all,
I want to measure the goodness of prediction of my linear model. That's why
I was thinking about the area under roc curve.
I'm trying the following, but I don't know how to avoid the error. Any help
would be appreciated.
library(ROCR)
model.lm <- lm(log(outcome)~log(v1)+log(v2)+factor1)
pred<-predict(model.lm)
pred<-prediction(as.numeric(pred),
2011 Apr 27
2
ROCR for combination of markers
Dear list
I have 5 markers that can be used to detect an infection in combination. Could you please advise me how to use functions in ROCR/ other package to produce the ROC curve for a combination of markers?
I have used the following to get ROC statistics for each marker.
pred <- prediction(y$marker1, y$infectn)
perf <-performance(pred,"tpr","fpr")
2007 Jul 26
5
ROC curve in R
Hi,
I need to build ROC curve in R, can you please provide data steps / code
or guide me through it.
Thanks and Regards
Rithesh M Mohan
[[alternative HTML version deleted]]
2011 Feb 21
3
ROC from R-SVM?
*Hi,
*Does anyone know how can I show an *ROC curve for R-SVM*? I understand in
R-SVM we are not optimizing over SVM cost parameter. Any example ROC for
R-SVM code or guidance can be really useful.
Thanks, Angel.
[[alternative HTML version deleted]]
2012 Jul 13
1
ROC curves with ROCR
Hi,
I don't really understand how ROCR works. Here's another example with a
randomforest model: I have the training dataset(bank_training) and testing
dataset(bank_testing) and I ran a randomForest as below:
bankrf<-randomForest(y~., bank_training, mtry=4, ntree=2,
keep.forest=TRUE,importance=TRUE)
bankrf.pred<-predict(bankrf, bank_testing)
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 <-
2009 Jul 25
4
ROCR package question
I use ROCR to plot multiple runs' performance. Using the sample code
as example:
# plot ROC curves for several cross-validation runs (dotted
# in grey), overlaid by the vertical average curve and boxplots
# showing the vertical spread around the average.
data(ROCR.xval)
pred <- prediction(ROCR.xval$predictions, ROCR.xval$labels)
perf <- performance(pred,"tpr","fpr")
2005 Jan 11
1
Standard error for the area under a smoothed ROC curve?
Hello,
I am making some use of ROC curve analysis.
I find much help on the mailing list, and I have used the Area Under the
Curve (AUC) functions from the ROC function in the bioconductor project...
http://www.bioconductor.org/repository/release1.5/package/Source/
ROC_1.0.13.tar.gz
However, I read here...
http://www.medcalc.be/manual/mpage06-13b.php
"The 95% confidence interval for
2009 Oct 22
5
How to calculate the area under the curve
Hi all,
I would like to calculate the area under the ROC curve for my predictive
model. I have managed to plot points giving me the ROC curve. However, I do
not know how to get the value of the area under.
Does anybody know of a function that would give the result I want using an
array of specificity and an array of sensitivity as input?
Thanks,
Olivier
--
View this message in context:
2012 Jan 30
3
ROC curve
Hello all,
I am very new to R and i am facing two problems. First i didn't succeed changing the konsole language in english even after trying the line command set language='en'.
I would like to plot ROC curves. I have a serie of 10 threshold tests that i do for 10 patients. The prediction for the patients is always the same but the status can change given to the considered threshold.
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(
2010 Apr 30
0
ROC curve in randomForest
require(randomForest)
rf.pred<-predict(fit, valid, type="prob")
> rf.pred[1:20, ]
0 1
16 0.0000 1.0000
23 0.3158 0.6842
43 0.3030 0.6970
52 0.0886 0.9114
55 0.1216 0.8784
75 0.0920 0.9080
82 0.4332 0.5668
120 0.2302 0.7698
128 0.1336 0.8664
147 0.4272 0.5728
148 0.0490 0.9510
153 0.0556 0.9444
161 0.0760 0.9240
162 0.4564 0.5436
172 0.5148 0.4852
176 0.1730
2017 Jun 26
3
Jagged ROC curves?
Hi,
I was trying to draw some ROC curves (prediction of case/control status),
but seem to be getting a somewhat jagged plot. Can I do something that
would 'smooth' it somewhat? Most roc curves seem to have many incremental
changes (in x and y directions), but my plot only has 4 or 5 steps even
though there are 22 data points. Should I be doing something differently?
How can I provide a
2010 Oct 22
2
Random Forest AUC
Guys,
I used Random Forest with a couple of data sets I had to predict for binary
response. In all the cases, the AUC of the training set is coming to be 1.
Is this always the case with random forests? Can someone please clarify
this?
I have given a simple example, first using logistic regression and then
using random forests to explain the problem. AUC of the random forest is
coming out to be
2007 Jul 30
1
help with ROC curve
Hi
I'm new to stats and R, so can you please help me or guide me building
ROC curve in an elaborate way with codes
I loaded ROCR package, but I'm not sure how to use it.
Requirement
To build ROC curve using only PSA(variable) alone of the original cohort
against the ROC of the Model of the original cohort.
It would be really great if you could help me with this.
Thanks
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]]