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
I am not sure if this is not by design for some reason, but if I initialise e.g. ActiveInfoStorageCalculatorKraskov with an embedding length of 3, calculator.initialise(3, 1), and add observations that have dimension of 2, I get an exception when I call finaliseAddObservations. it seems I can't use an embedding length that is equal or higher than the number of time series in observations. Actually tau*k needs to be less than the number of time series.
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at infodynamics.utils.MatrixUtils.sums(MatrixUtils.java:199)
at infodynamics.utils.MatrixUtils.means(MatrixUtils.java:341)
at infodynamics.measures.continuous.MutualInfoMultiVariateCommon.finaliseAddObservations(MutualInfoMultiVariateCommon.java:470)
at infodynamics.measures.continuous.kraskov.MutualInfoCalculatorMultiVariateKraskov.finaliseAddObservations(MutualInfoCalculatorMultiVariateKraskov.java:296)
at infodynamics.measures.continuous.ActiveInfoStorageCalculatorViaMutualInfo.prepareMICalculator(ActiveInfoStorageCalculatorViaMutualInfo.java:654)
at infodynamics.measures.continuous.ActiveInfoStorageCalculatorViaMutualInfo.finaliseAddObservations(ActiveInfoStorageCalculatorViaMutualInfo.java:615)
The text was updated successfully, but these errors were encountered:
I am not sure if this is not by design for some reason, but if I initialise e.g. ActiveInfoStorageCalculatorKraskov with an embedding length of 3, calculator.initialise(3, 1), and add observations that have dimension of 2, I get an exception when I call finaliseAddObservations. it seems I can't use an embedding length that is equal or higher than the number of time series in observations. Actually tau*k needs to be less than the number of time series.
MutualInfoMultiVariateCommon.finaliseAddObservations
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at infodynamics.utils.MatrixUtils.sums(MatrixUtils.java:199)
at infodynamics.utils.MatrixUtils.means(MatrixUtils.java:341)
at infodynamics.measures.continuous.MutualInfoMultiVariateCommon.finaliseAddObservations(MutualInfoMultiVariateCommon.java:470)
at infodynamics.measures.continuous.kraskov.MutualInfoCalculatorMultiVariateKraskov.finaliseAddObservations(MutualInfoCalculatorMultiVariateKraskov.java:296)
at infodynamics.measures.continuous.ActiveInfoStorageCalculatorViaMutualInfo.prepareMICalculator(ActiveInfoStorageCalculatorViaMutualInfo.java:654)
at infodynamics.measures.continuous.ActiveInfoStorageCalculatorViaMutualInfo.finaliseAddObservations(ActiveInfoStorageCalculatorViaMutualInfo.java:615)
The text was updated successfully, but these errors were encountered: