Package: Kmedians 2.2.0

Kmedians: K-Medians

Online, Semi-online, and Offline K-medians algorithms are given. For both methods, the algorithms can be initialized randomly or with the help of a robust hierarchical clustering. The number of clusters can be selected with the help of a penalized criterion. We provide functions to provide robust clustering. Function gen_K() enables to generate a sample of data following a contaminated Gaussian mixture. Functions Kmedians() and Kmeans() consists in a K-median and a K-means algorithms while Kplot() enables to produce graph for both methods. Cardot, H., Cenac, P. and Zitt, P-A. (2013). "Efficient and fast estimation of the geometric median in Hilbert spaces with an averaged stochastic gradient algorithm". Bernoulli, 19, 18-43. <doi:10.3150/11-BEJ390>. Cardot, H. and Godichon-Baggioni, A. (2017). "Fast Estimation of the Median Covariation Matrix with Application to Online Robust Principal Components Analysis". Test, 26(3), 461-480 <doi:10.1007/s11749-016-0519-x>. Godichon-Baggioni, A. and Surendran, S. "A penalized criterion for selecting the number of clusters for K-medians" <arxiv:2209.03597> Vardi, Y. and Zhang, C.-H. (2000). "The multivariate L1-median and associated data depth". Proc. Natl. Acad. Sci. USA, 97(4):1423-1426. <doi:10.1073/pnas.97.4.1423>.

Authors:Antoine Godichon-Baggioni [aut, cre, cph], Sobihan Surendran [aut]

Kmedians_2.2.0.tar.gz
Kmedians_2.2.0.zip(r-4.7)Kmedians_2.2.0.zip(r-4.6)Kmedians_2.2.0.zip(r-4.5)
Kmedians_2.2.0.tgz(r-4.6-any)Kmedians_2.2.0.tgz(r-4.5-any)
Kmedians_2.2.0.tar.gz(r-4.7-any)Kmedians_2.2.0.tar.gz(r-4.6-any)
Kmedians_2.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
Kmedians/json (API)

# Install 'Kmedians' in R:
install.packages('Kmedians', repos = c('https://godichon-baggioni.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.48 score 1 packages 10 scripts 207 downloads 4 exports 41 dependencies

Last updated from:6607c4308a. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK153
source / vignettesOK176
linux-release-x86_64OK134
macos-release-arm64OK161
macos-oldrel-arm64OK151
windows-develOK100
windows-releaseOK100
windows-oldrelOK100
wasm-releaseOK115

Exports:gen_KKmeansKmediansKplot

Dependencies:capusheclicodetoolscpp11deadwoodDEoptimRdoParallelfarverforeachgenieclustggplot2glueGmediangtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmvtnormplyrquitefastmstR6RColorBrewerRcppRcppArmadilloRcppEigenreshape2rlangrobustbaseRSpectraS7scalesstringistringrvctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
K-MediansKmedians-package
gen_Kgen_K
KmeansKmeans
KmediansKmedians
KplotKplot