← Back to home
Comparison · Analytics

cubist vs tglkmeans

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

Shared themes:r-package

cubist vs tglkmeans: at a glance

Featurecubisttglkmeans
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesmachine-learning, rule-based-models, tidymodels, reproducibilityr-package, clustering, missing-data, correctness
Last editorial update59m ago2h ago
WebsiteVisit →Visit →

What is cubist?

The R port of Quinlan's Cubist gets reproducibility fixes, not new modelling

Cubist is the R interface to Quinlan's rule-based regression model, wrapping the original C sources behind an R API and feeding the tidymodels rules package. The 0.6.0 release adds a strip_time_stamps control that removes date, time and duration information from model output, and now errors rather than silently misbehaving when a date or date-time column is passed. Error reporting moves from base stop() and warning() to cli.

Read the full cubist trajectory →

What is tglkmeans?

A k-means implementation that just told users their Spearman clustering on missing data was wrong

tglkmeans is a multi-core k-means implementation with seeding, aimed at single-cell and other large matrix workloads. Version 0.4.0 flipped the id_column default and moved to R's random number generator, 0.5.x added count-matrix downsampling and fixed id handling, and 0.6.3 in May 2026 is a correctness release: Spearman distance was ranking missing values as the largest value instead of dropping them, and predict_tgl_kmeans() with Euclidean distance did not reproduce the training metric when a cluster center had a missing dimension.

Read the full tglkmeans trajectory →

cubist vs tglkmeans: editorial side-by-side

C
cubist
ANALYTICS
0.0

The R port of Quinlan's Cubist gets reproducibility fixes, not new modelling

◆ Current state

Cubist is the R interface to Quinlan's rule-based regression model, wrapping the original C sources behind an R API and feeding the tidymodels rules package. The 0.6.0 release adds a strip_time_stamps control that removes date, time and duration information from model output, and now errors rather than silently misbehaving when a date or date-time column is passed. Error reporting moves from base stop() and warning() to cli.

◆ Where it's heading

The direction is custodial: this is a mature algorithm with a stable definition, so the work is making a decades-old C codebase behave predictably inside a modern R workflow. The reproducibility thread is the clearest one — embedded timestamps mean two identical models compare as different objects, which breaks caching, testing and any workflow that hashes results. Alongside it runs slow C hygiene, from keyword symbol overwrites in 0.5.0 to unused-variable warnings in 0.6.0.

◆ Prediction

Expect continued small maintenance releases tracking CRAN compiler requirements and the needs of the rules package, with no change to the modelling algorithm itself.

T
tglkmeans
ANALYTICS
0.0

A k-means implementation that just told users their Spearman clustering on missing data was wrong

◆ Current state

tglkmeans is a multi-core k-means implementation with seeding, aimed at single-cell and other large matrix workloads. Version 0.4.0 flipped the id_column default and moved to R's random number generator, 0.5.x added count-matrix downsampling and fixed id handling, and 0.6.3 in May 2026 is a correctness release: Spearman distance was ranking missing values as the largest value instead of dropping them, and predict_tgl_kmeans() with Euclidean distance did not reproduce the training metric when a cluster center had a missing dimension.

◆ Where it's heading

The package handles missing data across three distance metrics, and 0.6.3 shows those paths had drifted apart — Spearman behaved unlike Euclidean and Pearson, and prediction behaved unlike training. Both fixes change results on affected data, and the release notes are careful to bound exactly where: Spearman on data with NAs changes, complete data does not. Performance work runs alongside, with the dense per-thread vote matrix removed from the reassignment step.

◆ Prediction

With the metric paths now aligned on missing-value handling, further work is more likely to target the parallel reassignment internals than the distance semantics.

Alternatives to cubist and tglkmeans

Other Analytics 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 cubist or tglkmeans.

See all cubist alternatives → · See all tglkmeans alternatives →

Recent activity from cubist and tglkmeans

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

  1. 2mo agotglkmeansSpearman metric no longer ranks missing values as the largest
  2. 5mo agocubiststrip_time_stamps makes fitted models reproducible
  3. 9mo agocubistCubist 0.5.1
  4. 1y agocubistCubist 0.5.0
  5. 2y agocubistCubist 0.4.4
  6. 2y agotglkmeansFixes corrupted cluster ids and dropped dimnames
  7. 2y agotglkmeansAdds downsample_matrix() for count matrices
  8. 2y agotglkmeansBreaking: id_column defaults to FALSE, switches to R's RNG
  9. 4y agocubistCubist 0.4.0

Frequently asked questions

What is the difference between cubist and tglkmeans?

Both compete on the same themes — r-package — within Analytics. cubist and tglkmeans 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 cubist better than tglkmeans?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. cubist and tglkmeans 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 Analytics products to evaluate alongside.

What are the best alternatives to cubist?

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

What are the best alternatives to tglkmeans?

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