<?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: Support Vector Machines (SVM) in Ruby</title>
	<atom:link href="http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/</link>
	<description>A goal is a dream with a deadline.</description>
	<pubDate>Sat, 30 Aug 2008 00:15:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Using Ruby for Bioinformatics Applications at Bleeding Edge Biotech</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-103023</link>
		<dc:creator>Using Ruby for Bioinformatics Applications at Bleeding Edge Biotech</dc:creator>
		<pubDate>Tue, 06 May 2008 16:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-103023</guid>
		<description>[...] Support Vector Machines in Ruby Fast Artificial Neural Network library [...]</description>
		<content:encoded><![CDATA[<p>[...] Support Vector Machines in Ruby Fast Artificial Neural Network library [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-102927</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sat, 03 May 2008 08:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-102927</guid>
		<description>Excellent article. Thanks!</description>
		<content:encoded><![CDATA[<p>Excellent article. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sean</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-102083</link>
		<dc:creator>sean</dc:creator>
		<pubDate>Mon, 17 Mar 2008 02:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-102083</guid>
		<description>What, no discussion of stemming? I would hope that nobody goes about implementing such a system without looking into normalizing and stemming the bag of words before creating a dictionary!</description>
		<content:encoded><![CDATA[<p>What, no discussion of stemming? I would hope that nobody goes about implementing such a system without looking into normalizing and stemming the bag of words before creating a dictionary!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard heycock</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101623</link>
		<dc:creator>Richard heycock</dc:creator>
		<pubDate>Sat, 23 Feb 2008 04:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101623</guid>
		<description>Hey Jason,

The snowball project has a good stop word list:
 http://snowball.tartarus.org/dist/snowball_all.tgz

It's got lists for a fair few European languages as well.</description>
		<content:encoded><![CDATA[<p>Hey Jason,</p>
<p>The snowball project has a good stop word list:<br />
 <a href="http://snowball.tartarus.org/dist/snowball_all.tgz" rel="nofollow">http://snowball.tartarus.org/dist/snowball_all.tgz</a></p>
<p>It&#8217;s got lists for a fair few European languages as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101578</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Tue, 19 Feb 2008 03:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101578</guid>
		<description>Jason, libsvm supports multi-category classification right out of the box! Simply assign different labels to your training examples and you're all ready to go. For more info, check &lt;a href="http://www.csie.ntu.edu.tw/%7Ecjlin/libsvm/faq.html" rel="nofollow"&gt;LibSVM FAQ&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Jason, libsvm supports multi-category classification right out of the box! Simply assign different labels to your training examples and you&#8217;re all ready to go. For more info, check <a href="http://www.csie.ntu.edu.tw/%7Ecjlin/libsvm/faq.html" rel="nofollow">LibSVM FAQ</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason F</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101535</link>
		<dc:creator>Jason F</dc:creator>
		<pubDate>Thu, 14 Feb 2008 18:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101535</guid>
		<description>For some reason my email didn't show up in my last comment - it's rormaniac@mac.com</description>
		<content:encoded><![CDATA[<p>For some reason my email didn&#8217;t show up in my last comment - it&#8217;s <a href="mailto:rormaniac@mac.com">rormaniac@mac.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason F</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101534</link>
		<dc:creator>Jason F</dc:creator>
		<pubDate>Thu, 14 Feb 2008 18:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101534</guid>
		<description>How would modify this code to support multiple categories, instead of just two (spam/notspam)? Is it just a matter of adding more arrays with different content? How many categories can an SVM handle well?

Also, if anyone has a good stopword list, please let me know- thanks!</description>
		<content:encoded><![CDATA[<p>How would modify this code to support multiple categories, instead of just two (spam/notspam)? Is it just a matter of adding more arrays with different content? How many categories can an SVM handle well?</p>
<p>Also, if anyone has a good stopword list, please let me know- thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HG</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101485</link>
		<dc:creator>HG</dc:creator>
		<pubDate>Tue, 12 Feb 2008 14:05:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101485</guid>
		<description>Ilya, sorry for turning your comments into a forum, but if I may: comment to Kaven =&#62;
Your problem has nothing to do with the bindings. Try serializing the objects with, for example, the ruby yaml library. 

#create model as in Ilya's code:
m = Model.new(sp, pa)
open("your_model.yml", 'w') { &#124;f&#124; YAML.dump(m, f) }
#Load the model a month from now:
m = open("your_model.yml", 'r') { &#124;f&#124; YAML.load(f) }
#and make a predicion
pred, probs = m.predict_probability(test_vectors[i])


Off topic: I still haven't been able to compile the ruby bindings on windows xp. If anyone out there can shed some light!   ;)</description>
		<content:encoded><![CDATA[<p>Ilya, sorry for turning your comments into a forum, but if I may: comment to Kaven =&gt;<br />
Your problem has nothing to do with the bindings. Try serializing the objects with, for example, the ruby yaml library. </p>
<p>#create model as in Ilya&#8217;s code:<br />
m = Model.new(sp, pa)<br />
open(&#8221;your_model.yml&#8221;, &#8216;w&#8217;) { |f| YAML.dump(m, f) }<br />
#Load the model a month from now:<br />
m = open(&#8221;your_model.yml&#8221;, &#8216;r&#8217;) { |f| YAML.load(f) }<br />
#and make a predicion<br />
pred, probs = m.predict_probability(test_vectors[i])</p>
<p>Off topic: I still haven&#8217;t been able to compile the ruby bindings on windows xp. If anyone out there can shed some light!   ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101479</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Tue, 12 Feb 2008 11:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101479</guid>
		<description>Kaven, there's the problem! We're talking about two different  bindings: ruby vs python. Of course, I'm referring to the ruby bindings, and I don't know if the python ones come with all the same functionality -- they are implemented by different people. I would suggest digging into the docs for your binding, or contacting the author(s)!</description>
		<content:encoded><![CDATA[<p>Kaven, there&#8217;s the problem! We&#8217;re talking about two different  bindings: ruby vs python. Of course, I&#8217;m referring to the ruby bindings, and I don&#8217;t know if the python ones come with all the same functionality &#8212; they are implemented by different people. I would suggest digging into the docs for your binding, or contacting the author(s)!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaven</title>
		<link>http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101434</link>
		<dc:creator>kaven</dc:creator>
		<pubDate>Mon, 11 Feb 2008 06:57:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/2008/01/07/support-vector-machines-svm-in-ruby/#comment-101434</guid>
		<description>Thanks for your comment and great series about ai and ml.
I read test.rb. But I can't find methods to save and load models. In "libsvm/python/svm.py", save and load  is : svmc.svm_save_model(filename,self.model) 
svmc.svm_save_model(filename,self.model).
Which methods to save and load in libsvm-ruby?</description>
		<content:encoded><![CDATA[<p>Thanks for your comment and great series about ai and ml.<br />
I read test.rb. But I can&#8217;t find methods to save and load models. In &#8220;libsvm/python/svm.py&#8221;, save and load  is : svmc.svm_save_model(filename,self.model)<br />
svmc.svm_save_model(filename,self.model).<br />
Which methods to save and load in libsvm-ruby?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
