Package tglkmeans updated to version 0.6.1 with previous version 0.5.8 dated 2026-01-14

Wed, 04 Mar 2026 14:02:00 CDT

Title: Efficient Implementation of K-Means++ Algorithm
Description: Efficient implementation of K-Means++ algorithm. For more information see (1) "kmeans++ the advantages of the k-means++ algorithm" by David Arthur and Sergei Vassilvitskii (2007), Proceedings of the eighteenth annual ACM-SIAM symposium on Discrete algorithms, Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, pp. 1027-1035, and (2) "The Effectiveness of Lloyd-Type Methods for the k-Means Problem" by Rafail Ostrovsky, Yuval Rabani, Leonard J. Schulman and Chaitanya Swamy <doi:10.1145/2395116.2395117>.
Author: Aviezer Lifshitz [aut, cre], Amos Tanay [aut], Weizmann Institute of Science [cph]
Maintainer: Aviezer Lifshitz <aviezer.lifshitz@weizmann.ac.il>

Diff between tglkmeans versions 0.5.8 dated 2026-01-14 and 0.6.1 dated 2026-03-04

 DESCRIPTION                        |   19 ++--
 MD5                                |   92 +++++++++++---------
 NAMESPACE                          |   16 ---
 NEWS.md                            |   14 +++
 R/TGL_kmeans.R                     |  163 ++++++++++++++++++++++++++++++++-----
 R/intra_clustering.R               |    7 -
 R/misc.R                           |    2
 R/tests.R                          |   26 +++++
 R/tglkmeans-package.R              |    9 --
 R/utils-pipe.R                     |    1
 R/zzz.R                            |    4
 inst/doc/usage.R                   |    8 -
 inst/doc/usage.Rmd                 |   10 +-
 inst/doc/usage.html                |   26 ++---
 man/TGL_kmeans.Rd                  |    9 +-
 man/TGL_kmeans_tidy.Rd             |    9 +-
 man/match_clusters.Rd              |only
 man/pipe.Rd                        |    3
 man/predict_tgl_kmeans.Rd          |only
 man/test_clustering.Rd             |only
 man/tglkmeans.set_parallel.Rd      |    2
 src/AParamStat.cpp                 |    2
 src/AParamStat.h                   |   20 ++--
 src/AddCoreWorker.h                |only
 src/DownsampleWorker.cpp           |    8 -
 src/IndirectSort.h                 |    5 -
 src/KMeans.cpp                     |  137 +++++++++++++++++++++++--------
 src/KMeans.h                       |   26 ++---
 src/KMeansCenterBase.cpp           |    2
 src/KMeansCenterBase.h             |   18 ++--
 src/KMeansCenterMean.cpp           |    2
 src/KMeansCenterMean.h             |   18 ++--
 src/KMeansCenterMeanEuclid.cpp     |    4
 src/KMeansCenterMeanEuclid.h       |    2
 src/KMeansCenterMeanPearson.cpp    |   13 ++
 src/KMeansCenterMeanPearson.h      |    4
 src/KMeansCenterMeanSpearman.cpp   |   27 +++++-
 src/KMeansCenterMeanSpearman.h     |   15 ++-
 src/Ranking.cpp                    |    4
 src/Ranking.h                      |    5 -
 src/ReassignWorker.cpp             |   34 +++++++
 src/ReassignWorker.h               |   14 ++-
 src/TGLkmeans.cpp                  |   14 ++-
 src/UpdateMinDistanceWorker.cpp    |   39 +++-----
 src/UpdateMinDistanceWorker.h      |   22 +---
 tests/testthat.R                   |    1
 tests/testthat/helper-regression.R |only
 tests/testthat/test-clustering.R   |   72 ++++++++++++++++
 tests/testthat/test-regression.R   |only
 vignettes/usage.Rmd                |   10 +-
 50 files changed, 653 insertions(+), 285 deletions(-)

More information about tglkmeans at CRAN