← Back to all sparks
K

kde1d

ANALYTICS
Velocity0.0

R package kde1d by tnagler — release notes from GitHub.

A univariate density estimator that added zero-inflated data and reopened its C++ API to do it.

density-estimationkernel-methodszero-inflationcpp-libraryr-package
Current state
kde1d estimates univariate densities with local polynomial kernel methods, handling bounded, discrete and now zero-inflated variables through a single type argument, with the numerical work in a header-only C++ library usable outside R. Version 1.1.0 added the zero-inflated discrete-continuous mixture case and shipped a new C++ API as an explicit breaking change; 1.1.1 followed in June with auto-generated notes and no description.
Where it's heading
The package has alternated between performance work and widening the class of data it accepts. The 1.0.0 release was the performance milestone — FFT-based estimation, a better integration algorithm for the p, q and r functions, deterministic jittering replacing randomness, and standalone C++ headers. The 1.1.0 release is the scope milestone, adding a third data type to the two it already handled. Releases come from the same maintainer as svines and cluster on shared dates, so changes in the underlying C++ surface across the vine and density stack tend to ship together.
Prediction
With the C++ API deliberately reworked for standalone use at 1.1.0, further work most plausibly consolidates that interface rather than adding data types. What 1.1.1 actually changed is not readable from its body.

Recent moves

  1. 1y ago

    kde1d 1.1.1

    Auto-generated GitHub release notes with only a pull request reference and a compare link. Released the same day as svines 0.2.7 from the same maintainer, fitting the coordinated-pass pattern across these packages.

    View source ↗
  2. 1y ago

    Zero-inflated mixtures and a new standalone C++ API

    ⚡ SPARK

    Adds zero-inflated discrete-continuous mixtures as a third supported data type, selected through a new type argument alongside continuous and discrete, and ships a breaking new C++ API aimed at standalone use. This widens what the estimator is for, not just how fast it runs.

    View source ↗
  3. 4y ago

    Bit-wise Boolean operations removed

    Avoids bit-wise operations on Boolean variables, a compiler-correctness fix with no effect on estimates.

    View source ↗
  4. 5y ago

    dkde1d() invisible output fixed

    Fixes dkde1d() returning output invisibly. A single printing-behaviour patch.

    View source ↗
  5. 5y ago

    Valgrind false positive silenced

    Prevents a valgrind false positive, stamped eight hours before 1.0.3 on the same day. Check-infrastructure work with no user-visible effect.

    View source ↗
  6. 6y ago

    qrng dependency dropped; undefined behaviour fixed

    Drops the qrng dependency and fixes undefined behaviour that could cause memory issues, plus rare NaN bandwidth cases. Stability repair following the 1.0.0 rewrite, released hours after it.

    View source ↗