<?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/"
	>

<channel>
	<title>JDMP&#187; Java Data Mining Package &#187; How do I use a Classificator?</title>
	<atom:link href="http://www.jdmp.org/tag/faq/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jdmp.org</link>
	<description>Java Data Mining Package</description>
	<lastBuildDate>Sat, 04 Jul 2009 22:31:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How do I use a Classificator?</title>
		<link>http://www.jdmp.org/how-do-i-use-a-classificator/</link>
		<comments>http://www.jdmp.org/how-do-i-use-a-classificator/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 21:58:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Classification]]></category>
		<category><![CDATA[DataSet]]></category>
		<category><![CDATA[Predict]]></category>
		<category><![CDATA[SVM]]></category>
		<category><![CDATA[Train]]></category>

		<guid isPermaLink="false">http://www.jdmp.org/?p=198</guid>
		<description><![CDATA[Try this example:

ClassificationDataSet dataSet = DataSetFactory.IRIS&#40;&#41;;
&#160;
SVMClassifier svm = new SVMClassifier&#40;&#41;;
&#160;
svm.train&#40;dataSet&#41;;
svm.predict&#40;dataSet&#41;;
&#160;
dataSet.showGUI&#40;&#41;;

If you get an error, you probably need LibSVM in your classpath.
]]></description>
			<content:encoded><![CDATA[<p>Try this example:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">ClassificationDataSet dataSet <span style="color: #339933;">=</span> DataSetFactory.<span style="color: #006633;">IRIS</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
SVMClassifier svm <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> SVMClassifier<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
svm.<span style="color: #006633;">train</span><span style="color: #009900;">&#40;</span>dataSet<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
svm.<span style="color: #006633;">predict</span><span style="color: #009900;">&#40;</span>dataSet<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
dataSet.<span style="color: #006633;">showGUI</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>If you get an error, you probably need LibSVM in your classpath.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdmp.org/how-do-i-use-a-classificator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How do I do a market basket analysis?</title>
		<link>http://www.jdmp.org/how-do-i-do-a-market-basket-analysis/</link>
		<comments>http://www.jdmp.org/how-do-i-do-a-market-basket-analysis/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 21:42:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[DataSet]]></category>
		<category><![CDATA[RelationalDataSet]]></category>
		<category><![CDATA[RelationalSample]]></category>

		<guid isPermaLink="false">http://www.jdmp.org/?p=193</guid>
		<description><![CDATA[First, you create a RelationalDataSet and add all purchases to separate RelationalSamples:

RelationalDataSet dataSet = new RelationalDataSet&#40;&#41;;
&#160;
RelationalSample s = new RelationalSample&#40;&#34;OrderID 1234&#34;&#41;;
s.addObject&#40;&#34;Product 1&#34;&#41;;
s.addObject&#40;&#34;Product 2&#34;&#41;;
s.addObject&#40;&#34;Product 3&#34;&#41;;
s.addObject&#40;&#34;Product 4&#34;&#41;;
dataSet.getSamples&#40;&#41;.add&#40;s&#41;;
&#160;
s = new RelationalSample&#40;&#34;OrderID 1235&#34;&#41;;
s.addObject&#40;&#34;Product 1&#34;&#41;;
s.addObject&#40;&#34;Product 2&#34;&#41;;
s.addObject&#40;&#34;Product 3&#34;&#41;;
dataSet.getSamples&#40;&#41;.add&#40;s&#41;;
&#160;
s = new RelationalSample&#40;&#34;OrderID 1236&#34;&#41;;
s.addObject&#40;&#34;Product 1&#34;&#41;;
s.addObject&#40;&#34;Product 6&#34;&#41;;
s.addObject&#40;&#34;Product 7&#34;&#41;;
dataSet.getSamples&#40;&#41;.add&#40;s&#41;;
&#160;
s = new RelationalSample&#40;&#34;OrderID 1237&#34;&#41;;
s.addObject&#40;&#34;Product 7&#34;&#41;;
s.addObject&#40;&#34;Product 2&#34;&#41;;
s.addObject&#40;&#34;Product 3&#34;&#41;;
s.addObject&#40;&#34;Product 8&#34;&#41;;
dataSet.getSamples&#40;&#41;.add&#40;s&#41;;
&#160;
s = new RelationalSample&#40;&#34;OrderID 1238&#34;&#41;;
s.addObject&#40;&#34;Product 7&#34;&#41;;
s.addObject&#40;&#34;Product 4&#34;&#41;;
s.addObject&#40;&#34;Product 3&#34;&#41;;
s.addObject&#40;&#34;Product 8&#34;&#41;;
dataSet.getSamples&#40;&#41;.add&#40;s&#41;;

After [...]]]></description>
			<content:encoded><![CDATA[<p>First, you create a RelationalDataSet and add all purchases to separate RelationalSamples:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">RelationalDataSet dataSet <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> RelationalDataSet<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
RelationalSample s <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> RelationalSample<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;OrderID 1234&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 2&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 3&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 4&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
dataSet.<span style="color: #006633;">getSamples</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
s <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> RelationalSample<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;OrderID 1235&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 2&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 3&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
dataSet.<span style="color: #006633;">getSamples</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
s <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> RelationalSample<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;OrderID 1236&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 6&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 7&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
dataSet.<span style="color: #006633;">getSamples</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
s <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> RelationalSample<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;OrderID 1237&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 7&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 2&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 3&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
dataSet.<span style="color: #006633;">getSamples</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
s <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> RelationalSample<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;OrderID 1238&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 7&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 4&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 3&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
s.<span style="color: #006633;">addObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Product 8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
dataSet.<span style="color: #006633;">getSamples</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>After that, you do the analysis and visualize the results:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">MarketBasketAnalysis mba <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> MarketBasketAnalysis<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
mba.<span style="color: #006633;">setMinSupport</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
dataSet.<span style="color: #006633;">showGUI</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
RelationalDataSet result <span style="color: #339933;">=</span> mba.<span style="color: #006633;">calculate</span><span style="color: #009900;">&#40;</span>dataSet<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
result.<span style="color: #006633;">showGUI</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.jdmp.org/how-do-i-do-a-market-basket-analysis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Is distributed computing possible with JDMP?</title>
		<link>http://www.jdmp.org/is-distributed-computing-possible-with-jdmp/</link>
		<comments>http://www.jdmp.org/is-distributed-computing-possible-with-jdmp/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 19:42:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Distributed Computing]]></category>
		<category><![CDATA[Global Objects]]></category>

		<guid isPermaLink="false">http://www.jdmp.org/?p=191</guid>
		<description><![CDATA[JDMP was intended to handle large amounts of data efficiently. Therefore, distributed computing has always been a design goal of our software. JDMP separates calculation methods (Algorithm) and data structures (Matrix, Variable, Sample, DataSet), which can be combined into containers (Module). All of these objects can be declared as &#8220;global&#8221; which means, that the objects [...]]]></description>
			<content:encoded><![CDATA[<p>JDMP was intended to handle large amounts of data efficiently. Therefore, distributed computing has always been a design goal of our software. JDMP separates calculation methods (Algorithm) and data structures (Matrix, Variable, Sample, DataSet), which can be combined into containers (Module). All of these objects can be declared as &#8220;global&#8221; which means, that the objects are shared in a computer network. Then, for example, you can request data (a Matrix) from one Variable (or a Sample from a DataSet), do some processing with it (with an Algorithm) and write it to another Variable or DataSet. The Variables could be stored on two different computers, but for the programmer it makes no difference if a Variable is global or not. This concept makes it easy to create distributed algorithms, you just have to think about the Variables that are needed and the processing steps that have to be executed. I guess this is the biggest difference compared to other toolkits like Weka4WS, where you cannot split the algorithm itself.</p>
<p>JDMP uses JGroups (<a href="http://www.jgroups.org">http://www.jgroups.org</a>) to share data in a computer network. Right now, only global Variables are supported. Distributed Samples, DataSets, Modules and Algorithms must still be developed. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdmp.org/is-distributed-computing-possible-with-jdmp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What analysis methods are supported?</title>
		<link>http://www.jdmp.org/what-analysis-methods-are-supported/</link>
		<comments>http://www.jdmp.org/what-analysis-methods-are-supported/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 20:41:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Bayesian Networks]]></category>
		<category><![CDATA[Classification]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Naive Bayes]]></category>
		<category><![CDATA[Neural Networks]]></category>
		<category><![CDATA[Optimization]]></category>
		<category><![CDATA[Regression]]></category>
		<category><![CDATA[Support Vector Machine]]></category>
		<category><![CDATA[Weka]]></category>

		<guid isPermaLink="false">http://www.jdmp.org/?p=183</guid>
		<description><![CDATA[JDMP has most analysis methods for classification tasks: We support Naive Bayes, Neural Networks and classification trough regression directly, Support Vector Machine through the LibSVM library and many more classifiers through the Weka machine learning package.
Bayesian Networks, clustering and optimization methods are still experimental. 
]]></description>
			<content:encoded><![CDATA[<p>JDMP has most analysis methods for classification tasks: We support Naive Bayes, Neural Networks and classification trough regression directly, Support Vector Machine through the <a href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/">LibSVM library</a> and many more classifiers through the <a href="http://www.cs.waikato.ac.nz/ml/weka/">Weka machine learning package</a>.<br />
Bayesian Networks, clustering and optimization methods are still experimental. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdmp.org/what-analysis-methods-are-supported/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is the script language of JDMP?</title>
		<link>http://www.jdmp.org/what-is-the-script-language-of-jdmp/</link>
		<comments>http://www.jdmp.org/what-is-the-script-language-of-jdmp/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 20:37:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Matlab]]></category>
		<category><![CDATA[Octave]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[S+]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.jdmp.org/?p=181</guid>
		<description><![CDATA[JDMP was intended to be a Java library, so we do not support any script language like R or Splus right now. However, we are thinking about including a Matlab-like syntax in one of the next releases. At the moment, it is possible to execute functions in Matlab, Octave or R directly from JDMP. S [...]]]></description>
			<content:encoded><![CDATA[<p>JDMP was intended to be a Java library, so we do not support any script language like R or Splus right now. However, we are thinking about including a Matlab-like syntax in one of the next releases. At the moment, it is possible to execute functions in Matlab, Octave or R directly from JDMP. S or Splus is not supported. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdmp.org/what-is-the-script-language-of-jdmp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can I use JDMP with Java 1.4?</title>
		<link>http://www.jdmp.org/can-i-use-jdmp-with-java-14/</link>
		<comments>http://www.jdmp.org/can-i-use-jdmp-with-java-14/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 22:33:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://jdmp.org/wp/?p=35</guid>
		<description><![CDATA[No, unfortunately not. JDMP is designed for Java 6 and uses generics and other features untroduced in Java 5.0. Without modifications, it will not run with lower versions.
]]></description>
			<content:encoded><![CDATA[<p>No, unfortunately not. JDMP is designed for Java 6 and uses generics and other features untroduced in Java 5.0. Without modifications, it will not run with lower versions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdmp.org/can-i-use-jdmp-with-java-14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is there a version for C/C++ or another programming language?</title>
		<link>http://www.jdmp.org/is-there-a-version-for-cc-or-another-programming-language/</link>
		<comments>http://www.jdmp.org/is-there-a-version-for-cc-or-another-programming-language/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 22:32:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[C++]]></category>

		<guid isPermaLink="false">http://jdmp.org/wp/?p=33</guid>
		<description><![CDATA[No, JDMP is available only for Java. However, if you are interested in porting the software to another language, you are encouraged to do so.
]]></description>
			<content:encoded><![CDATA[<p>No, JDMP is available only for Java. However, if you are interested in porting the software to another language, you are encouraged to do so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdmp.org/is-there-a-version-for-cc-or-another-programming-language/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
