mirror of https://github.com/jlizier/jidt
Switched coupled logistic map example for TE Delays paper with Wibral et al to use Kraskov type 1 estimator (this is much simpler for TE and conditional MI) as per TRENTOOL
This commit is contained in:
parent
9d36e5d9a6
commit
6196cb5710
|
@ -114,7 +114,7 @@ function coupledLogisticMap()
|
||||||
% Create a TE calculator and run it:
|
% Create a TE calculator and run it:
|
||||||
|
|
||||||
% Using a single conditional mutual information calculator is the least biased way to run this:
|
% Using a single conditional mutual information calculator is the least biased way to run this:
|
||||||
teCalc=javaObject('infodynamics.measures.continuous.kraskov.ConditionalMutualInfoCalculatorMultiVariateKraskov2');
|
teCalc=javaObject('infodynamics.measures.continuous.kraskov.ConditionalMutualInfoCalculatorMultiVariateKraskov1');
|
||||||
% Perform calculation for X -> Y (lag 1)
|
% Perform calculation for X -> Y (lag 1)
|
||||||
teCalc.initialise(1,1,k); % Use history length k (Schreiber k)
|
teCalc.initialise(1,1,k); % Use history length k (Schreiber k)
|
||||||
teCalc.setProperty('k', KraskovK);
|
teCalc.setProperty('k', KraskovK);
|
||||||
|
|
Loading…
Reference in New Issue