← Back to home
Comparison · Analytics

desirability2 vs discrim

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

Shared themes:tidymodels

desirability2 vs discrim: at a glance

Featuredesirability2discrim
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, multi-objective optimization, model selection, desirability functionstidymodels, discriminant analysis, parsnip extension, classification
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is desirability2?

desirability2 is making multi-metric model selection a first-class tidymodels step.

desirability2 implements desirability functions, which map several metrics onto a common 0-1 scale so they can be combined into a single objective. The package is young: three releases, the first of which only added a NEWS file. Its substance arrived in 0.1.0 with hooks into tidymodels' tune package.

Read the full desirability2 trajectory →

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 →

desirability2 vs discrim: editorial side-by-side

D
desirability2
ANALYTICS
0.0

desirability2 is making multi-metric model selection a first-class tidymodels step.

◆ Current state

desirability2 implements desirability functions, which map several metrics onto a common 0-1 scale so they can be combined into a single objective. The package is young: three releases, the first of which only added a NEWS file. Its substance arrived in 0.1.0 with hooks into tidymodels' tune package.

◆ Where it's heading

The direction is integration rather than standalone use. Version 0.1.0 added select_best_desirability() and show_best_desirability() to resolve a tuning run against several metrics at once; 0.2.0 exported make_desirability_cols() so other packages can build on it and made data-driven limits the default, removing the need to state ranges by hand. Both releases move work from the user into the package.

◆ Prediction

The exported helper and the developer-facing desirability() API point to adoption by other tidymodels packages as the next step rather than new functionality here.

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.

Alternatives to desirability2 and discrim

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

See all desirability2 alternatives → · See all discrim alternatives →

Recent activity from desirability2 and discrim

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

  1. 8mo agodiscrimFix for FDA models failing at prediction time
  2. 11mo agodiscrimDocumentation links updated to stay on CRAN
  3. 11mo agodesirability2make_desirability_cols() exported; data-driven limits on by default
  4. 1y agodesirability2Desirability-based model selection added for tune
  5. 3y agodesirability2NEWS.md added to track package changes
  6. 4y agodiscrimCase weights enabled for flexible and linear discriminant models
  7. 4y agodiscrimModel definitions moved upstream into parsnip
  8. 5y agodiscrimsda and sparsediscrim engines added for LDA and QDA
  9. 5y agodiscrimdiscrim_quad() added; package relicensed to MIT

Frequently asked questions

What is the difference between desirability2 and discrim?

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

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

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

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.