← Back to home
Comparison · Analytics

discrim vs timetk

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

discrim vs timetk: at a glance

Featurediscrimtimetk
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, discriminant analysis, parsnip extension, classificationtime-series, anomaly-detection, visualization, feature-engineering
Last editorial update4h ago1h 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 timetk?

timetk swallowed anomalize whole, then went quiet for two years

timetk handles time series wrangling, visualization, and feature engineering in a tidyverse idiom. Its defining recent move was absorbing the anomalize package outright in 2.9.0, bringing anomaly detection, cleaning, and the associated plots inside timetk rather than leaving them in a sibling package. Development then paused for nearly two years before 2.9.1, a robustness and documentation release.

Read the full timetk trajectory →

discrim vs timetk: 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.

T
timetk
ANALYTICS
0.0

timetk swallowed anomalize whole, then went quiet for two years

◆ Current state

timetk handles time series wrangling, visualization, and feature engineering in a tidyverse idiom. Its defining recent move was absorbing the anomalize package outright in 2.9.0, bringing anomaly detection, cleaning, and the associated plots inside timetk rather than leaving them in a sibling package. Development then paused for nearly two years before 2.9.1, a robustness and documentation release.

◆ Where it's heading

The trajectory before the pause was consolidation: fold in adjacent functionality, then make the visualization layer handle many series at once via trelliscopejs, then broaden feature generation with tk_tsfeatures(). The recent release works on the least glamorous layer — internal generics so date parsing and sequence generation behave consistently across Date, POSIXct, hms, yearmon, and yearqtr — which is the kind of foundation work a package does when it has accumulated too many special cases. The long gap and the CI-refresh content suggest maintenance attention rather than a new direction.

◆ Prediction

The stated gap is the unimplemented twitter method for anomalize(), which is the one concrete outstanding item the release notes name; beyond that the recent work points to consolidation rather than expansion.

Alternatives to discrim and timetk

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

See all discrim alternatives → · See all timetk alternatives →

Recent activity from discrim and timetk

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

  1. 8mo agodiscrimFix for FDA models failing at prediction time
  2. 11mo agotimetktimetk 2.9.1 makes date parsing consistent across time classes
  3. 11mo agodiscrimDocumentation links updated to stay on CRAN
  4. 2y agotimetktimetk 2.9.0 absorbs the anomalize package
  5. 4y agodiscrimCase weights enabled for flexible and linear discriminant models
  6. 4y agotimetktimetk 2.8.1 exposes trelliscope plotting parameters
  7. 4y agotimetktimetk 2.8.0 adds trelliscopejs support for many-series plots
  8. 4y agodiscrimModel definitions moved upstream into parsnip
  9. 4y agotimetktimetk 2.7.0 adds tk_tsfeatures() for grouped feature matrices
  10. 4y agotimetktimetk 2.6.2 adds .week_start and facet direction controls
  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 timetk?

They serve adjacent needs but don't currently overlap on shipped themes. discrim and timetk 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 timetk?

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

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