Skip to content

wskm

Weighted k-Means Clustering

v1.4.40 · Apr 4, 2020 · GPL (>= 3)

Description

Entropy weighted k-means (ewkm) by Liping Jing, Michael K. Ng and Joshua Zhexue Huang (2007) <doi:10.1109/TKDE.2007.1048> is a weighted subspace clustering algorithm that is well suited to very high dimensional data. Weights are calculated as the importance of a variable with regard to cluster membership. The two-level variable weighting clustering algorithm tw-k-means (twkm) by Xiaojun Chen, Xiaofei Xu, Joshua Zhexue Huang and Yunming Ye (2013) <doi:10.1109/TKDE.2011.262> introduces two types of weights, the weights on individual variables and the weights on variable groups, and they are calculated during the clustering process. The feature group weighted k-means (fgkm) by Xiaojun Chen, Yunminng Ye, Xiaofei Xu and Joshua Zhexue Huang (2012) <doi:10.1016/j.patcog.2011.06.004> extends this concept by grouping features and weighting the group in addition to weighting individual features.

Downloads

CRAN

553

Last 30 days

6793rd

1.1K

Last 90 days

4.9K

Last year

Trend: +80.7% (30d vs prior 30d)

r2u CRAN

24

Last 30 days

141

Last 90 days

411

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

5

Last 7 days

15

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

3,118

Files

36

Compiled share

46%

Has compiled src

Yes

Language breakdown

R 346 (11.1%)C/C++/src 1,435 (46%)Tests 770 (24.7%)Docs 567 (18.2%)

API

Exported functions

3

Internal functions

3

Testing & CI

Has tests

Yes

Test-to-code ratio

2.23

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2014-05-29

Latest release

2020-04-04

Avg cadence

59 days

Cold removal rate

Dep drift

4

LOC over versions

v1.4.0: 2,772 LOCv1.4.7: 2,772 LOCv1.4.11: 2,822 LOCv1.4.19: 3,067 LOCv1.4.28: 3,069 LOCv1.4.36: 3,106 LOCv1.4.37: 3,106 LOCv1.4.40: 3,118 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies lattice latticeExtra fpc wskm

Version History

9 tracked
new 1.4.40 Mar 10, 2026
updated 1.4.40 ← 1.4.37 diff Apr 4, 2020
updated 1.4.37 ← 1.4.36 diff Apr 1, 2020
updated 1.4.36 ← 1.4.28 diff Mar 15, 2020
updated 1.4.28 ← 1.4.19 diff Jul 7, 2015
updated 1.4.19 ← 1.4.11 diff Dec 25, 2014
updated 1.4.11 ← 1.4.7 diff Jul 30, 2014
updated 1.4.7 ← 1.4.0 diff Jun 1, 2014
new 1.4.0 May 28, 2014