← Back to home
Comparison · Infra & APIs

mdatools vs midr

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

mdatools vs midr: at a glance

Featuremdatoolsmidr
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themeschemometrics, spectroscopy, classification, multiway-analysisexplainable-ai, surrogate-models, shapley, survival-analysis
Last editorial update2h ago1h ago
WebsiteVisit →Visit →

What is mdatools?

mdatools spun out its cross-validation method, then came back for three-way data.

mdatools is a long-running chemometrics package covering PCA, PLS regression, SIMCA and DD-SIMCA classification, MCR resolution and a large spectral preprocessing framework. Its releases are infrequent and each one tends to carry one substantive idea plus a handful of fixes. The June release opens a direction the package had not previously taken: DD-SIMCA classification of three-way data, through PARAFAC and Tucker decompositions.

Read the full mdatools 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 →

mdatools vs midr: editorial side-by-side

M
mdatools
INFRA · APIS
0.0

mdatools spun out its cross-validation method, then came back for three-way data.

◆ Current state

mdatools is a long-running chemometrics package covering PCA, PLS regression, SIMCA and DD-SIMCA classification, MCR resolution and a large spectral preprocessing framework. Its releases are infrequent and each one tends to carry one substantive idea plus a handful of fixes. The June release opens a direction the package had not previously taken: DD-SIMCA classification of three-way data, through PARAFAC and Tucker decompositions.

◆ Where it's heading

The shape of the package has been managed deliberately rather than allowed to sprawl. Procrustes cross-validation grew large enough to warrant its own package and was moved out to pcv in 0.14.0; preprocessing was consolidated in 0.12.0 into a composable prep() framework rather than a set of loose functions. Around that, the recurring work is numerical: a more stable SIMPLS implementation, cross-validation rewritten to accept user-supplied segment indices, prep.savgol() and prep.alsbasecorr() rewritten for speed, and now the baseline iteration default raised to match the web applications the maintainer also runs.

◆ Prediction

Three-way DD-SIMCA arrives with two decompositions and no companion regression or resolution methods for multiway data, so extending the multiway path to the rest of the toolkit is the obvious follow-up. The alignment of defaults with the maintainer's web applications suggests those two codebases will keep being reconciled.

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

See all mdatools alternatives → · See all midr alternatives →

Recent activity from mdatools and midr

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

  1. 1mo agomdatoolsDD-SIMCA classification arrives for three-way data
  2. 5mo agomidrMatrix responses bring multi-class and survival models in scope
  3. 5mo agomdatoolsv. 0.15.0
  4. 7mo agomidrFirst CRAN release: MID surrogate models for black-box explanation
  5. 7mo agomidrMemory-efficient fitting for large design matrices
  6. 2y agomdatoolsData frames converted to matrices automatically for model training
  7. 3y agomdatoolscv.scope lets centering and scaling follow the global or local set
  8. 3y agomdatoolsProcrustes cross-validation moves out to its own pcv package
  9. 3y agomdatoolsgetRegcoeffs() fixed for unscaled models; ipls() gains a full mode

Frequently asked questions

What is the difference between mdatools and midr?

They serve adjacent needs but don't currently overlap on shipped themes. mdatools 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 mdatools better than midr?

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

Top mdatools alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "mdatools alternatives" section above for the current picks, or visit /alternatives/mdatools 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.