Learn R Programming

kkmeans (version 0.1.3)

Fast Implementations of Kernel K-Means

Description

Implementations several algorithms for kernel k-means. The default 'OTQT' algorithm is a fast alternative to standard implementations of kernel k-means, particularly in cases with many clusters. For a small number of clusters, the implemented 'MacQueen' method typically performs the fastest. For more details and performance evaluations, see Berlinski and Maitra (2025) .

Copy Link

Version

Install

install.packages('kkmeans')

Version

0.1.3

License

GPL-3

Maintainer

Josh Berlinski

Last Published

February 1st, 2026

Functions in kkmeans (0.1.3)

cluster_new

Classify new data based on kkmeans result
matr

Estimate the bandwidth parameter for a gaussian kernel using MATr
get_kernel_matrix

Get the kernel matrix for a dataset
get_mknn_dist

Get the average distance to each points k-nearest neighbor
jump_stat

Function to get jump statistic for varying values of k
kkmeans

An Efficient Kernel K-Means Algorithm