JuliaDynamics / ComplexityMeasures.jl

Estimators for probabilities, entropies, and other complexity measures derived from data in the context of nonlinear dynamics and complex systems
MIT License
56 stars 14 forks source link

Leonenko-Prozano-Savani differential estimator for `Shannon`, `Renyi` and `Tsallis` entropies #310

Closed kahaaga closed 1 year ago

kahaaga commented 1 year ago

The title is descriptive enough. I'm cleaning up some todos in CausalityTools, and this estimator is one of those that got left behind when we did the first major refactoring of ComplexityMeasures.jl. Here it is, in all its multiple-entropies estimatory glory.

The docs are here.

Changes:

codecov[bot] commented 1 year ago

Codecov Report

Merging #310 (b0ef203) into main (35e9522) will increase coverage by 0.26%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #310      +/-   ##
==========================================
+ Coverage   87.49%   87.76%   +0.26%     
==========================================
  Files          75       76       +1     
  Lines        1879     1920      +41     
==========================================
+ Hits         1644     1685      +41     
  Misses        235      235              
Files Changed Coverage Δ
src/core/information_measures.jl 0.00% <ø> (ø)
..._estimators/nearest_neighbors/nearest_neighbors.jl 100.00% <ø> (ø)
...mators/nearest_neighbors/LeonenkoProzantoSavani.jl 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more