Changelog
Source:NEWS.md
gmeans 0.2.0
CRAN release: 2026-09-11
- Removed the mlr3 integration vignette since the learner now ships in mlr3cluster as
lrn("clust.gmeans"). -
gmeans()now errors whenk_initexceedsk_max. -
gmeans()now requires finite numeric input (logical is coerced to 0/1) and errors clearly when there are fewer distinct points than centers. -
gmeans()now errors clearly on input with zero rows or zero columns. -
predict.gmeans()now errors when the Minkowski powerpis not positive. -
predict.gmeans()andcompute_wss()now accept data frames with unused non-numeric columns and error clearly whennewdatais not a matrix or data frame. -
predict.gmeans()andcompute_wss()now error on a column mismatch betweennewdataand unnamed centers instead of returning wrong distances.