← Back to home
Comparison · Infra & APIs

anticlust vs BAS

A side-by-side editorial comparison of anticlust and BAS — release velocity, themes, recent moves, and the top alternatives to consider.

anticlust vs BAS: at a glance

FeatureanticlustBAS
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesanticlustering, experimental-design, constraint-solving, optimizationbayesian-statistics, model-averaging, mcmc, r-package
Last editorial update1h ago55m ago
WebsiteVisit →Visit →

What is anticlust?

Anticlustering keeps absorbing constraints — must-link, cannot-link, blocks, missing data

anticlust partitions a set of items into groups that are as similar to each other as possible — assembling matched stimulus sets, balanced experimental conditions, comparable teaching groups. The current surface is one function, anticlustering(), with a growing list of things it will honour: must-link and cannot-link constraints, categorical variables as factors, NAs, blocking by a categorical level, and a choice among exact solvers and heuristics.

Read the full anticlust trajectory →

What is BAS?

A Bayesian model-averaging package spending its 2.0 on memory, not methods.

BAS performs Bayesian variable selection and model averaging for linear and generalized linear models, sampling from a model space too large to enumerate. The visible history splits cleanly: 2023-2024 added sampling machinery — an adaptive independent MCMC sampler with Horvitz-Thompson estimation, hereditary-constraint counting — while 2.0.0 in late 2025 reworked how sampler output is allocated in C. The 2.0.2 patch is a PROTECT fix for rchk warnings.

Read the full BAS trajectory →

anticlust vs BAS: editorial side-by-side

A
anticlust
INFRA · APIS
0.0

Anticlustering keeps absorbing constraints — must-link, cannot-link, blocks, missing data

◆ Current state

anticlust partitions a set of items into groups that are as similar to each other as possible — assembling matched stimulus sets, balanced experimental conditions, comparable teaching groups. The current surface is one function, anticlustering(), with a growing list of things it will honour: must-link and cannot-link constraints, categorical variables as factors, NAs, blocking by a categorical level, and a choice among exact solvers and heuristics.

◆ Where it's heading

Two years of releases have gone almost entirely into constraint handling and input tolerance rather than new objectives. The methods list grew by absorbing outside work — the three-phase search of Yang et al. contributed by an external author, a 2PML heuristic for must-link problems, a Gurobi backend for the exact formulations. Meanwhile categories_to_binary() has been rewritten twice, which is where the recent bugs have come from.

◆ Prediction

The constraint types now interact combinatorially — blocks, must-link, cannot-link, missing values and each objective — and the last two releases were both regressions in the encoding layer underneath them. Consolidating that layer is the more likely next move than another solver.

B
BAS
INFRA · APIS
0.0

A Bayesian model-averaging package spending its 2.0 on memory, not methods.

◆ Current state

BAS performs Bayesian variable selection and model averaging for linear and generalized linear models, sampling from a model space too large to enumerate. The visible history splits cleanly: 2023-2024 added sampling machinery — an adaptive independent MCMC sampler with Horvitz-Thompson estimation, hereditary-constraint counting — while 2.0.0 in late 2025 reworked how sampler output is allocated in C. The 2.0.2 patch is a PROTECT fix for rchk warnings.

◆ Where it's heading

Memory is the binding constraint and the releases say so directly. The hereditary-constraint counter, the GROW option, and the replacement of over-allocation with resizing all attack the same problem: n.models is a guess, and guessing high wastes memory on problems where few unique models are actually visited. The 2.0.0 work was additionally forced by R tightening its C API against non-API calls like SETLENGTH, a constraint every C-heavy CRAN package has been absorbing. Method development has been quiet since 1.7.x.

◆ Prediction

The 1.7.5 notes call the hereditary-constraint counting a first step and say future updates will cover other constraint types, including polynomials, which remain unhandled. That is the one concrete commitment in this history, though nothing since has returned to it.

Alternatives to anticlust and BAS

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either anticlust or BAS.

See all anticlust alternatives → · See all BAS alternatives →

Recent activity from anticlust and BAS

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 4mo agoanticlustOne-hot encoding regression from 0.8.13 reverted
  2. 8mo agoBASBAS 2.0.2
  3. 8mo agoBASBAS 2.0.0
  4. 8mo agoanticlustblocks argument applies anticlustering level by level
  5. 9mo agoanticlustMissing values, factor columns, and the three-phase search
  6. 1y agoanticlustEdge cases in the previous release's cannot-link handling
  7. 1y agoanticlustVector cannot-link constraints skip the solver entirely
  8. 1y agoanticlustUncaught test error flagged by CRAN additional checks
  9. 1y agoBASBAS 1.7.5
  10. 1y agoBASBAS 1.7.3
  11. 1y agoBASBAS 1.7.2
  12. 2y agoBASBAS 1.7.1

Frequently asked questions

What is the difference between anticlust and BAS?

They serve adjacent needs but don't currently overlap on shipped themes. anticlust and BAS are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is anticlust better than BAS?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. anticlust and BAS are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to anticlust?

Top anticlust alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "anticlust alternatives" section above for the current picks, or visit /alternatives/anticlust for the full list with editorial commentary on each.

What are the best alternatives to BAS?

Top BAS alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "BAS alternatives" section above for the current picks, or visit /alternatives/bas for the full list with editorial commentary on each.