<?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"
	>
<channel>
	<title>Comments on: O&#8217;Reilly Make me an Offer!</title>
	<atom:link href="http://blog.thecapacity.org/2008/04/17/oreilly-make-me-an-offer/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thecapacity.org/2008/04/17/oreilly-make-me-an-offer/</link>
	<description></description>
	<pubDate>Thu, 21 Aug 2008 02:34:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-bleeding</generator>
		<item>
		<title>By: thecapacity : What if stocks were movies?</title>
		<link>http://blog.thecapacity.org/2008/04/17/oreilly-make-me-an-offer/#comment-781</link>
		<dc:creator>thecapacity : What if stocks were movies?</dc:creator>
		<pubDate>Mon, 07 Jul 2008 20:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thecapacity.org/?p=61#comment-781</guid>
		<description>[...] you&#8217;ve seen from my previous posts, I&#8217;ve been playing with python, couchdb and been working my way through the &#8220;Programming Collective Intelligence&#8221; book. However, what I haven&#8217;t been [...]</description>
		<content:encoded><![CDATA[<p>[...] you&#8217;ve seen from my previous posts, I&#8217;ve been playing with python, couchdb and been working my way through the &#8220;Programming Collective Intelligence&#8221; book. However, what I haven&#8217;t been [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thecapacity : My how long it&#8217;s been&#8230;</title>
		<link>http://blog.thecapacity.org/2008/04/17/oreilly-make-me-an-offer/#comment-774</link>
		<dc:creator>thecapacity : My how long it&#8217;s been&#8230;</dc:creator>
		<pubDate>Fri, 30 May 2008 17:20:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thecapacity.org/?p=61#comment-774</guid>
		<description>[...] weeks! Wow, yes it&#8217;s really been that long since I started reading Programming Collective Intelligence and last posted [...]</description>
		<content:encoded><![CDATA[<p>[...] weeks! Wow, yes it&#8217;s really been that long since I started reading Programming Collective Intelligence and last posted [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://blog.thecapacity.org/2008/04/17/oreilly-make-me-an-offer/#comment-772</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Tue, 22 Apr 2008 02:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thecapacity.org/?p=61#comment-772</guid>
		<description>P17 when doing the "getRecommendations()" call with "similarity=sim_distance" you will get slightly different values for the 3 movies then what's listed (because of the previous function errors) but it's a minimal error.</description>
		<content:encoded><![CDATA[<p>P17 when doing the &#8220;getRecommendations()&#8221; call with &#8220;similarity=sim_distance&#8221; you will get slightly different values for the 3 movies then what&#8217;s listed (because of the previous function errors) but it&#8217;s a minimal error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://blog.thecapacity.org/2008/04/17/oreilly-make-me-an-offer/#comment-771</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Tue, 22 Apr 2008 02:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thecapacity.org/?p=61#comment-771</guid>
		<description>p14  -
Not a big but in "Ranking the Critics..." in the code there's no need to reverse the full list;
Here's the code 'as is';

scores.sort()
scores.reverse()
return scores[0:n]

This could simply be; 
scores.sort()
return scores[-1:-(n+1):-1]

The syntax's a little strange but it would save you reversing a big list.

I think you could also probably sort the list then just slice the parts you need off and then just reverse that new list.</description>
		<content:encoded><![CDATA[<p>p14  -<br />
Not a big but in &#8220;Ranking the Critics&#8230;&#8221; in the code there&#8217;s no need to reverse the full list;<br />
Here&#8217;s the code &#8216;as is&#8217;;</p>
<p>scores.sort()<br />
scores.reverse()<br />
return scores[0:n]</p>
<p>This could simply be;<br />
scores.sort()<br />
return scores[-1:-(n+1):-1]</p>
<p>The syntax&#8217;s a little strange but it would save you reversing a big list.</p>
<p>I think you could also probably sort the list then just slice the parts you need off and then just reverse that new list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://blog.thecapacity.org/2008/04/17/oreilly-make-me-an-offer/#comment-770</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Sun, 20 Apr 2008 17:22:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thecapacity.org/?p=61#comment-770</guid>
		<description>As I mentioned I've found it instructive to hand type in the python code for this book. Also I didn't really feel like signing up for Safari (O'Reilly's online book library) but today I discovered that you can get a zip file of all the code!

Thanks to this post
http://blog.kiwitobes.com/?p=44

Here's the direct link
http://kiwitobes.com/PCI_Code.zip</description>
		<content:encoded><![CDATA[<p>As I mentioned I&#8217;ve found it instructive to hand type in the python code for this book. Also I didn&#8217;t really feel like signing up for Safari (O&#8217;Reilly&#8217;s online book library) but today I discovered that you can get a zip file of all the code!</p>
<p>Thanks to this post<br />
<a href="http://blog.kiwitobes.com/?p=44" rel="nofollow">http://blog.kiwitobes.com/?p=44</a></p>
<p>Here&#8217;s the direct link<br />
<a href="http://kiwitobes.com/PCI_Code.zip" rel="nofollow">http://kiwitobes.com/PCI_Code.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://blog.thecapacity.org/2008/04/17/oreilly-make-me-an-offer/#comment-769</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Sat, 19 Apr 2008 23:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thecapacity.org/?p=61#comment-769</guid>
		<description>p14 (3rd paragraph) - "sim_vecror" should be "sim_distance".

More interesting, I finished the two movie recommendations exercises (but not done "Top Matches" yet) and I was really surprised at the variability of the results given by the two methods (Euclidean vs. Pearson );

Jack Matthews and Mick LaSalle =&gt; D(0.286) P(0.211)
Jack Matthews and Claudia Puig =&gt; D(0.320) P(0.029)
Jack Matthews and Lisa Rose =&gt; D(0.341) P(0.747)
Jack Matthews and Toby =&gt; D(0.267) P(0.663)
Jack Matthews and Gene Seymour =&gt; D(0.667) P(0.964)
Jack Matthews and Michael Phillips =&gt; D(0.320) P(0.135)

Mick LaSalle and Jack Matthews =&gt; D(0.286) P(0.211)
Mick LaSalle and Claudia Puig =&gt; D(0.315) P(0.567)
Mick LaSalle and Lisa Rose =&gt; D(0.414) P(0.594)
Mick LaSalle and Toby =&gt; D(0.400) P(0.924)
Mick LaSalle and Gene Seymour =&gt; D(0.278) P(0.412)
Mick LaSalle and Michael Phillips =&gt; D(0.387) P(-0.258)

Claudia Puig and Jack Matthews =&gt; D(0.320) P(0.029)
Claudia Puig and Mick LaSalle =&gt; D(0.315) P(0.567)
Claudia Puig and Lisa Rose =&gt; D(0.387) P(0.567)
Claudia Puig and Toby =&gt; D(0.357) P(0.893)
Claudia Puig and Gene Seymour =&gt; D(0.282) P(0.315)
Claudia Puig and Michael Phillips =&gt; D(0.536) P(1.000)

Lisa Rose and Jack Matthews =&gt; D(0.341) P(0.747)
Lisa Rose and Mick LaSalle =&gt; D(0.414) P(0.594)
Lisa Rose and Claudia Puig =&gt; D(0.387) P(0.567)
Lisa Rose and Toby =&gt; D(0.348) P(0.991)
Lisa Rose and Gene Seymour =&gt; D(0.294) P(0.396)
Lisa Rose and Michael Phillips =&gt; D(0.472) P(0.405)

Toby and Jack Matthews =&gt; D(0.267) P(0.663)
Toby and Mick LaSalle =&gt; D(0.400) P(0.924)
Toby and Claudia Puig =&gt; D(0.357) P(0.893)
Toby and Lisa Rose =&gt; D(0.348) P(0.991)
Toby and Gene Seymour =&gt; D(0.258) P(0.381)
Toby and Michael Phillips =&gt; D(0.387) P(-1.000)

Gene Seymour and Jack Matthews =&gt; D(0.667) P(0.964)
Gene Seymour and Mick LaSalle =&gt; D(0.278) P(0.412)
Gene Seymour and Claudia Puig =&gt; D(0.282) P(0.315)
Gene Seymour and Lisa Rose =&gt; D(0.294) P(0.396)
Gene Seymour and Toby =&gt; D(0.258) P(0.381)
Gene Seymour and Michael Phillips =&gt; D(0.341) P(0.205)

Michael Phillips and Jack Matthews =&gt; D(0.320) P(0.135)
Michael Phillips and Mick LaSalle =&gt; D(0.387) P(-0.258)
Michael Phillips and Claudia Puig =&gt; D(0.536) P(1.000)
Michael Phillips and Lisa Rose =&gt; D(0.472) P(0.405)
Michael Phillips and Toby =&gt; D(0.387) P(-1.000)
Michael Phillips and Gene Seymour =&gt; D(0.341) P(0.205)

I assume some of it could be related to the relatively few data points (sometimes critics only share 2 of 5 movies.

Any other ideas?</description>
		<content:encoded><![CDATA[<p>p14 (3rd paragraph) - &#8220;sim_vecror&#8221; should be &#8220;sim_distance&#8221;.</p>
<p>More interesting, I finished the two movie recommendations exercises (but not done &#8220;Top Matches&#8221; yet) and I was really surprised at the variability of the results given by the two methods (Euclidean vs. Pearson );</p>
<p>Jack Matthews and Mick LaSalle => D(0.286) P(0.211)<br />
Jack Matthews and Claudia Puig => D(0.320) P(0.029)<br />
Jack Matthews and Lisa Rose => D(0.341) P(0.747)<br />
Jack Matthews and Toby => D(0.267) P(0.663)<br />
Jack Matthews and Gene Seymour => D(0.667) P(0.964)<br />
Jack Matthews and Michael Phillips => D(0.320) P(0.135)</p>
<p>Mick LaSalle and Jack Matthews => D(0.286) P(0.211)<br />
Mick LaSalle and Claudia Puig => D(0.315) P(0.567)<br />
Mick LaSalle and Lisa Rose => D(0.414) P(0.594)<br />
Mick LaSalle and Toby => D(0.400) P(0.924)<br />
Mick LaSalle and Gene Seymour => D(0.278) P(0.412)<br />
Mick LaSalle and Michael Phillips => D(0.387) P(-0.258)</p>
<p>Claudia Puig and Jack Matthews => D(0.320) P(0.029)<br />
Claudia Puig and Mick LaSalle => D(0.315) P(0.567)<br />
Claudia Puig and Lisa Rose => D(0.387) P(0.567)<br />
Claudia Puig and Toby => D(0.357) P(0.893)<br />
Claudia Puig and Gene Seymour => D(0.282) P(0.315)<br />
Claudia Puig and Michael Phillips => D(0.536) P(1.000)</p>
<p>Lisa Rose and Jack Matthews => D(0.341) P(0.747)<br />
Lisa Rose and Mick LaSalle => D(0.414) P(0.594)<br />
Lisa Rose and Claudia Puig => D(0.387) P(0.567)<br />
Lisa Rose and Toby => D(0.348) P(0.991)<br />
Lisa Rose and Gene Seymour => D(0.294) P(0.396)<br />
Lisa Rose and Michael Phillips => D(0.472) P(0.405)</p>
<p>Toby and Jack Matthews => D(0.267) P(0.663)<br />
Toby and Mick LaSalle => D(0.400) P(0.924)<br />
Toby and Claudia Puig => D(0.357) P(0.893)<br />
Toby and Lisa Rose => D(0.348) P(0.991)<br />
Toby and Gene Seymour => D(0.258) P(0.381)<br />
Toby and Michael Phillips => D(0.387) P(-1.000)</p>
<p>Gene Seymour and Jack Matthews => D(0.667) P(0.964)<br />
Gene Seymour and Mick LaSalle => D(0.278) P(0.412)<br />
Gene Seymour and Claudia Puig => D(0.282) P(0.315)<br />
Gene Seymour and Lisa Rose => D(0.294) P(0.396)<br />
Gene Seymour and Toby => D(0.258) P(0.381)<br />
Gene Seymour and Michael Phillips => D(0.341) P(0.205)</p>
<p>Michael Phillips and Jack Matthews => D(0.320) P(0.135)<br />
Michael Phillips and Mick LaSalle => D(0.387) P(-0.258)<br />
Michael Phillips and Claudia Puig => D(0.536) P(1.000)<br />
Michael Phillips and Lisa Rose => D(0.472) P(0.405)<br />
Michael Phillips and Toby => D(0.387) P(-1.000)<br />
Michael Phillips and Gene Seymour => D(0.341) P(0.205)</p>
<p>I assume some of it could be related to the relatively few data points (sometimes critics only share 2 of 5 movies.</p>
<p>Any other ideas?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
