Dear all,
the commented source code for the ROCR package
(http://cran.r-project.org/web/packages/ROCR) is now available on
github -- feel free to fork, add improvements, and contribute back!
https://github.com/ipa-tys/ROCR
Kind regards,
Tobias
___
Message-ID: 4aba1079.6d16.00d...@gw.dec.state.ny.us
Content-Type: text/plain; charset=US-ASCII
Dear R-help and ROCR developers (Tobias Sing and Oliver Sander) -
I think my first question is generic and could apply to many methods,
which is why I'm directing this initially to R-help as well
to wrap it all up.
There is also a Docbook-based version that uses
R extensions to Docbook for authoring structured
documents.
D.
Tobias Sing wrote:
Dear all,
has someone implemented functionality for writing reports from R in
Office Open XML format (*), similar to what odfWeave does
a file through R).
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: Duncan Temple Lang [mailto:dun...@wald.ucdavis.edu]
Sent: Friday, September 18, 2009 11:00 AM
To: Greg Snow
Cc: Tobias
Is the probability of the true label the best prediction to feed to
the ROCR package, or is it better to use the decision.value
Since AFAIK they are related by a monotonous transformation, both
approaches should lead to the same ROC curve, shouldn't they? (not
tested)
On Tue, Aug 4, 2009 at
Waverley,
use @ (instead of $) to extract the slots from the performance object
(it's S4 class system).
HTH,
Tobias
On Sat, Jul 25, 2009 at 8:20 AM, Waverleywaverley.paloa...@gmail.com wrote:
I use ROCR to plot multiple runs' performance. Using the sample code
as example:
# plot ROC
Waverley, see help('performance-class') for a description of the slots.
Your AUCs will be in p...@y.values, which itself is a list (one list
element per run).
Thus, you can use functions like unlist or s/lapply to access them, e.g.
mean(unlist(p...@y.values))
Kind regards,
Tobias
On Sat, Jul
Waverley,
if you want to modify components of the ROCR plot, you need to direct
the parameters to the component functions by prefixing them with the
name of that component function. In your case, you should add
boxplot.outline=FALSE as follows:
plot(perf, avg= vertical, spread.estimate=boxplot,
Michael,
a lift chart for evaluating binary scoring classifiers, as I
understand it, plots...
lift score: P(Yhat = + | Y = +)/P(Yhat = +)
against
rate of rate of positive predictions: P(Yhat = +).
...across the continuum of possible cutoffs. If you want to do this,
here is how you would do this
Dear all,
has someone implemented functionality for writing reports from R in
Office Open XML format (*), similar to what odfWeave does for the ODF
format of OpenOffice? It would be great to have a kind of
ooxmlWeave at least for those of us who are forced to work in an
MS ecosystem.
(*)
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( perf1,
, the default
one, instead of red 2.
--Tim
--- On Tue, 5/12/09, Tobias Sing tobias.s...@gmail.com wrote:
From: Tobias Sing tobias.s...@gmail.com
Subject: Re: [R] ROCR: auc and logarithm plot
To: timlee...@yahoo.com, r-help@r-project.org
Date: Tuesday, May 12, 2009, 5:54 AM
1. I have tried
To have several performance curves on a single plot, use the
add=TRUE option, e.g. as follows:
plot(perf1)
plot(perf2, add=TRUE, col='red')
Please read the help to ?plot.performance. It also tells you how you
can adjust all graphical parameters for the individual curves.
This slide deck contains
Regina,
to get a simple ROC curve, use the following sequence of commands:
pred - prediction(predictions, labels)
perf - performance(pred, tpr, fpr)
plot(perf)
In the first line, 'predictions' are the raw predictions (usually
numerical) of your classifier, and labels (as you correctly guessed)
Waverley,
you can also use p...@y.values to access the slot (see
help(performance-class) for a description of the slots).
You might also want have a look at the code for demo(ROCR) and at this
slide deck:
http://rocr.bioinf.mpi-sb.mpg.de/ROCR_Talk_Tobias_Sing.ppt
HTH,
Tobias
On Sat, Feb 7,
Hi Stacey,
ROCR uses S4 classes. The elements are accessed using @ instead of $.
You can find an example on slide 12 of the following slide deck:
http://rocr.bioinf.mpi-sb.mpg.de/ROCR_Talk_Tobias_Sing.ppt
Also have a look at the R code that appears when you type demo(ROCR) in R
which contains
Dear all,
Max, first of all, many thanks for providing the odfWeave package.
My problem: Whenever I have multiple plots in one single chunk of my
ODF file, only the last plot gets shown. The problem can be reproduced
with this toy example (to be used in an ODF file together with
odfWeave -- I'm
, then you need to
break that into three separate plots.
Sarah
On Mon, Apr 14, 2008 at 2:20 PM, Tobias Sing [EMAIL PROTECTED] wrote:
Dear all,
Max, first of all, many thanks for providing the odfWeave package.
My problem: Whenever I have multiple plots in one single chunk
The are some papers on the topic (google for roc surfaces), but no R
packages for multi-class ROC analysis.
I personally have some doubts about the practical value of these
approaches in the case of more than two classes, but others may
disagree.
Kind regards,
Tobias
On Thu, Feb 21, 2008 at
On Feb 17, 2008 2:49 PM, Udo König [EMAIL PROTECTED] wrote:
[...]
Greg:
To the odfWeave package: in [2] I found the sentence The package is currently
limited to creating text documents using OpenOffice. So it doesn´t seem work
with MS-Word?
Udo,
I think odfWeave is exactly what you need
Hadley,
On Feb 4, 2008 5:03 PM, hadley wickham [EMAIL PROTECTED] wrote:
[...]
Before Christmas I started working on a solution for this -
http://crantastic.org - a site for searching, reviewing and tagging R
packages. Unfortunately I've run out of steam lately (and the lack of
a 64-bit
PROTECTED] wrote:
Dear R-helper,
I am working with ROCR of Tobias Sing et. al. to compare the performances of
logistic and nnet models on a binary response.
I had the performance plots, but I have problem finding out other
performance statistics (eg. MSE/ASE, AUC). Any help on this?
Thanks
22 matches
Mail list logo