[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #10042] [octave forge] (statistics) Some t
From: |
anonymous |
Subject: |
[Octave-patch-tracker] [patch #10042] [octave forge] (statistics) Some tweak to function kmeans |
Date: |
Thu, 25 Nov 2021 14:36:35 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 |
Follow-up Comment #5, patch #10042 (project octave):
The last revision of this patch file #51065 adds to current kmeans, which was
last updated in 2019, the improvements listed in the original post and in
comment #3, that is:
* a "display" option, which prints a little summary
* stop condition when no data point switches group, as the algorithm requires,
practically avoiding to compute an unnecessary extra iteration
* a warning message if the algorithm did not converge
* a new default value for option "EmptyAction", as in MATLAB
Let me know if the patch is OK as it is, or if it needs some additional work.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?10042>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/