kmodR
0.2.0K-Means with Simultaneous Outlier Detection
Overview
An implementation of the 'k-means--' algorithm proposed by Chawla and Gionis, 2013 in their paper, "k-means-- : A unified approach to clustering and outlier detection. SIAM International Conference on Data Mining (SDM13)", doi:10.1137/1.9781611972832.21 and using 'ordering' described by Howe, 2013 in the thesis, Clustering and anomaly detection in tropical cyclones". Useful for creating (potentially) tighter clusters than standard k-means and simultaneously finding outliers inexpensively in multidimensional space.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 5 max
- Test cases
- 6 / 0.19 per code line
Test coverage
Line coverage
11%
Expression
13.0%
Tests / Examples
11.3% / 77% ex
Functions
15 1 exported
Complexity
1.7 avg / 5 max
Call network
15 nodes / 15 edges
Call graph
Open call graph →Lowest coverage
15 functions| Function | Cyclo | Coverage |
|---|---|---|
| kmod exp | 5 | 0% |
| converged | 4 | 0% |
| delta_C | 1 | 0% |
| get_C_sizes | 1 | 0% |
| get_Ci | 1 | 0% |
| get_c | 1 | 0% |
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.2.0Latest
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 0.1.02015-03-26
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2015-03-26
- Total releases
- 2 / 11 yrs
- License
- GPL-3 OSI
- Download size
- 11 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet