← Back to home
Comparison · Infra & APIs

coga vs midr

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

Shared themes:r-package

coga vs midr: at a glance

Featurecogamidr
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesprobability-distributions, gamma-convolution, rcpp, maintenance-modeexplainable-ai, surrogate-models, shapley, survival-analysis
Last editorial update5h ago1h ago
WebsiteVisit →Visit →

What is coga?

A gamma-convolution density package that reached completion in 2018 and has coasted since.

coga computes densities, distribution functions and random numbers for convolutions of gamma distributions, with the numerical work in C++ through Rcpp. It has been feature-complete since 1.0.0 in 2018, and every release in the seven years since has been maintenance: a documentation alias for CRAN, a compiler warning, a maintainer email change, and an Rcpp update requiring Rf_error calls to be guarded. The one functional addition in that period, in 1.1.0, was an unexported function added explicitly for research use.

Read the full coga trajectory →

What is midr?

A black-box interpreter reaches CRAN, then learns multi-class and survival responses

midr explains black-box models by fitting an interpretable surrogate through Maximum Interpretation Decomposition — main effects plus second-order interactions, with exact Shapley values for the surrogate. Two months after its first CRAN release it can take a matrix response, which covers multi-class classification and survival models, and hold collections of fitted interpretations in midlist and midrib objects for comparison.

Read the full midr trajectory →

coga vs midr: editorial side-by-side

C
coga
INFRA · APIS
0.0

A gamma-convolution density package that reached completion in 2018 and has coasted since.

◆ Current state

coga computes densities, distribution functions and random numbers for convolutions of gamma distributions, with the numerical work in C++ through Rcpp. It has been feature-complete since 1.0.0 in 2018, and every release in the seven years since has been maintenance: a documentation alias for CRAN, a compiler warning, a maintainer email change, and an Rcpp update requiring Rf_error calls to be guarded. The one functional addition in that period, in 1.1.0, was an unexported function added explicitly for research use.

◆ Where it's heading

This is a finished package being kept alive rather than developed. The releases track external pressure exactly: CRAN documentation requirements, compiler warnings, Rcpp API changes. Its maintenance is visibly shared with smam, the same maintainer's animal-movement package, which received the same email update, the same format-security fix and the same Rcpp guard within a minute or twenty of coga each time. Neither package is being extended; both are being kept installable.

◆ Prediction

Expect nothing but CRAN and toolchain maintenance, arriving whenever Rcpp or R's check requirements change, and arriving alongside smam. There is no signal in these entries of planned functional work.

M
midr
INFRA · APIS
0.0

A black-box interpreter reaches CRAN, then learns multi-class and survival responses

◆ Current state

midr explains black-box models by fitting an interpretable surrogate through Maximum Interpretation Decomposition — main effects plus second-order interactions, with exact Shapley values for the surrogate. Two months after its first CRAN release it can take a matrix response, which covers multi-class classification and survival models, and hold collections of fitted interpretations in midlist and midrib objects for comparison.

◆ Where it's heading

The releases move outward along two axes at once: what can be interpreted, and how much of it fits in memory. Version 0.5.3 rebuilt the fitting path to avoid materialising large design matrices and added a save.memory option; 0.6.0 widened the response from a vector to a matrix and added parametric link functions. Class and argument names were shortened in the same release, so the package is still willing to break itself this early.

◆ Prediction

With multiple models now held in one object and visualisation methods for them, comparison across models is the surface most likely to fill out next — the collection classes exist but the notes describe manipulation and plotting rather than any comparison metric.

Alternatives to coga and midr

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 coga or midr.

See all coga alternatives → · See all midr alternatives →

Recent activity from coga and midr

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

  1. 5mo agomidrMatrix responses bring multi-class and survival models in scope
  2. 5mo agocogaRcpp attributes regenerated; email updated
  3. 7mo agomidrFirst CRAN release: MID surrogate models for black-box explanation
  4. 7mo agomidrMemory-efficient fitting for large design matrices
  5. 2y agocogaMaintainer email updated
  6. 2y agocogaCompiler format-security warning resolved
  7. 3y agocogaPackage documentation alias added for CRAN
  8. 6y agocogaUnexported density variant added for research use
  9. 8y agocoga1.0.0 declares the package complete and documented

Frequently asked questions

What is the difference between coga and midr?

Both compete on the same themes — r-package — within Infra & APIs. coga and midr 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 coga better than midr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. coga and midr 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 coga?

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

What are the best alternatives to midr?

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