← Back to all sparks
D

discrim

ANALYTICS
Velocity0.0

Discriminant analysis model engines for the parsnip modeling interface

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

tidymodelsdiscriminant analysisparsnip extensionclassificationengine wiring
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.

Recent moves

  1. 8mo ago

    Fix for FDA models failing at prediction time

    A single fix for flexible discriminant models that could fail when predicting. Representative of the package's current once-a-year maintenance cadence.

    View source ↗
  2. 11mo ago

    Documentation links updated to stay on CRAN

    A documentation-only release to satisfy CRAN link checking. No functional change.

    View source ↗
  3. 4y ago

    Case weights enabled for flexible and linear discriminant models

    Turns on case weights for discrim_flexible() and discrim_linear() under the mda engine, part of the ecosystem-wide case-weights rollout across tidymodels. The last functional addition in the visible history.

    View source ↗
  4. 4y ago

    Model definitions moved upstream into parsnip

    Relocates the model definition functions such as discrim_linear() into parsnip, leaving discrim to supply engines and prediction methods. A structural clarification that determined what the package has been ever since.

    View source ↗
  5. 5y ago

    sda and sparsediscrim engines added for LDA and QDA

    Adds an sda engine for shrunken discriminant analysis and exposes several regularized discriminant models from sparsediscrim. New engines under existing model types, broadening what can be fit without changing the interface.

    View source ↗
  6. 5y ago

    discrim_quad() added; package relicensed to MIT

    ⚡ SPARK

    Adds a new model type rather than another engine, completing the linear/quadratic pair, and relicenses the package from GPL-2 to MIT. Both changes widened who could use discrim and how, in a way no later release has.

    View source ↗