<?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: Weka and Ruby</title>
	<atom:link href="http://www.tylerclemons.com/weka-and-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tylerclemons.com/weka-and-ruby/</link>
	<description>tylerclemons.com</description>
	<lastBuildDate>Sat, 10 Sep 2011 05:32:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tyler</title>
		<link>http://www.tylerclemons.com/weka-and-ruby/comment-page-1/#comment-12421</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Wed, 07 Sep 2011 04:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.tylerclemons.com/?p=256#comment-12421</guid>
		<description>iirc that error means you have not specified which one of your attributes is the class attribute. That is usually your last variable.

I have an example of the classifier; I made a post using decision trees &lt;a href=&quot;http://www.tylerclemons.com/weka-ruby-decision-trees/&quot; rel=&quot;nofollow&quot;&gt;--&gt;HERE.&lt;--&lt;/a&gt;

The line I used:
labor_data.setClassIndex(labor_data.numAttributes() – 1)

Should set the last attribute as the class variable</description>
		<content:encoded><![CDATA[<p>iirc that error means you have not specified which one of your attributes is the class attribute. That is usually your last variable.</p>
<p>I have an example of the classifier; I made a post using decision trees <a href="http://www.tylerclemons.com/weka-ruby-decision-trees/" rel="nofollow">&#8211;&gt;HERE.&lt;&#8211;</a></p>
<p>The line I used:<br />
labor_data.setClassIndex(labor_data.numAttributes() – 1)</p>
<p>Should set the last attribute as the class variable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.tylerclemons.com/weka-and-ruby/comment-page-1/#comment-12416</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 06 Sep 2011 22:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tylerclemons.com/?p=256#comment-12416</guid>
		<description>Excellent post! Helped me a lot. I am trying to get a classifier working in ruby but keep running into a &quot;Class attribute not set!&quot; error. Hopefully you get those classifier examples up soon :-)</description>
		<content:encoded><![CDATA[<p>Excellent post! Helped me a lot. I am trying to get a classifier working in ruby but keep running into a &#8220;Class attribute not set!&#8221; error. Hopefully you get those classifier examples up soon <img src='http://tylershome.nfshost.com/home/public/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

