JuliaDynamics / TransferEntropy.jl

Transfer entropy (conditional mutual information) estimators for the Julia language
https://juliadynamics.github.io/CausalityTools.jl/stable/
Other
14 stars 5 forks source link

Bug fix in `mutualinfo` for naive neighbor-based estimators #85

Closed kahaaga closed 2 years ago

kahaaga commented 2 years ago

The last line of code in mutualinfo for naive neighbor-based estimators was not included. Previously, only the joint entropy was returned.

codecov-commenter commented 2 years ago

Codecov Report

Merging #85 (624371b) into master (c8dbad3) will increase coverage by 0.04%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
+ Coverage   79.11%   79.15%   +0.04%     
==========================================
  Files          10       10              
  Lines         474      475       +1     
==========================================
+ Hits          375      376       +1     
  Misses         99       99              
Impacted Files Coverage Δ
src/mutualinfo/nearestneighbor.jl 100.00% <100.00%> (ø)
src/transferentropy/autoutils.jl 96.06% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more