<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs-and-support</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/</link><description>Recent changes to bugs-and-support</description><atom:link href="https://sourceforge.net/p/java-ml/bugs-and-support/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 29 Jan 2013 12:01:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/java-ml/bugs-and-support/feed.rss" rel="self" type="application/rss+xml"/><item><title>Infinite loop in KMeans</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I used JavaML 0.1.7&lt;br /&gt;
Some datas cause infinite loop during a clusterization with KMeans. I cannot provide data to test the issue but I debugged and found what problem is.&lt;br /&gt;
There is a loop: while ((randomCentroids) || ((iterationCount &amp;lt; this.numberOfIterations) &amp;amp;&amp;amp; (centroidsChanged))) &lt;/p&gt;
&lt;p&gt;When iterationCount exeded this.numberOfIterations, the randomCentroids variable still can be true. This cause infine loop when countPosition array contains a zero (0) values, e.g. [0, 400, 0, 0].&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roman Bliznets</dc:creator><pubDate>Tue, 29 Jan 2013 12:01:20 -0000</pubDate><guid>https://sourceforge.net3e77f89ca8ea4a457f8a22836520c876c20eec16</guid></item><item><title>FileHandler.loadDataset (Only take ANSI encoding)</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;br /&gt;
i use the filehandler method that specifies the class value index and try to import a CSV file,&lt;br /&gt;
but there is a constraint that input file encoding should be ANSI and does not work with UNICODE&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mahdi</dc:creator><pubDate>Thu, 01 Nov 2012 10:52:21 -0000</pubDate><guid>https://sourceforge.net47e11605fe5a8560f01392a68b489c7212a505d5</guid></item><item><title>feature subset selection</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;hello dear all!&lt;br /&gt;
i need to review the source code of "greedy forward selection" and "pearson correlation", i will be thankful that i could access to this codes.&lt;br /&gt;
i would like to thank you for any help that you may render me regarding my request.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mahdi</dc:creator><pubDate>Fri, 19 Oct 2012 06:50:56 -0000</pubDate><guid>https://sourceforge.net1e5cc6926324de926c76436fc5051ba77f9583e2</guid></item><item><title>NullPointerException in Bagger</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Random Forest's buildClasiffier method calls this Bagging constructor:&lt;br /&gt;
bagger = new Bagging(trees, rg);&lt;br /&gt;
which keeps SamplingMethod instance object to null. Then when bagger.buildClassifier is build calls DatasetTools.sample whith SamplingMethod object null. &lt;br /&gt;
DatasetTools.sample breaks with a NPE.&lt;/p&gt;
&lt;p&gt;I've solved this with calling the Bagging constructor that receives the dataset, a sampling method and a random seed. The sampling method by default is new SubSampling().&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 11 Sep 2012 18:14:22 -0000</pubDate><guid>https://sourceforge.netee4580a9b2547161c96de6bac2b96e50f68d25be</guid></item><item><title>Bug in net.sf.javaml.distance.EuclideanDistance</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think there's a typo in the calculateDistance(Instance x, Instance y) method. It throws an exception if the two instances have different number of attributes but checks this as follows : if (x.noAttributes() != x.noAttributes()). It should be :  if (x.noAttributes() != y.noAttributes())&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kartik Kukreja</dc:creator><pubDate>Mon, 16 Jul 2012 01:10:05 -0000</pubDate><guid>https://sourceforge.netec938fbc990ed2f0eb919a4890baa9c64246f95f</guid></item><item><title>FileHandler.loadDataset and type String</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;FileHandler saves datasets with classValues of type String correctly. FileHandler.loadDataset doesn't load the classValue as String. The classValue is set to null.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 27 Jun 2012 09:15:42 -0000</pubDate><guid>https://sourceforge.net8192a2ee695e57f2bebb80777b7a4612beabf191</guid></item><item><title>OPTICS incorrect / incomplete</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The implmentation of OPTICS seems to be incorrect: as far as I can tell, it will produce DBSCAN clusters, because of the way it handles the assignment of cluster IDs to the objects.&lt;/p&gt;
&lt;p&gt;Your code seems to be copied from Weka, which received a *partial* OPTICS implementation by some random student. This is not the best place to start...&lt;/p&gt;
&lt;p&gt;Please review the OPTICS implementation, and compare it to the publication.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 05 Jun 2012 10:46:13 -0000</pubDate><guid>https://sourceforge.netcfaa8ed713daf4631bb0e8ab3e0506a99ad6b163</guid></item><item><title>ARFFHandler IndexOutOfBounds</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;ARFFHandler.java throws an index out of bounds when the class index is -1. Comparing with FileHandler.java, I believe the change is from this:&lt;/p&gt;
&lt;p&gt;if (i &amp;gt; classIndex)&lt;br /&gt;
values[i - 1] = val;&lt;/p&gt;
&lt;p&gt;To this&lt;/p&gt;
&lt;p&gt;if (i != -1 &amp;amp;&amp;amp; i &amp;gt; classIndex)&lt;br /&gt;
values[i - 1] = val;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 21 Mar 2012 17:09:33 -0000</pubDate><guid>https://sourceforge.net309bc027fa596eb214cbac3c40ebcef3eb281801</guid></item><item><title> LibSVM.getWeights()</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Sirs,&lt;/p&gt;
&lt;p&gt;I'm using Java-ml for my project which is a multi-class classification problem.&lt;/p&gt;
&lt;p&gt;I successfully trained my data using Linear (kernel_type = svm_parameter.LINEAR) LibSVM, but I want to get the weights for each class&lt;br /&gt;
- which, as I understand, the parameters for my hypothesis.&lt;br /&gt;
I used the method LibSVM.getWeights().&lt;/p&gt;
&lt;p&gt;As I have 20 classes and 400 features, I expected to get a double array (double[]) of the size 400x20 = 8000, but only got 400 instead.&lt;/p&gt;
&lt;p&gt;I did many Google searches and get to know that LibSVM use one-against-one approach, but still I think there may be more weights than 400.&lt;br /&gt;
So I don't quite sure if this is a mistake or not. May be LibSVM discribed "weights" something I haven't understood, or maybe what I received&lt;br /&gt;
was only the weights for the 1st class, ... so I'm writing this and hope that someone could explain it to me, or give me some hints / links/ documents&lt;br /&gt;
for the problem.&lt;/p&gt;
&lt;p&gt;I thank that someone in advance, and wish you all the best for the wonderful careers you are making.&lt;/p&gt;
&lt;p&gt;A beginner of machine learning.&lt;/p&gt;
&lt;p&gt;P.S: I also noticed the rawDecisionValues() method, but not quite had any idea what it means when you get a double array of these values.&lt;br /&gt;
I read some papers on SVM, but can't tell what-is-what or which is which from the things in the papers and the things in the API. &lt;/p&gt;
&lt;p&gt;So if you please, enlight me about this too.&lt;/p&gt;
&lt;p&gt;Sorry for my smattering and the time it took you for reading this.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tran Tan Minh Dao</dc:creator><pubDate>Sat, 07 Jan 2012 10:16:05 -0000</pubDate><guid>https://sourceforge.netd9eef33b190a5d87334d1e516c56b4615b65ad04</guid></item><item><title>how to create model</title><link>https://sourceforge.net/p/java-ml/bugs-and-support/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am using random forest for classification of my data, first it builds a classifier on training file (size ~1Gb) and then classifies the instances (testing file).&lt;br /&gt;
The problem is that i am developing a software, and generation of classifier every time to classify result data is not feasible.&lt;br /&gt;
I want to know that can i write this classifier to some model file, if so how can i use this model file to classify. Please help as i am a newbie.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ashwani Jha</dc:creator><pubDate>Thu, 25 Aug 2011 10:57:32 -0000</pubDate><guid>https://sourceforge.net4be8150d85e16d9e9f9e4d4ea3479f5972f83524</guid></item></channel></rss>