You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to come from the fact, that there are two arguments (x_val and z_val) defined in run_nonlincausality but not in run_nonlincausalityMLP or run_nonlincausalityLSTM, why you get this error for both functions. There is no description of the two arguments either in utils.py or run_nonlincausality.py. In run_nonlincausalityNN they are defined, but you get another error: X_val = x_val[lag:, 0]
line 149 TypeError: list indices must be integers or slices, not tuple. The idea for this package is great, I hope the issue can be resolved.
Nonlincausality/nonlincausality/nonlincausality.py
Lines 497 to 499 in 5d77e8f
The three argument is not aligned to the definition of
run_nonlincausality
and will cause the following issue:Suggestion:
The same thing should be fixed in the definitions of other neural network types.
The text was updated successfully, but these errors were encountered: