anticlust
Subset Partitioning via Anticlustering
Anticlustering keeps absorbing constraints — must-link, cannot-link, blocks, missing data
◆Recent moves
- 4mo ago
One-hot encoding regression from 0.8.13 reverted
A correction to the internals that turn categorical variables into the binary columns the objectives operate on — broken across two prior releases. The encoding layer has now been the source of both of the last two fixes.
View source ↗ - 8mo ago
blocks argument applies anticlustering level by level
A blocks argument runs anticlustering sequentially within the levels of a categorical variable, the standard blocked-design pattern, and categories_to_binary() stops erroring on single-level factors. Continues the pattern of teaching one function to accept more shapes of input.
View source ↗ - 9mo ago
Missing values, factor columns, and the three-phase search
The broadest input-tolerance release in the window: anticlustering() handles NAs and takes factor columns directly, must-link constraints work with the kplus and variance objectives, and method='3phase' exposes the Yang et al. algorithm contributed by an outside author.
View source ↗ - 1y ago
Edge cases in the previous release's cannot-link handling
A same-day follow-up patching corners of the vectorised cannot-link support shipped 35 minutes earlier.
View source ↗ - 1y ago
Vector cannot-link constraints skip the solver entirely
cannot-link constraints can be given as a vector, and when they come from a grouping variable the problem is solved without invoking a solver at all. A constraint that was expensive to express becomes the cheap path.
View source ↗ - 1y ago
Uncaught test error flagged by CRAN additional checks
A CRAN-driven patch to the test suite with no change to package behaviour.
View source ↗