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: anonymous
Subject: [Octave-bug-tracker] [bug #47871] optimized kmeans.m for speed and modified convergence criterion
Date: Sat, 7 May 2016 15:03:32 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

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

                 Summary: optimized kmeans.m for speed and modified
convergence criterion
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 07 May 2016 03:03:31 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Performance
                  Status: None
             Assigned to: None
         Originator Name: cuantiar
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

modifications:
1. optimized the function objCost in kmeans.m for CPU speed (depending on the
data-set size, 2 orders of magnitude faster)
2. calling the function objCost once instead of twice 
3. modified the convergence criterion "err" to "abs(err)"

Attached the changes as they reported by hg.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 07 May 2016 03:03:31 PM UTC  Name: kmeans_differences.diff  Size:
4kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=37097>

    _______________________________________________________

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]