Skip to content

Commit

Permalink
Conditional mutual information (#160)
Browse files Browse the repository at this point in the history
* Update version to gain access to `conditional_mutualinfo``

* Reexport `conditional_mutualinfo`

* Docs for `conditional_mutualinfo`
  • Loading branch information
kahaaga authored May 23, 2022
1 parent 934cfec commit e1de394
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "CausalityTools"
uuid = "5520caf5-2dd7-5c5d-bfcb-a00e56ac49f7"
authors = ["Kristian Agasøster Haaga <[email protected]>", "Tor Einar Møller <[email protected]>", "George Datseris <[email protected]>"]
repo = "https://github.com/kahaaga/CausalityTools.jl.git"
version = "1.3.0"
version = "1.4.0"

[deps]
ChaosTools = "608a59af-f2a3-5ad4-90b4-758bdf3122a7"
Expand Down Expand Up @@ -44,7 +44,7 @@ SimpleDiffEq = "^1"
StaticArrays = "^1"
StatsBase = "^0.33"
TimeseriesSurrogates = "^1.2, 2"
TransferEntropy = "^1.7"
TransferEntropy = "^1.8"
Wavelets = "0.9"
julia = "^1.6"

Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.4.0

### New methods

- Added [`conditional_mutualinfo`](@ref).

## 1.3.0

### Example systems
Expand Down
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ PAGES = [
],
"Information/entropy based" => [
"mutualinfo.md",
"conditional_mutualinfo.md",
"TransferEntropy.md",
"predictive_asymmetry.md",
"generalized_entropy.md",
Expand Down
5 changes: 5 additions & 0 deletions docs/src/conditional_mutualinfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Conditional mutual information

```@docs
conditional_mutualinfo
```
4 changes: 2 additions & 2 deletions src/CausalityTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module CausalityTools
export trajectory, DiscreteDynamicalSystem, ContinuousDynamicalSystem, Dataset

import TransferEntropy
import TransferEntropy: transferentropy, mutualinfo, Hilbert
export transferentropy, mutualinfo, Hilbert
import TransferEntropy: transferentropy, mutualinfo, conditional_mutualinfo, Hilbert
export transferentropy, mutualinfo, conditional_mutualinfo, Hilbert
@reexport using Entropies
@reexport using TransferEntropy
@reexport using TimeseriesSurrogates
Expand Down

2 comments on commit e1de394

@kahaaga
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/60852

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.4.0 -m "<description of version>" e1de3943a2ccb3c9997ca38e7a4fac025f1f8475
git push origin v1.4.0

Please sign in to comment.