Releases: m-Py/anticlust
Releases · m-Py/anticlust
Version 0.8.13
anticlust 0.8.13
User visible changes
anticlustering()has a new argumentblocksused to sequentially apply anticlustering to different levels of a categorical variablecategories_to_binary()no longer throws an error when a categorical variable only has 1 level
Documentation
- Extended documentation on the data input that is accepted by
anticlustering() - Extended documentation in
categories_ton_binary()
Internal
- Some changes in input validation for distance matrices (which is now also explicated in the documentation to
anticlustering()) anticlustagain suggestspalmerpenguins(because the base R data set is not yet available on all CRAN testing machines)
Version 0.8.12
anticlust 0.8.12
anticlustering()now has support for handling NAsanticlustering()now acceptsfactorvariables as columns of the data argumentxto handle categorical variablesanticlustering()withmust_linkconstraints now supportsobjective = "kplus"andobjective = "variance"(for equal-sized groups)anticlustering()now supportsmethod = "3phase", calling the three phase search algorithm by Yang et al., contributed by Hannah Hengelbrock (@HanneyAI)categories_to_binary()now treatsNAs as a separate categoryanticlustnow suggests packagesMASSandtableone(for vignettes) and no longer suggests packagepalmerpenguins- A new data set of rating norms is available, published by Brunel et al. (2025)
Version 0.8.11-1
anticlust 0.8.11-1
- Fixes some edges cases of functionality introduced in last update
Version 0.8.11
anticlust 0.8.11
- In
anticlustering(), argument cannot_link can now be a vector, via 93158fb98a375, inspiration thanks to @einGlasRotwein- Makes the computation potentially much faster (and does not rely on a solver) if cannnot-link constraints are induced via a grouping variable.
Version 0.8.10-1
anticlust 0.8.10-1
- Minor: Fixed uncatched potential error in tests for CRAN "additional issues" via 75cb7d5760be08b0bb
Version 0.8.10
anticlust 0.8.10
- The commercial Gurobi solver is now available as backened for the exact anticlustering methods
- The documentation refers to a new anticlustering paper, available from bioRxiv
Version 0.8.9-1
anticlust 0.8.9-1
- Minor fix in
three_phase_search_anticlustering()forobjective = "dispersion"to address CRAN issue
Version 0.8.9
anticlust 0.8.9
User visible changes
categories_to_binary()no longer uses dummy coding with a reference category, but instead codes each levels of a categorical variable with a separate variable (thanks to Gunnar Klau for spotting potential problems with dummy coding).anticlustering()has newmethod = "2PML", which is an improved heuristic when using must-link constraints
Version 0.8.8
anticlust 0.8.8
three_phase_search_anticlustering()implements the three phase search algorithm by Yang et al., contributed by Hannah Hengelbrock (@HanneyAI)
Version 0.8.7
anticlust 0.8.7
User visible changes
anticlustering()now has an argumentmust_link, which can be used force elements into the same cluster- It is now possible that a cluster (e.g., in
anticlustering()) only has 1 member (this threw an error before)
Bug fixes
diversity_objective()is now computed correctly when a cluster only has one member (fixed via 8403fab1461b2cda8)- Fixed a memory leak in
anticlustering(..., objective = "diversity")thanks to @Hanney100 (via 24c244faf8b2c0774071)