bugGNU Octave - Bugs: bug #50365, [octave forge] (statistics) Wrong...

 
 

bug #50365: [octave forge] (statistics) Wrong distance results from kmeans () and wrong centers

Submitted by:  Georg Wiora <gwiora>
Submitted on:  Tue 21 Feb 2017 09:06:57 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: gwioraOpen/Closed: Open
Release: 4.2.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 21 Feb 2017 09:06:57 AM UTC, original submission:

The kmeans() function from statisics package V1.3.0. does return wrong center positions and wrong center distances.

I am using a 3-d data set and found at least one bug in code review of kmeans.m but fixing it did non give the correct results.

The value returned for "dist" result is probably the sum of squares of coordinate differences. But should be the euclidian distance at least when 'distance'='sqEuclidean' is set. Octave and matlab documentation both state that the result should be euclidian distance.

When comparing cluster centers returned they do not match the points associated with the index results. Something seems to be serverly screwed up here. I will come back here when i can provide a test function with synthetic data.

Georg Wiora <gwiora>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by gwiora (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 12 Aug 2017 07:18:09 PM UTCjweSummaryWrong distance results from kmeans () and wrong centers=>[octave forge] (statistics) Wrong distance results from kmeans () and wrong centers

    Back to the top


    Powered by Savane 3.1-cleanup1