← Back to home
Comparison · Analytics

discrim vs workflows

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

Shared themes:tidymodels

discrim vs workflows: at a glance

Featurediscrimworkflows
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, discriminant analysis, parsnip extension, classificationtidymodels, pipelines, postprocessing, sparse-data
Last editorial update2h ago53m ago
WebsiteVisit →Visit →

What is discrim?

discrim settled into a thin engine shim after handing its model definitions to parsnip.

discrim is the parsnip extension for discriminant analysis, exposing linear, quadratic, flexible and regularized variants through the tidymodels interface. Its model definition functions moved into parsnip itself in 0.2.0, leaving this package as the engine and prediction layer. The two most recent releases are a documentation fix and a single prediction bug.

Read the full discrim trajectory →

What is workflows?

The tidymodels pipeline grew a third stage, and it happens after the model runs.

workflows bundles a preprocessor and a model into one object that tidymodels can fit, tune and extract from. Version 1.3.0 added a post stage backed by the tailor package, wired through every generic a workflow supports — augment, tidy, tunable, tune_args, required_pkgs and parameter extraction. Version 1.2.0 added sparse data support so fit() and predict() accept dgCMatrix and sparse tibbles. Earlier releases in view are boundary tightening: erroring on unknown model modes, on trained recipes, and on silently ignored formula offsets.

Read the full workflows trajectory →

discrim vs workflows: editorial side-by-side

D
discrim
ANALYTICS
0.0

discrim settled into a thin engine shim after handing its model definitions to parsnip.

◆ Current state

discrim is the parsnip extension for discriminant analysis, exposing linear, quadratic, flexible and regularized variants through the tidymodels interface. Its model definition functions moved into parsnip itself in 0.2.0, leaving this package as the engine and prediction layer. The two most recent releases are a documentation fix and a single prediction bug.

◆ Where it's heading

The package built out method coverage early, adding quadratic discriminant analysis in 0.1.2, the sda and sparsediscrim engines in 0.1.3 and case weights in 1.0.0, then stopped growing. Handing definitions upstream to parsnip in 0.2.0 confirmed the shape: discrim is where engines are wired, not where the API lives. Cadence since 2022 is roughly one small fix a year.

◆ Prediction

Nothing in the entries points to new methods or engines; the next release is most likely another CRAN or prediction-path fix.

W
workflows
ANALYTICS
0.0

The tidymodels pipeline grew a third stage, and it happens after the model runs.

◆ Current state

workflows bundles a preprocessor and a model into one object that tidymodels can fit, tune and extract from. Version 1.3.0 added a post stage backed by the tailor package, wired through every generic a workflow supports — augment, tidy, tunable, tune_args, required_pkgs and parameter extraction. Version 1.2.0 added sparse data support so fit() and predict() accept dgCMatrix and sparse tibbles. Earlier releases in view are boundary tightening: erroring on unknown model modes, on trained recipes, and on silently ignored formula offsets.

◆ Where it's heading

The object is filling out into a complete pipeline description rather than a preprocessing-plus-model pair. Postprocessing is the structural addition — calibration and threshold selection were previously done by hand after prediction, outside anything tidymodels could tune or record — and the fact that it arrived integrated with tunable() and tune_args() rather than as a standalone step is the point. The rest of the arc is the steady tidymodels habit of converting silent guesses into errors.

◆ Prediction

Expect tailor postprocessors to spread through tune and workflowsets next, since the parameter and tuning generics were wired up first, and expect sparse support to extend to more engines after lightgbm.

Alternatives to discrim and workflows

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 discrim or workflows.

See all discrim alternatives → · See all workflows alternatives →

Recent activity from discrim and workflows

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

  1. 8mo agodiscrimFix for FDA models failing at prediction time
  2. 11mo agoworkflowsWorkflows gain a postprocessing stage via tailor
  3. 11mo agodiscrimDocumentation links updated to stay on CRAN
  4. 1y agoworkflowsSparse matrices work through fit() and predict()
  5. 2y agoworkflowsaugment() aligns with parsnip; censored regression supported
  6. 3y agoworkflowsRegister tuning generics unconditionally
  7. 3y agoworkflowsMissing parsnip extensions now error early; unsupervised specs supported
  8. 3y agoworkflowsMode guessing removed; silent offset handling now errors
  9. 4y agodiscrimCase weights enabled for flexible and linear discriminant models
  10. 4y agodiscrimModel definitions moved upstream into parsnip
  11. 5y agodiscrimsda and sparsediscrim engines added for LDA and QDA
  12. 5y agodiscrimdiscrim_quad() added; package relicensed to MIT

Frequently asked questions

What is the difference between discrim and workflows?

Both compete on the same themes — tidymodels — within Analytics. discrim and workflows 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 discrim better than workflows?

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

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

What are the best alternatives to workflows?

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