<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>tagShadow &#8211; MentatJack</title>
	<atom:link href="https://mentatjack.com/tag/tagshadow/feed/" rel="self" type="application/rss+xml" />
	<link>https://mentatjack.com</link>
	<description>sff book reviews and subversive ontology</description>
	<lastBuildDate>Sat, 17 May 2014 19:20:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mentatjack.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s0.wp.com/i/buttonw-com.png</url>
		<title>tagShadow &#8211; MentatJack</title>
		<link>https://mentatjack.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://mentatjack.com/osd.xml" title="MentatJack" />
	<atom:link rel='hub' href='https://mentatjack.com/?pushpress=hub'/>
	<item>
		<title>Stuff &#8211; How I Met Your Mother 2.16</title>
		<link>https://mentatjack.com/2014/05/17/stuff-how-i-met-your-mother-2-16/</link>
					<comments>https://mentatjack.com/2014/05/17/stuff-how-i-met-your-mother-2-16/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Sat, 17 May 2014 19:20:38 +0000</pubDate>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Fringe]]></category>
		<category><![CDATA[How I Met Your Mother]]></category>
		<category><![CDATA[tagShadow]]></category>
		<category><![CDATA[The Shield]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=3706</guid>

					<description><![CDATA[The 2 story lines in Stuff involve clearing out the detritus of previous relationships and the trials of supporting the creative endeavors of our friends. This post is about the former. The picture I have of myself and my high school girlfriend was taken on the top of one of the World Trade towers. The [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The 2 story lines in <a href="http://www.amazon.com/gp/product/B00IIWO9X6/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B00IIWO9X6&amp;linkCode=as2&amp;tag=mentatjack-20&amp;linkId=7OYBMPPLNFMKUGIW">Stuff</a> involve clearing out the detritus of previous relationships and the trials of supporting the creative endeavors of our friends. This post is about the former.</p>
<p>The picture I have of myself and my high school girlfriend was taken on the top of one of the World Trade towers. The picture I have of my college girlfriend was taken at my graduation. She&#8217;s wearing sunglasses and standing with J. Scattered around my apartment are pictures of my family, including some from my wedding. I think I&#8217;d like to put a wedding picture and the first 2 pictures in a frame together. I hope anyone who loves me in the future will love me in part because of what each of those relationships cultivated in me.</p>
<p>I&#8217;ve been thinking about pulling together a website based on the idea that TV should inspire reading. It would basically be a ton of reading recommendations based on television shows and specific episodes. That idea has me thinking more about what I&#8217;m watching. I&#8217;m not sure what I&#8217;d recommend based on this episode of HIMYM.</p>
<p>The <a href="http://www.amazon.com/gp/product/B008M7HD3K/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B008M7HD3K&amp;linkCode=as2&amp;tag=mentatjack-20&amp;linkId=2YM7NCKPCSBLSTB2">season finale of Fringe</a> is another story. Seeing Leonard Nimoy in an office in one of the World Trade towers was probably many a person&#8217;s first glimpse at the idea of multiple dimensions. I&#8217;ve got the start of a great recommendation list for books and stories about <a href="http://tagshadow.com/pca.php?tagName=multiple%20dimensions">multiple dimensions</a> at TagShadow.</p>
<p>So that&#8217;s what I&#8217;m watching right now: Fringe and How I Met Your Mother. Also <a href="http://www.amazon.com/gp/product/B00ADQCBEY/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B00ADQCBEY&amp;linkCode=as2&amp;tag=mentatjack-20&amp;linkId=QZI3T2MTERY6SILA">The Shield</a>, but I have no idea what I&#8217;d recommend someone read related to Los Angeles gangs and corrupt cops.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2014/05/17/stuff-how-i-met-your-mother-2-16/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>I continue to read</title>
		<link>https://mentatjack.com/2013/08/14/i-continue-to-read/</link>
					<comments>https://mentatjack.com/2013/08/14/i-continue-to-read/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Thu, 15 Aug 2013 03:06:21 +0000</pubDate>
				<category><![CDATA[List]]></category>
		<category><![CDATA[Gary K. Wolfe]]></category>
		<category><![CDATA[Gemma Files]]></category>
		<category><![CDATA[goodreads]]></category>
		<category><![CDATA[Ken Macleod]]></category>
		<category><![CDATA[reading]]></category>
		<category><![CDATA[short fiction]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=3545</guid>

					<description><![CDATA[What I&#8217;ve been doing while not posting here. I&#8217;m 15 books into my 20 book goal for the year. I may just have to raise that goal up a few notches. I&#8217;ve started quite a few reviews for this blog, but I seem to have lost all confidence in my ability to collect my thoughts&#8230; [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>What I&#8217;ve been doing while not posting here.</p>
<ul>
<li>I&#8217;m 15 books into my <a href="https://www.goodreads.com/user_challenges/678406">20 book goal for the year</a>.  I may just have to raise that goal up a few notches.</li>
<li>I&#8217;ve started quite a few reviews for this blog, but I seem to have lost all confidence in my ability to collect my thoughts&#8230;</li>
<li>thus I&#8217;ve been reading about <a href="https://www.goodreads.com/review/list/2290119-steven-klotz?shelf=literary-analysis">literary analysis</a>.  We&#8217;ll see if that helps me gather my thoughts.</li>
<li>I started a <a href="http://mentatjack.tumblr.com/">tumblr</a> to track the short fiction I read. See my reviews of <a href="http://mentatjack.tumblr.com/post/57264378051/the-emperors-old-bones-by-gemma-files">The Emperor&#8217;s Old Bones</a> by Gemma Files and <a href="http://mentatjack.tumblr.com/post/51468179579/the-best-science-fiction-of-the-year-three-by-ken">The Best Science Fiction of the Year Three</a> by Ken Macleod</li>
<li>I continue development on the next iteration of <a href="http://tagshadow.com">TagShadow</a>, although data entry has stalled. I really need to bring some other people onto this project&#8230;</a></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2013/08/14/i-continue-to-read/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>The Year&#8217;s Best Science Fiction and The Finite Canvas</title>
		<link>https://mentatjack.com/2013/05/15/the-years-best-science-fiction-and-the-finite-canvas/</link>
					<comments>https://mentatjack.com/2013/05/15/the-years-best-science-fiction-and-the-finite-canvas/#comments</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Thu, 16 May 2013 05:53:39 +0000</pubDate>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[anthology]]></category>
		<category><![CDATA[Brit Mandelo]]></category>
		<category><![CDATA[novelette]]></category>
		<category><![CDATA[tagShadow]]></category>
		<category><![CDATA[Tor.com]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=3497</guid>

					<description><![CDATA[I was adding The Year&#8217;s Best Science Fiction: Thirtieth Annual Collection to TagShadow and got sidetracked by one of the stories that&#8217;s available to read online. The Finite Canvas by Brit Mandelo is an intense story that revolves around a conversation between two women. They tell each other stories and are drawn to each other [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I was adding <a href="http://tagshadow.com/work/The-Year-s-Best-Science-Fiction--Thirtieth-Annual-Collection/5151">The Year&#8217;s Best Science Fiction: Thirtieth Annual Collection</a> to TagShadow and got sidetracked by one of the stories that&#8217;s available to read online.</p>
<p>The <a href="http://www.tor.com/stories/2012/12/the-finite-canvas">Finite Canvas</a> by Brit Mandelo is an intense story that revolves around a conversation between two women.  They tell each other stories and are drawn to each other by a need they share.  It&#8217;s way more bloody and awesome than that sounds and I highly recommend it.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2013/05/15/the-years-best-science-fiction-and-the-finite-canvas/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			<georss:point>34.237369 -118.531722</georss:point>
		<geo:lat>34.237369</geo:lat>
		<geo:long>-118.531722</geo:long>
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>Header Image &#8220;Illusion&#8221;</title>
		<link>https://mentatjack.com/2009/09/30/header-image-illusion/</link>
					<comments>https://mentatjack.com/2009/09/30/header-image-illusion/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Thu, 01 Oct 2009 02:07:01 +0000</pubDate>
				<category><![CDATA[meta]]></category>
		<category><![CDATA[bbpress]]></category>
		<category><![CDATA[novica]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[sessarego]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=1432</guid>

					<description><![CDATA[I&#8217;ve updated the header image, with a section of Illusion by Sessarego. Be sure to follow those links for a full image of the painting and other beautiful paintings by the artist. Post frequency has dropped dramatically here, but I&#8217;ve made an TON of progress on TagShadow. I decided to use bbPress for my forum [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve updated the header image, with a section of <a href="http://paintings.novica.com/abstract-paintings/orange-or-yellow/illusion-%282009%29/165705/">Illusion</a> by <a href="http://www.novica.com/artistdetail/index.cfm?faid=6343">Sessarego</a>.  Be sure to follow those links for a full image of the painting and other beautiful paintings by the artist.  Post frequency has dropped dramatically here, but I&#8217;ve made an TON of progress on <a href="http://TagShadow.com">TagShadow</a>.  I decided to use <a href="http://bbpress.org">bbPress</a> for my <a href="http://TagShadow.com/forum">forum</a> and I&#8217;m pleased with the results.  It would please me greatly for you to sign up (I&#8217;ve enabled <a href="http://openid.net/">openId</a>, so that should be painless) and in general spread the word.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/09/30/header-image-illusion/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>TagShadow: 100 tags, 500 books and 5 visualized components.</title>
		<link>https://mentatjack.com/2009/09/16/tagshadow-100-tags-500-books-and-5-visualized-components/</link>
					<comments>https://mentatjack.com/2009/09/16/tagshadow-100-tags-500-books-and-5-visualized-components/#comments</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Wed, 16 Sep 2009 07:23:13 +0000</pubDate>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[PCA]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=1412</guid>

					<description><![CDATA[This iteration has 2 improvements over the last version. The biggest is that I ran this on 100 tags instead of just 10. That in and of itself creates some clearer groupings. The second improvement is even more exciting. I decided to use the color of the dots to convey some meaning. The first and [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://tagshadow.com/amazon/pca3.html">This iteration</a> has 2 improvements over the <a href="pca.html">last version</a>.  The biggest is that I ran this on 100 tags instead of just 10.  That in and of itself creates some clearer groupings.  The second improvement is even more exciting.</p>
<p>I decided to use the color of the dots to convey some meaning. The first and second principle components are mapped respectively to the x and y axis, just like before.  Now I&#8217;m also mapping the 3rd, 4th and 5th principle componets to Red, Green and Blue, respectively. Hopefully this makes exploring groupings a bit clearer.</p>
<p>My next feature, since it&#8217;s been requested by almost everyone I&#8217;ve shown this to, will be a mechanism to know which dots correspond to which tags.  I have a pretty good idea how I&#8217;m going to go about this.  Even when that feature is available I highly encourage users to just explore.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/09/16/tagshadow-100-tags-500-books-and-5-visualized-components/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>Updates: TagShadow and RIP</title>
		<link>https://mentatjack.com/2009/09/14/updates-tagshadow-and-rip/</link>
					<comments>https://mentatjack.com/2009/09/14/updates-tagshadow-and-rip/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Mon, 14 Sep 2009 07:12:02 +0000</pubDate>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[RIP]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=1400</guid>

					<description><![CDATA[I made significant progress with TagShadow over the weekend. Even if it&#8217;s not clear exactly what I&#8217;m up to, you can see progress of some sort in this series of screenshots. My latest plot has 500 products and is a projection of the data from 10 different tags. Also I wrote for a few hours [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://tagshadow.com/amazon/pca.html"><img loading="lazy" data-attachment-id="1402" data-permalink="https://mentatjack.com/2009/09/14/updates-tagshadow-and-rip/pca1/" data-orig-file="https://mentatjack.files.wordpress.com/2009/09/pca11.jpg" data-orig-size="694,589" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="pca1" data-image-description="" data-medium-file="https://mentatjack.files.wordpress.com/2009/09/pca11.jpg?w=300" data-large-file="https://mentatjack.files.wordpress.com/2009/09/pca11.jpg?w=497" src="https://mentatjack.files.wordpress.com/2009/09/pca11.jpg?w=497&#038;h=421" alt="pca1" title="pca1" width="497" height="421" class="alignright size-full wp-image-1402" srcset="https://mentatjack.files.wordpress.com/2009/09/pca11.jpg?w=497&amp;h=421 497w, https://mentatjack.files.wordpress.com/2009/09/pca11.jpg?w=150&amp;h=127 150w, https://mentatjack.files.wordpress.com/2009/09/pca11.jpg?w=300&amp;h=255 300w, https://mentatjack.files.wordpress.com/2009/09/pca11.jpg 694w" sizes="(max-width: 497px) 100vw, 497px" /></a></p>
<p>I made significant progress with TagShadow over the weekend.  Even if it&#8217;s not clear exactly what I&#8217;m up to, you can see progress of some sort in this <a href="http://twitpic.com/gre2r">series of screenshots</a>.  My <a href="http://tagshadow.com/amazon/pca.html">latest plot</a> has 500 products and is a projection of the data from 10 different tags.</p>
<p>Also I wrote for a few hours on Saturday.</p>
<p>Somehow I found time to edit another one of these:</p>
<iframe class='youtube-player' width='497' height='280' src='https://www.youtube.com/embed/lt6j3npp_iU?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en&#038;autohide=2&#038;wmode=transparent' allowfullscreen='true' style='border:0;' sandbox='allow-scripts allow-same-origin allow-popups allow-presentation'></iframe>
<p>My favorite part about that one is my bookmark.  And I pimp my <a href="https://mentatjack.com/2009/07/02/the-chocolate-and-peanut-butter-of-noir-and-speculative-fiction/">Noir and Speculative Fiction</a> post.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/09/14/updates-tagshadow-and-rip/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>

		<media:content url="https://mentatjack.files.wordpress.com/2009/09/pca11.jpg" medium="image">
			<media:title type="html">pca1</media:title>
		</media:content>
	</item>
		<item>
		<title>Pricinipal Component Analysis: The Java Iteration</title>
		<link>https://mentatjack.com/2009/09/12/pricinipal-component-analysis-the-java-iteration/</link>
					<comments>https://mentatjack.com/2009/09/12/pricinipal-component-analysis-the-java-iteration/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Sat, 12 Sep 2009 19:31:47 +0000</pubDate>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[jama]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[PCA]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=1386</guid>

					<description><![CDATA[Much more satisfying than my earlier attempt to do this by hand, I&#8217;m actually building the tools that will eventually power TagShadow. I&#8217;m step by step implementing wikipedia&#8217;s instructions on Computing PCA using the covariance method. I fully understand the folly of trusting wikipedia this closely, but I promise to compare against other sources. package [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Much more satisfying than my <a href="https://mentatjack.com/2009/07/18/principal-component-analysis-the-lovecraft-experiment-part-1/">earlier attempt</a> to do this by hand, I&#8217;m actually building the tools that will eventually power <a href="http://tagshadow.com">TagShadow</a>.  I&#8217;m step by step implementing wikipedia&#8217;s instructions on <a href="http://en.wikipedia.org/wiki/Principal_component_analysis#Computing_PCA_using_the_covariance_method">Computing PCA using the covariance method</a>.  I fully understand the folly of trusting wikipedia this closely, but I promise to compare against other sources.<br />
<code><br />
package matrixtest;<br />
import Jama.*;<br />
/**<br />
 *<br />
 * @author MentatJack<br />
 */<br />
public class PCA {<br />
    public static Matrix meanVector(Matrix X){<br />
        Matrix u = new Matrix(X.getRowDimension(),1);<br />
        double temp;<br />
        double x[][] = X.getArray();<br />
        for(int i = 0; i &lt; x.length;i++){<br />
            temp = 0;<br />
            for (int j=0; j &lt; x[0].length;j++){<br />
                temp += x[i][j];<br />
            }<br />
            u.set(i,0,temp/x.length);<br />
        }<br />
        return u;<br />
    }<br />
    public static Matrix getCovariance(Matrix M){<br />
        Matrix h = new Matrix(1,M.getColumnDimension(),1);<br />
        Matrix u = meanVector(M);<br />
        Matrix B = M.minus(u.times(h));<br />
        return B.times(B.transpose());<br />
    }<br />
}<br />
</code></p>
<p>Next I have to sort the eigenvectors&#8230;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/09/12/pricinipal-component-analysis-the-java-iteration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>Tagshadow: Jama, Weka and Scatter Plots</title>
		<link>https://mentatjack.com/2009/09/11/tagshadow-jama-weka-and-scatter-plots/</link>
					<comments>https://mentatjack.com/2009/09/11/tagshadow-jama-weka-and-scatter-plots/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Fri, 11 Sep 2009 16:52:43 +0000</pubDate>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[jama]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[PCA]]></category>
		<category><![CDATA[tagShadow]]></category>
		<category><![CDATA[weka]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=1380</guid>

					<description><![CDATA[There&#8217;s nothing quite like the double edged blade of progress for producing equal parts spectacular failure and insight. I linked to some of my experiments displaying scatter plot book recommendations. Following feedback I&#8217;ve iterated over various displays with less and less &#8220;graph&#8221; feel. You&#8217;ll get a look at that when my first dimension reductions see [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>There&#8217;s nothing quite like the double edged blade of progress for producing equal parts spectacular failure and insight.  I linked to <a href="http://tagshadow.com/amazon/science-fiction-vs-vampires.html">some of my experiments</a> displaying scatter plot book recommendations.  Following feedback I&#8217;ve iterated over various displays with less and less &#8220;graph&#8221; feel.   You&#8217;ll get a look at that when my first dimension reductions see the light.</p>
<p>On that front I&#8217;ve made some progress with <a href="http://math.nist.gov/javanumerics/jama/">Jama</a>, which allows me to represent and manipulate matrices in Java.  I ran my <a href="https://mentatjack.com/2009/07/18/principal-component-analysis-the-lovecraft-experiment-part-1/">lovecraft example data</a> through the paces of SVD, QR, LU, and such, but the real test will be when I try and manipulate the significantly larger amazon Tag matrix.</p>
<p><a href="http://www.cs.waikato.ac.nz/ml/weka/"><img data-attachment-id="1381" data-permalink="https://mentatjack.com/2009/09/11/tagshadow-jama-weka-and-scatter-plots/weka-software-logo/" data-orig-file="https://mentatjack.files.wordpress.com/2009/09/weka-software-logo.png" data-orig-size="198,104" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="Weka (software) logo" data-image-description="" data-medium-file="https://mentatjack.files.wordpress.com/2009/09/weka-software-logo.png?w=198" data-large-file="https://mentatjack.files.wordpress.com/2009/09/weka-software-logo.png?w=198" src="https://mentatjack.files.wordpress.com/2009/09/weka-software-logo.png?w=497" alt="Weka (software) logo" title="Weka (software) logo"   class="alignright size-full wp-image-1381" srcset="https://mentatjack.files.wordpress.com/2009/09/weka-software-logo.png 198w, https://mentatjack.files.wordpress.com/2009/09/weka-software-logo.png?w=150 150w" sizes="(max-width: 198px) 100vw, 198px" /></a></p>
<p>I DID use the larger data set with <a href="http://www.cs.waikato.ac.nz/ml/weka/">Weka</a>, a VERY neat tool that exposes a TON of interesting ways to manipulate large sets of data.  This is where I had the largest insights and failures.  The failures involved quickly discovering the constraints of my memory as I repeatedly crashed the application with too much data.  When I found a subset of the data (and an appropriate heap size) it could handle I actually got some of my first plots of Principal Component data.  On one hand I&#8217;m giddy and on another I realize that I still have a long way to go.  Weka&#8217;s Knowledge Flow functionality (complete with flashbacks to <a href="http://www.mathworks.com/">MatLab</a> in college) allows for some crazy fast prototyping and experimenting.</p>
<p>I&#8217;ve got earlier editions of <a href="http://www.amazon.com/gp/product/0521880688?ie=UTF8&amp;tag=mentatjack-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0521880688">Numerical Recipes: The Art of Scientific Computing </a> and <a href="http://www.amazon.com/gp/product/0120884070?ie=UTF8&amp;tag=mentatjack-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0120884070">Data Mining: Practical Machine Learning Tools and Techniques</a> on hold at the library, so it should be a fun weekend.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/09/11/tagshadow-jama-weka-and-scatter-plots/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>

		<media:content url="https://mentatjack.files.wordpress.com/2009/09/weka-software-logo.png" medium="image">
			<media:title type="html">Weka (software) logo</media:title>
		</media:content>
	</item>
		<item>
		<title>Plotting Science Fiction versus Vampires</title>
		<link>https://mentatjack.com/2009/09/06/plotting-science-fiction-versus-vampires/</link>
					<comments>https://mentatjack.com/2009/09/06/plotting-science-fiction-versus-vampires/#comments</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Sun, 06 Sep 2009 23:13:35 +0000</pubDate>
				<category><![CDATA[genre musings]]></category>
		<category><![CDATA[alternate history]]></category>
		<category><![CDATA[cyberpunk]]></category>
		<category><![CDATA[magic]]></category>
		<category><![CDATA[science ficiton]]></category>
		<category><![CDATA[space opera]]></category>
		<category><![CDATA[tagShadow]]></category>
		<category><![CDATA[vampires]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=1343</guid>

					<description><![CDATA[If you click on the above image, you&#8217;ll be taken to an interactive version of the plot with some explanation. As I see the completion of core Tag shadow functionality on the horizon I need to start asking if this makes ANY sense to anyone else. Let me know what you think, and be sure [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://tagshadow.com/amazon/science-fiction-vs-vampires.html"><img loading="lazy" data-attachment-id="1344" data-permalink="https://mentatjack.com/2009/09/06/plotting-science-fiction-versus-vampires/sf-vamp-final/" data-orig-file="https://mentatjack.files.wordpress.com/2009/09/sf-vamp-final.jpg" data-orig-size="685,594" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="sf-vamp-final" data-image-description="" data-medium-file="https://mentatjack.files.wordpress.com/2009/09/sf-vamp-final.jpg?w=300" data-large-file="https://mentatjack.files.wordpress.com/2009/09/sf-vamp-final.jpg?w=497" src="https://mentatjack.files.wordpress.com/2009/09/sf-vamp-final.jpg?w=497&#038;h=430" alt="sf-vamp-final" title="sf-vamp-final" width="497" height="430" class="aligncenter size-full wp-image-1344" srcset="https://mentatjack.files.wordpress.com/2009/09/sf-vamp-final.jpg?w=497&amp;h=430 497w, https://mentatjack.files.wordpress.com/2009/09/sf-vamp-final.jpg?w=150&amp;h=130 150w, https://mentatjack.files.wordpress.com/2009/09/sf-vamp-final.jpg?w=300&amp;h=260 300w, https://mentatjack.files.wordpress.com/2009/09/sf-vamp-final.jpg 685w" sizes="(max-width: 497px) 100vw, 497px" /></a></p>
<p>If you click on the above image, you&#8217;ll be taken to an interactive version of the plot with some explanation.  As I see the completion of core Tag shadow functionality on the horizon I need to start asking if this makes ANY sense to anyone else.  Let me know what you think, and be sure to check out the other 2 plots I made, <a href="http://tagshadow.com/amazon/cyberpunk-versus-space-opera.html">Cyberpunk vs Space Opera</a> and <a href="http://tagshadow.com/amazon/alternate-history-versus-magic.html">Alternate History vs Magic</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/09/06/plotting-science-fiction-versus-vampires/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>

		<media:content url="https://mentatjack.files.wordpress.com/2009/09/sf-vamp-final.jpg" medium="image">
			<media:title type="html">sf-vamp-final</media:title>
		</media:content>
	</item>
		<item>
		<title>Question about free data</title>
		<link>https://mentatjack.com/2009/09/04/question-about-free-data/</link>
					<comments>https://mentatjack.com/2009/09/04/question-about-free-data/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Fri, 04 Sep 2009 16:21:08 +0000</pubDate>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[creative commons]]></category>
		<category><![CDATA[free data]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=1300</guid>

					<description><![CDATA[I&#8217;m considering making some of the data that I generate for TagShadow available so that others can make use of it in their own projects. My question is this: How do I license data? My initial thought was Creative Commons, but their FAQ suggests that software should use a different license, and points me at [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;m considering making some of the data that I generate for <a href="http://tagshadow.com">TagShadow</a> available so that others can make use of it in their own projects.  My question is this: <em>How do I license data?</em></p>
<p>My initial thought was <a href="http://creativecommons.org/">Creative Commons</a>, but their FAQ suggests that software should use a different license, and points me at <a href="http://www.fsf.org/">Free Software Foundation</a> and the <a href="http://www.opensource.org/">Open Source Initiative</a>. But my question is about the data and not the software used to generate it.  My plan is to spend some time on those sites and look at the various Terms of Service and Usage Agreements attached to web services that generate data that I&#8217;ve found useful at one point or another. While I&#8217;m researching myself, I thought I&#8217;d ask the world at large.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/09/04/question-about-free-data/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>TagShadow: A Random Glimpse</title>
		<link>https://mentatjack.com/2009/08/23/tagshadow-a-random-glimpse/</link>
					<comments>https://mentatjack.com/2009/08/23/tagshadow-a-random-glimpse/#comments</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Sun, 23 Aug 2009 07:03:30 +0000</pubDate>
				<category><![CDATA[meta]]></category>
		<category><![CDATA[Alfred Bester]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[Philip K Dick]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Roger Zelazny]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=1245</guid>

					<description><![CDATA[Today was a crash course in php, mySQL and Amazon Web Services. The true fruits of today&#8217;s labor are still a ways off, but since I have some data, I figured I&#8217;d use it for something. That data (still collecting) is a list of the Science Fiction and Fantasy book on amazon. I built a [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://tagshadow.com/amazon/RandomBooks.php"><img data-attachment-id="1246" data-permalink="https://mentatjack.com/2009/08/23/tagshadow-a-random-glimpse/random-books/" data-orig-file="https://mentatjack.files.wordpress.com/2009/08/random-books.jpg" data-orig-size="507,479" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="Random Books" data-image-description="" data-medium-file="https://mentatjack.files.wordpress.com/2009/08/random-books.jpg?w=300" data-large-file="https://mentatjack.files.wordpress.com/2009/08/random-books.jpg?w=497" src="https://mentatjack.files.wordpress.com/2009/08/random-books.jpg?w=497" alt="Random Books" title="Random Books"   class="aligncenter size-full wp-image-1246" srcset="https://mentatjack.files.wordpress.com/2009/08/random-books.jpg?w=497 497w, https://mentatjack.files.wordpress.com/2009/08/random-books.jpg?w=150 150w, https://mentatjack.files.wordpress.com/2009/08/random-books.jpg?w=300 300w, https://mentatjack.files.wordpress.com/2009/08/random-books.jpg 507w" sizes="(max-width: 497px) 100vw, 497px" /></a></p>
<p>Today was a crash course in <a href="http://www.php.net/">php</a>, <a href="http://www.mysql.com/">mySQL</a> and <a href="http://aws.amazon.com/">Amazon Web Services</a>.  The true fruits of today&#8217;s labor are still a ways off, but since I have some data, I figured I&#8217;d use it for something.  That data (still collecting) is a list of the Science Fiction and Fantasy book on amazon.  I built a very simple page that grabs a random chunk of 40 books and outputs the covers.  Of course these all link to amazon.</p>
<p>I&#8217;ve actually had some fun refreshing this page.  The image above is a screen capture that featured a bunch of Zelazny books.  I&#8217;d not realized that he&#8217;d collaborated with both Philip K. Dick and Alfred Bester.  <a href="http://tagshadow.com/amazon/RandomBooks.php">Explore some random books</a> and let me know what gems you find.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/08/23/tagshadow-a-random-glimpse/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>

		<media:content url="https://mentatjack.files.wordpress.com/2009/08/random-books.jpg" medium="image">
			<media:title type="html">Random Books</media:title>
		</media:content>
	</item>
		<item>
		<title>Ontology, Tags and Such. Oh My!</title>
		<link>https://mentatjack.com/2009/08/19/ontology-tags-and-such-oh-my/</link>
					<comments>https://mentatjack.com/2009/08/19/ontology-tags-and-such-oh-my/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Thu, 20 Aug 2009 05:42:59 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ontology]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=1233</guid>

					<description><![CDATA[I read a spectacular article today, Ontology is Overrated: Categories, Links, and Tags. It&#8217;s like it was written just for me. The section labeled mind reading really helped reign in the feature creep on TagShadow. Whenever I look at a tag cloud my immediate reaction is to start pruning away all the junk data. After [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I read a spectacular article today, <a href="http://www.shirky.com/writings/ontology_overrated.html">Ontology is Overrated: Categories, Links, and Tags</a>.  It&#8217;s like it was written just for me. The section labeled <a href="http://www.shirky.com/writings/ontology_overrated.html#mind_reading">mind reading</a> really helped reign in the feature creep on TagShadow.  Whenever I look at a tag cloud my immediate reaction is to start pruning away all the junk data.  After reading this I&#8217;m pretty sure I&#8217;m comfortable stepping back and letting the data speak for itself.</p>
<p>Another decision helped me solidify my priorities with TagShadow.  <a href="http://amazon.com">Amazon</a> has decent tag data.  I&#8217;m going to set up a sort of sandboxed alpha version that uses the logic I&#8217;m developing, but instead of user input everything will run on amazon data.  Hopefully that&#8217;ll let everyone get an idea what I&#8217;m trying to build.  Once the logic works for amazon&#8217;s canned tag data, I&#8217;ll implement a version that&#8217;ll handle users and run off the data they provide.</p>
<p>Having deliverables to work towards makes me a happy developer.  Knowing what I don&#8217;t have to code is priceless.  I&#8217;ve had the chance to experiment pretty extensively with <a href="http://jquery.com/">jQuery</a> the past couple days.  At the office it was exceedingly useful and tonight I made some updates to <a href="http://twitterplusone.com">TwitterPlusOne</a>  It&#8217;s been a good day.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/08/19/ontology-tags-and-such-oh-my/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>Principal Component Analysis: The Lovecraft Experiment (part 1)</title>
		<link>https://mentatjack.com/2009/07/18/principal-component-analysis-the-lovecraft-experiment-part-1/</link>
					<comments>https://mentatjack.com/2009/07/18/principal-component-analysis-the-lovecraft-experiment-part-1/#comments</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Sat, 18 Jul 2009 22:21:55 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Charles Stross]]></category>
		<category><![CDATA[fantasy]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[lovecraft]]></category>
		<category><![CDATA[Michael Chabon]]></category>
		<category><![CDATA[modern]]></category>
		<category><![CDATA[principal component analysis]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=973</guid>

					<description><![CDATA[The Setup I&#8217;ve been tweeting my linear algebra experiments today. Here&#8217;s a quick rundown of my goal. I want to take the data (tags) people use to describe stuff (in my case books) online and visualize that in such a way that it&#8217;s readily apparent which things are similar. The easiest way to map a [&#8230;]]]></description>
										<content:encoded><![CDATA[<h2>The Setup</h2>
<p>I&#8217;ve been <a href="http://search.twitter.com/search?q=tagshadow">tweeting</a> my linear algebra experiments today.  Here&#8217;s a quick rundown of my goal.  I want to take the data (tags) people use to describe stuff (in my case books) online and visualize that in such a way that it&#8217;s readily apparent which things are similar.  The easiest way to map a whole bunch of points (books again) is to plot them on a plane &#8230; which gives me 2 dimensions to work with.  The problem then becomes one of reducing 1000&#8217;s of dimensions (one for each tag) into 2.</p>
<p><a href="http://en.wikipedia.org/wiki/Principal_component_analysis">Principal Component Analysis</a> is to tool for this job.  From the wikipedia page, this is the description of PCA that informs my metaphor: </p>
<blockquote><p>If a multivariate dataset is visualised as a set of coordinates in a high-dimensional data space (1 axis per variable), PCA supplies the user with a lower-dimensional picture, a &#8220;shadow&#8221; of this object when viewed from its (in some sense) most informative viewpoint.</p></blockquote>
<p>I acquired a copy of an <a href="http://www.amazon.com/gp/product/0803931042?ie=UTF8&amp;tag=mentatjack-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0803931042">academic paper on PCA</a>, but first I decided to see how far I could get with a simple example and the insight that wikipedia could provide.  I got this far:</p>
<p><a href="http://en.wikipedia.org/wiki/Principal_component_analysis#Find_the_covariance_matrix"><img data-attachment-id="974" data-permalink="https://mentatjack.com/2009/07/18/principal-component-analysis-the-lovecraft-experiment-part-1/covariance_matrix_1/" data-orig-file="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_1.png" data-orig-size="369,41" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="covariance_matrix_1" data-image-description="" data-medium-file="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_1.png?w=300" data-large-file="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_1.png?w=369" src="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_1.png?w=497" alt="covariance_matrix_1" title="covariance_matrix_1"   class="aligncenter size-full wp-image-974" srcset="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_1.png 369w, https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_1.png?w=150 150w, https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_1.png?w=300 300w" sizes="(max-width: 369px) 100vw, 369px" /></a></p>
<p>The discussion on the PCA page pointed me at the page for <a>Sample Covariance Matrix</a>  which was much clearer on the actual method for generating said matrix.  Now it looks like I need to calculate the <a href="http://en.wikipedia.org/wiki/Spectral_decomposition">Spectral Decomposition</a> using the suggested method of <a href="http://en.wikipedia.org/wiki/Singular_value_decomposition">Singular Value Decomposition</a>.  I&#8217;m a bit stuck at <a href="http://en.wikipedia.org/wiki/Householder_reflection">Householder Transformation</a>, so I figured I&#8217;d document my progress so far.</p>
<h2>The Data</h2>
<p>I decided to take one of my most recent reads, <a href="https://mentatjack.com/2009/07/14/review-wonder-boys-by-michael-chabon/">Wonder Boys</a> (WB) and compare it to <a href="https://mentatjack.com/2008/04/06/reveiw-the-atrocity-archives-by-charles-stross/">Atrocity Archives</a> (AA).  To play with 3 variables (one more than the 2 I&#8217;ll end up plotting) and still end up with a nice 3&#215;3 matix, I included <a href="http://www.amazon.com/gp/product/8562022756?ie=UTF8&amp;tag=mentatjack-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=8562022756">Call of Cuthulu</a> (CC).  For the purposes of this exercise, I&#8217;m describing these three books with the following tags:</p>
<ul>
<li>Lovecraft</li>
<li>Fantasy</li>
<li>Modern</li>
</ul>
<p>In the table below, I&#8217;ve set on a 1-10 scale how much the book relates to the particular tag.  In my <a href="http://tagshadow.com">final application</a> that would be compiled by the number of users tagging a book and the number of times each tag was used for that book.</p>
<table border="1" align="center">
<tr>
<th>&nbsp;</th>
<th>Lovecraft</th>
<th>Fantasy</th>
<th>Modern</th>
</tr>
<tr>
<th>WB</th>
<td>8</td>
<td>0</td>
<td>10</td>
</tr>
<tr>
<th>AA</th>
<td>9</td>
<td>8</td>
<td>10</td>
</tr>
<tr>
<th>CC</th>
<td>10</td>
<td>10</td>
<td>1</td>
</tr>
</table>
<p>We can quibble extensively over the qualitative nature of the data above (in general I love such discussions), but right now I&#8217;m solely interested in the analysis. No matter how I go about the calculation, I&#8217;m going to need a vector that represents the mean for each row:</p>
<p><a href="http://www38.wolframalpha.com/input/?i=x+%3D+6%2C9%2C7"><img data-attachment-id="986" data-permalink="https://mentatjack.com/2009/07/18/principal-component-analysis-the-lovecraft-experiment-part-1/mean_lovecraft/" data-orig-file="https://mentatjack.files.wordpress.com/2009/07/mean_lovecraft.gif" data-orig-size="54,56" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="mean_lovecraft" data-image-description="" data-medium-file="https://mentatjack.files.wordpress.com/2009/07/mean_lovecraft.gif?w=54" data-large-file="https://mentatjack.files.wordpress.com/2009/07/mean_lovecraft.gif?w=54" src="https://mentatjack.files.wordpress.com/2009/07/mean_lovecraft.gif?w=497" alt="mean_lovecraft" title="mean_lovecraft"   class="aligncenter size-full wp-image-986" /></a></p>
<p>This is how I&#8217;m going to calculate the covariance:</p>
<p><a href="http://en.wikipedia.org/wiki/Sample_covariance_matrix"><img data-attachment-id="988" data-permalink="https://mentatjack.com/2009/07/18/principal-component-analysis-the-lovecraft-experiment-part-1/covariance_matrix_2/" data-orig-file="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_2.png" data-orig-size="302,52" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="covariance_matrix_2" data-image-description="" data-medium-file="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_2.png?w=300" data-large-file="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_2.png?w=302" src="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_2.png?w=497" alt="covariance_matrix_2" title="covariance_matrix_2"   class="aligncenter size-full wp-image-988" srcset="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_2.png 302w, https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_2.png?w=150 150w" sizes="(max-width: 302px) 100vw, 302px" /></a></p>
<p>In the above equation, x is the 3&#215;3 matrix defined by my table above. x-bar is the &#8220;mean vector,&#8221; (6,9,7) and N ends up being 3.  The results, which I computed by hand, so as to reacquaint myself with the linear algebra:</p>
<p><a href="http://www38.wolframalpha.com/input/?i=14.5%2C-8.5%2C-4.5%2C+-8.5%2C+41%2C+-18%2C+-4.5%2C+-18%2C+27"><img data-attachment-id="984" data-permalink="https://mentatjack.com/2009/07/18/principal-component-analysis-the-lovecraft-experiment-part-1/covariance_lovecraft/" data-orig-file="https://mentatjack.files.wordpress.com/2009/07/covariance_lovecraft.gif" data-orig-size="131,56" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="covariance_lovecraft" data-image-description="" data-medium-file="https://mentatjack.files.wordpress.com/2009/07/covariance_lovecraft.gif?w=131" data-large-file="https://mentatjack.files.wordpress.com/2009/07/covariance_lovecraft.gif?w=131" src="https://mentatjack.files.wordpress.com/2009/07/covariance_lovecraft.gif?w=497" alt="covariance_lovecraft" title="covariance_lovecraft"   class="aligncenter size-full wp-image-984" /></a></p>
<p>Stay Tuned.  In part 2 of this series I will figure out what to do with my pretty covariant matrix.  There will likely be a part 3 with a pretty graphic and some thoughts on the whole experience.</p>
<p>A special thanks goes out to <a href="http://www.wolframalpha.com/index.html">Wolfram Alpha</a> for generating the image of the covariant matrix above.</p>
<p>If there are any friendly mathematicians out there that want to point me at some resources, I&#8217;d be eternally grateful.  Also, my final build of the code to run all of this will probably be in Java, although I&#8217;ve been eyeing <a href="http://www.scala-lang.org/">Scala</a> as something I&#8217;d like to play with.  Feel free to contact me if you&#8217;re interested in helping out on the coding side of things.  And last, but not least, the end use for all of this is going to be a Quantitative Visual Book Recommendation Engine.  I&#8217;m going to need a ton of user input for this, so feel free to let me know if you&#8217;re excited by this project and want to help in any way.  As always, I can be emailed at mentatjack dot com with the username mentat1.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/07/18/principal-component-analysis-the-lovecraft-experiment-part-1/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>

		<media:content url="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_1.png" medium="image">
			<media:title type="html">covariance_matrix_1</media:title>
		</media:content>

		<media:content url="https://mentatjack.files.wordpress.com/2009/07/mean_lovecraft.gif" medium="image">
			<media:title type="html">mean_lovecraft</media:title>
		</media:content>

		<media:content url="https://mentatjack.files.wordpress.com/2009/07/covariance_matrix_2.png" medium="image">
			<media:title type="html">covariance_matrix_2</media:title>
		</media:content>

		<media:content url="https://mentatjack.files.wordpress.com/2009/07/covariance_lovecraft.gif" medium="image">
			<media:title type="html">covariance_lovecraft</media:title>
		</media:content>
	</item>
		<item>
		<title>development: Currently Reading Web Slice</title>
		<link>https://mentatjack.com/2009/06/15/development-currently-reading-web-slice/</link>
					<comments>https://mentatjack.com/2009/06/15/development-currently-reading-web-slice/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Tue, 16 Jun 2009 02:18:37 +0000</pubDate>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[hSlice]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[Internet Explorer 8]]></category>
		<category><![CDATA[microformat]]></category>
		<category><![CDATA[tagShadow]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Web Slice]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=854</guid>

					<description><![CDATA[There&#8217;s a new browser on the block, Internet Explorer 8. I&#8217;ve been obsessing recently about microformats, so I was intrigued by its &#8220;Web Slice&#8221; functionality. To test this out I wrapped my Currently Reading widget in a slice. I changed &#8220;Currently Reading&#8221; to &#8220;Current Input,&#8221; since I didn&#8217;t have a quick way to change the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>There&#8217;s a new browser on the block, <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.microsoft.com%2Fwindows%2Finternet-explorer%2Fdefault.aspx&amp;ei=Nf82SpjEEpSuswPe79i2Bw&amp;usg=AFQjCNG-cl0kL4PEmrNyTUzlocEDqyIytg&amp;sig2=x1P9t2f7_udu8__NclU6Lg">Internet Explorer 8</a>.  I&#8217;ve been obsessing recently about <a href="http://microformats.org/wiki/Main_Page">microformats</a>, so I was intrigued by its &#8220;<a href="http://msdn.microsoft.com/en-us/library/cc304073%28VS.85%29.aspx">Web Slice</a>&#8221; functionality.  To test this out I wrapped my Currently Reading widget in a slice.  I changed &#8220;Currently Reading&#8221; to &#8220;Current Input,&#8221; since I didn&#8217;t have a quick way to change the id of the h2 tag on that text &#8230; I&#8217;ll add a &#8220;Currently Listening To&#8221; slice later to test multiple slices.</p>
<p>I&#8217;ve tested this with IE8 and I&#8217;ll test in Firefox with <a href="http://www.glazman.org/weblog/dotclear/index.php?q=webchunks">WebChunks</a> later.  I&#8217;d love input or questions on this experiment</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/06/15/development-currently-reading-web-slice/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>#scifibookclub 2: Spin by Robert Charles Wilson</title>
		<link>https://mentatjack.com/2009/06/10/scifibookclub-2-spin-by-robert-charles-wilson/</link>
					<comments>https://mentatjack.com/2009/06/10/scifibookclub-2-spin-by-robert-charles-wilson/#comments</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Thu, 11 Jun 2009 04:19:41 +0000</pubDate>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[microformat]]></category>
		<category><![CDATA[Robert Charles Wilson]]></category>
		<category><![CDATA[science fiction]]></category>
		<category><![CDATA[sfbookclub]]></category>
		<category><![CDATA[tagShadow]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=816</guid>

					<description><![CDATA[I figured this was as good a time as any to test the hCalendar microformat. June 26th : 30th, 2009 #scifibookclub 2 We’ll be reading Spin by Robert Charles Wilson, winner of the 2006 Hugo Award for best novel. Tags: science fiction book club twitter robert charles wilson This hCalendar event brought to you by [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I figured this was as good a time as any to test the hCalendar microformat.</p>
<div id="hcalendar-#scifibookclub-2" class="vevent"><a href="http://www.azurescape.net/2009/06/10/twitter-sfbookclub-02-spin-by-robert-charles-wilson/" class="url"><abbr title="2009-06-26" class="dtstart">June 26th</abbr> : <abbr title="2009-06-30" class="dtend">30th, 2009</abbr> <span class="summary">#scifibookclub 2</span></a></p>
<div class="description">We’ll be reading Spin by Robert Charles Wilson, winner of the 2006 Hugo Award for best novel.</div>
<div class="tags">Tags: <a href="http://eventful.com/events/tags/science%20fiction" rel="tag">science fiction</a><a href="http://eventful.com/events/tags/book%20club" rel="tag"> book club</a><a href="http://eventful.com/events/tags/twitter" rel="tag"> twitter</a><a href="http://eventful.com/events/tags/robert%20charles%20wilson" rel="tag"> robert charles wilson</a></div>
<p>This <a href="http://microformats.org/wiki/hcalendar">hCalendar event</a> brought to you by the <a href="http://microformats.org/code/hcalendar/creator">hCalendar Creator</a>.</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/06/10/scifibookclub-2-spin-by-robert-charles-wilson/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Design and Consulting for Writers and Publishers</title>
		<link>https://mentatjack.com/2009/05/26/web-design-and-consulting-for-writers-and-publishers/</link>
					<comments>https://mentatjack.com/2009/05/26/web-design-and-consulting-for-writers-and-publishers/#respond</comments>
		
		<dc:creator><![CDATA[mentatjack]]></dc:creator>
		<pubDate>Wed, 27 May 2009 05:03:09 +0000</pubDate>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[tagShadow]]></category>
		<category><![CDATA[web development]]></category>
		<guid isPermaLink="false">http://mentatjack.com/?p=743</guid>

					<description><![CDATA[I&#8217;m obsessing about design more than usual as I delve deeper into TagShadow. Enter Clockpunk Studios. They specialize in websites for writers and I may very well hit them up for some help making my project pretty once I get my matrices all in a row. I particularly like that they seem to understand what [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;m obsessing about design more than usual as I delve deeper into <a href="http://tagshadow.com">TagShadow</a>.  Enter Clockpunk Studios.  They specialize in <a href="http://www.clockpunkstudios.com/">websites for writers</a> and I may very well hit them up for some help making my project pretty once I get my matrices all in a row.  I particularly like that they seem to understand what a complete web strategy is.  I develop for a company with 30k products and we manage to find people all over the web interested in our handmade art, so I&#8217;ve become pretty good at spotting the holes in a marketing solution.  The folks over at Clockpunk Studios seem to have pretty much every base covered.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mentatjack.com/2009/05/26/web-design-and-consulting-for-writers-and-publishers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://2.gravatar.com/avatar/e556675c49c1319f92011d78d510a23e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">MentatJack</media:title>
		</media:content>
	</item>
	</channel>
</rss>
