Skip to content

Commit

Permalink
Update TLMI
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuabmoore committed Aug 24, 2024
1 parent 70b8b25 commit dc46701
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyspi/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@
# Mutual information
TimeLaggedMutualInfo:
labels:
- undirected
- directed
- nonlinear
- unsigned
- bivariate
Expand Down
2 changes: 1 addition & 1 deletion pyspi/fast_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
# Mutual information
TimeLaggedMutualInfo:
labels:
- undirected
- directed
- nonlinear
- unsigned
- bivariate
Expand Down
4 changes: 2 additions & 2 deletions pyspi/statistics/infotheory.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@ def bivariate(self, data, i=None, j=None, verbose=False):
return np.nan


class TimeLaggedMutualInfo(MutualInfo):
class TimeLaggedMutualInfo(JIDTBase, Directed):
name = "Time-lagged mutual information"
identifier = "tlmi"
labels = ["unsigned", "infotheory", "temporal", "undirected"]
labels = ["unsigned", "infotheory", "temporal", "directed"]

def __init__(self, **kwargs):
super().__init__(**kwargs)
Expand Down

0 comments on commit dc46701

Please sign in to comment.