<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Binary classification evaluation in R via ROCR</title>
	<atom:link href="https://brenocon.com/blog/2009/04/binary-classification-evaluation-in-r-via-rocr/feed/" rel="self" type="application/rss+xml" />
	<link>https://brenocon.com/blog/2009/04/binary-classification-evaluation-in-r-via-rocr/</link>
	<description>cognition, language, social systems; statistics, visualization, computation</description>
	<lastBuildDate>Tue, 25 Nov 2025 13:11:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Brendan O'Connor</title>
		<link>https://brenocon.com/blog/2009/04/binary-classification-evaluation-in-r-via-rocr/#comment-105972</link>
		<dc:creator>Brendan O'Connor</dc:creator>
		<pubDate>Tue, 20 Dec 2011 23:15:13 +0000</pubDate>
		<guid isPermaLink="false">http://anyall.org/blog/?p=429#comment-105972</guid>
		<description><![CDATA[Rob: oops, sorry I forgot.  Yup that&#039;s it.]]></description>
		<content:encoded><![CDATA[<p>Rob: oops, sorry I forgot.  Yup that&#8217;s it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>https://brenocon.com/blog/2009/04/binary-classification-evaluation-in-r-via-rocr/#comment-105971</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 20 Dec 2011 23:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://anyall.org/blog/?p=429#comment-105971</guid>
		<description><![CDATA[Hi Brendan,

a handy utility. However, have you left out a &quot;last&quot; function i.e.

&gt; binary_eval(two.out.of.3.marker[C!=&quot;A&quot;],Test2)
AUC = 0.807
Predictions seem to be real-valued scores, so using naive cutoff 0:
Error in binary_eval(two.out.of.3.marker[C != &quot;A&quot;], Test2) : 
  could not find function &quot;last&quot;

last&lt;-function(x){   sort(x)[length(x)]  }
seems to fix it and gives sensible  plots so I am assuming that is all that last does

Bye
Rob]]></description>
		<content:encoded><![CDATA[<p>Hi Brendan,</p>
<p>a handy utility. However, have you left out a &#8220;last&#8221; function i.e.</p>
<p>&gt; binary_eval(two.out.of.3.marker[C!="A"],Test2)<br />
AUC = 0.807<br />
Predictions seem to be real-valued scores, so using naive cutoff 0:<br />
Error in binary_eval(two.out.of.3.marker[C != "A"], Test2) :<br />
  could not find function &#8220;last&#8221;</p>
<p>last&lt;-function(x){   sort(x)[length(x)]  }<br />
seems to fix it and gives sensible  plots so I am assuming that is all that last does</p>
<p>Bye<br />
Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Text Classification for Sentiment Analysis &#8211; Precision and Recall &#171;streamhacker.com</title>
		<link>https://brenocon.com/blog/2009/04/binary-classification-evaluation-in-r-via-rocr/#comment-27000</link>
		<dc:creator>Text Classification for Sentiment Analysis &#8211; Precision and Recall &#171;streamhacker.com</dc:creator>
		<pubDate>Mon, 17 May 2010 14:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://anyall.org/blog/?p=429#comment-27000</guid>
		<description><![CDATA[[...] updates on this topic.Powered by WP Greet Box WordPress PluginAccuracy is not the only metric for evaluating the effectiveness of a classifier. Two other useful metrics are precision and recall. These two [...]]]></description>
		<content:encoded><![CDATA[<p>[...] updates on this topic.Powered by WP Greet Box WordPress PluginAccuracy is not the only metric for evaluating the effectiveness of a classifier. Two other useful metrics are precision and recall. These two [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Carpenter</title>
		<link>https://brenocon.com/blog/2009/04/binary-classification-evaluation-in-r-via-rocr/#comment-5349</link>
		<dc:creator>Bob Carpenter</dc:creator>
		<pubDate>Tue, 21 Apr 2009 17:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://anyall.org/blog/?p=429#comment-5349</guid>
		<description><![CDATA[I&#039;m loving R for this kind of stuff because of the graphics.  It&#039;s so much easier to understand that way than in a table of numbers. 

I&#039;d suggest (a) putting recall on the horizontal axis in both of the bottom graphs, (b) making the graphs square rather than rectangular, and (c) fixing axes to the range [0,1]. 

In a summary plot like this, I&#039;d also like to see number of positive and negative examples in the gold standard, the name of the data set, name of classifier and any params that can be indicated.   I always find myself fishing for that in papers. You might also indicate graphs are uninterpolated, though that&#039;s obvious from looking at PR.

There&#039;s no reason you couldn&#039;t overlay multiple evals here in different colors, too.    

I&#039;d love to see posterior intervals in addition to single numbers in the plots.  Wouldn&#039;t a simple bootstrap work and be simple to implement in R?   Of course, that&#039;d get hopelessly messy and prone to misinterpretation with multiple evals on the same plot.

Given our focus on high recall, we&#039;re often zooming in on the 95-100% recall section of the graph, but presumably that&#039;s all settable as in the rest of R&#039;s plotting functions.

Thanks for the LingPipe pointer -- there&#039;s also extensive discussion of classifier evaluation in our javadoc for ConfusionMatrix, PrecisionRecallEvaluation, and ScoredPrecisionRecallEvaluation.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m loving R for this kind of stuff because of the graphics.  It&#8217;s so much easier to understand that way than in a table of numbers. </p>
<p>I&#8217;d suggest (a) putting recall on the horizontal axis in both of the bottom graphs, (b) making the graphs square rather than rectangular, and (c) fixing axes to the range [0,1]. </p>
<p>In a summary plot like this, I&#8217;d also like to see number of positive and negative examples in the gold standard, the name of the data set, name of classifier and any params that can be indicated.   I always find myself fishing for that in papers. You might also indicate graphs are uninterpolated, though that&#8217;s obvious from looking at PR.</p>
<p>There&#8217;s no reason you couldn&#8217;t overlay multiple evals here in different colors, too.    </p>
<p>I&#8217;d love to see posterior intervals in addition to single numbers in the plots.  Wouldn&#8217;t a simple bootstrap work and be simple to implement in R?   Of course, that&#8217;d get hopelessly messy and prone to misinterpretation with multiple evals on the same plot.</p>
<p>Given our focus on high recall, we&#8217;re often zooming in on the 95-100% recall section of the graph, but presumably that&#8217;s all settable as in the rest of R&#8217;s plotting functions.</p>
<p>Thanks for the LingPipe pointer &#8212; there&#8217;s also extensive discussion of classifier evaluation in our javadoc for ConfusionMatrix, PrecisionRecallEvaluation, and ScoredPrecisionRecallEvaluation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will Dwinnell</title>
		<link>https://brenocon.com/blog/2009/04/binary-classification-evaluation-in-r-via-rocr/#comment-4578</link>
		<dc:creator>Will Dwinnell</dc:creator>
		<pubDate>Sat, 04 Apr 2009 12:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://anyall.org/blog/?p=429#comment-4578</guid>
		<description><![CDATA[This is an excellent overview of classifier evaluation.  I wrote a posting, specifically on AUC, at:

&lt;a href=&quot;http://matlabdatamining.blogspot.com/2007/06/roc-curves-and-auc.html&quot; title=&quot;ROC Curves and AUC&quot; rel=&quot;nofollow&quot;&gt;ROC Curves and AUC&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>This is an excellent overview of classifier evaluation.  I wrote a posting, specifically on AUC, at:</p>
<p><a href="http://matlabdatamining.blogspot.com/2007/06/roc-curves-and-auc.html" title="ROC Curves and AUC" rel="nofollow">ROC Curves and AUC</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.017 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2026-04-06 04:29:07 -->
