octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47871] optimized kmeans.m for speed and modif


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47871] optimized kmeans.m for speed and modified convergence criterion
Date: Tue, 17 May 2016 03:05:34 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #2, bug #47871 (project octave):

By email, the original poster wrote:

I cloned the latest version of statistics package and in that: a) the loop was
for the data points (instead for the classes), b) the objCost function was
calculated twice and c) certainly I did notice negative err values of huge
absolute value and for that reason I apply the abs(). Thank you. 

Please reply via the bug tracker rather than email, so that others can see the
posts.

You are right that the latest version in the statistics package is quite poor.
 I spent a long time fixing it for bug #43959, but my initial attempts were so
buggy that people's patience wore thin.  I think that the latest version is
ready to commit, however.

If you want prepare a patch relative to the patch at bug #43959, you can see
how much improvement your changes give.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47871>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]