← Back to home
Comparison · Infra & APIs

mdatools vs prospectr

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

Shared themes:spectroscopyr-packages

mdatools vs prospectr: at a glance

Featuremdatoolsprospectr
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themeschemometrics, spectroscopy, classification, multiway-analysisspectroscopy, signal-processing, preprocessing, calibration-sampling
Last editorial update1h 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 prospectr?

prospectr spent its biggest release in years fixing spectra it had been quietly mangling.

prospectr provides the signal-processing layer for near-infrared and visible spectroscopy in R — Savitzky-Golay and gap-segment derivatives, standard normal variate, detrending, continuum removal, splice correction, plus calibration sampling algorithms like Kennard-Stone and DUPLEX and readers for ASD and BUCHI NIRCal instrument files. The May release is the substantial one: a long list of corrections to functions that were returning wrong or missing values rather than failing.

Read the full prospectr trajectory →

mdatools vs prospectr: 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.

P
prospectr
INFRA · APIS
0.0

prospectr spent its biggest release in years fixing spectra it had been quietly mangling.

◆ Current state

prospectr provides the signal-processing layer for near-infrared and visible spectroscopy in R — Savitzky-Golay and gap-segment derivatives, standard normal variate, detrending, continuum removal, splice correction, plus calibration sampling algorithms like Kennard-Stone and DUPLEX and readers for ASD and BUCHI NIRCal instrument files. The May release is the substantial one: a long list of corrections to functions that were returning wrong or missing values rather than failing.

◆ Where it's heading

The recent work is corrective rather than additive, and several items changed results silently before being caught. continuumRemoval() derived its convex-hull boundary offset from a fixed one-wavelength assumption that broke for fine-resolution spectra or non-nanometre units; cochranTest() passed an invalid argument name to prcomp() and produced incorrect principal component scores; readASD() silently dropped spectra in one branch of its text path. Two file readers were leaking connections. Alongside that runs a smaller thread of decoupling preprocessing steps from each other, most visibly detrend() gaining an snv argument so polynomial detrending can run without the SNV transform that Barnes et al. bundled with it.

◆ Prediction

The detrend() decoupling is the only recent addition and it fits a broader pipeline-composition direction, so similar separation of other bundled preprocessing steps is the plausible next move. The misspelled substraction argument now carries a deprecation warning, which schedules its removal for a future release.

Alternatives to mdatools and prospectr

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 prospectr.

See all mdatools alternatives → · See all prospectr alternatives →

Recent activity from mdatools and prospectr

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

  1. 1mo agomdatoolsDD-SIMCA classification arrives for three-way data
  2. 1mo agoprospectrdetrend() can run without a prior SNV transformation
  3. 2mo agoprospectrContinuum removal, SNV and cochranTest corrected; readers stop leaking
  4. 5mo agomdatoolsv. 0.15.0
  5. 1y agoprospectrread_nircal() sample ID field fix
  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
  10. 3y agoprospectrNon-UTF8 sample IDs no longer become NA
  11. 4y agoprospectrkenStone() bug fix
  12. 4y agoprospectrread_nircal() execution failure fixed

Frequently asked questions

What is the difference between mdatools and prospectr?

Both compete on the same themes — spectroscopy, r-packages — within Infra & APIs. mdatools and prospectr 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 prospectr?

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

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