Commit Graph

934 Commits

Author SHA1 Message Date
joseph.lizier e03546c7b6 Updating Schreiber TE demos readme PDF 2014-08-05 01:12:11 +00:00
joseph.lizier 91891a6814 Updating Schreiber example 3 extension to Kraskov code and adding sample figure for TE 2014-08-05 01:01:55 +00:00
joseph.lizier ebd0c3df17 Adding Schreiber example 3 extension to Kraskov code and sample figure for AIS and TE. Also updated main readme file and added readme for the Schreiber demo. 2014-08-05 00:50:36 +00:00
joseph.lizier 8cacb8c660 Adding Schreiber example 3 code and sample figure 2014-08-04 12:51:27 +00:00
joseph.lizier 15048accc2 Updating sample plot for Schreiber Ulam map kernel width 0.2 2014-08-04 07:13:31 +00:00
joseph.lizier ab19c8242a Added runUlamMap script for Schreiber TE Example 2, plus associated extracted data and sample plots. 2014-08-04 07:00:51 +00:00
joseph.lizier dfe5b2dfc9 Added runTentMap script for Schreiber TE Example 1 2014-08-01 13:28:51 +00:00
joseph.lizier 2d48195ce6 Adding examples 7 and 8 to Java Simple Demos (for ensemble approach, and binning data), plus adding bias estimation to example 3 and local TE to example 4 2014-08-01 03:32:16 +00:00
joseph.lizier 7515b53a11 Adding MatrixUtils method for max entropy discretisation 2014-08-01 03:29:55 +00:00
joseph.lizier 71b5983e5b Added unit test for linear-Gaussian TE estimator against values produced from the Granger causality estimator of the ChaLearn Connectomics Challenge Sample Code. 2014-07-29 07:03:26 +00:00
joseph.lizier 2ac9c4b8e5 Fixed proper data supply to the KSG estimation for Schreiber heart-breath example 2014-07-28 13:48:06 +00:00
joseph.lizier 01291c883a Added property to Kraskov MI for adding a random amount of noise to the data, to address situations with many identical values in the one variable (which causes problems with neighbourhood sizes) 2014-04-30 02:09:01 +00:00
joseph.lizier eef14a901b More info on error messages for wrong dimensions of data provided. 2014-04-30 01:30:22 +00:00
joseph.lizier c94fe149ed Modified octave-java conversion scripts to use our new OctaveMatrix class instead of org.octave.Matrix, under issue 25 2014-04-29 01:35:43 +00:00
joseph.lizier e44f5b11ec OctaveMatrix class added, which modifies org.octave.Matrix (under GPLv3). 2014-04-29 01:33:31 +00:00
joseph.lizier b50384a302 Added methods for computeSignificance analytically (i.e. without bootstrapping) to the new Gaussian TE calculators (i.e. the Granger causality calculators), plus for directly assigning the joint covariance matrix for each calculator, and a debug method to access the computed determinants. 2014-04-23 02:07:29 +00:00
joseph.lizier b721dd79c0 Fixing compilation of moved unit test for mixed calculators package 2014-04-17 11:22:19 +00:00
joseph.lizier cce93f2d18 Moving (only) unit test for the mixed calculators package to reflect the package move 2014-04-17 11:21:12 +00:00
joseph.lizier 5a6fdb0ea7 Code edits to mixed calculators to fix compilation after moving them into the "mixed" package. Also needed to make some alternations to some of the continuous calculators to fix usage of protected members which are no longer accessible to the moved classes. 2014-04-17 11:10:58 +00:00
joseph.lizier c481377ead Updated version string ready for v0.2.0 release 2014-04-17 06:56:53 +00:00
joseph.lizier 73ec340f44 Finalised moving mixed calculators into the new mixed directory. 2014-04-17 06:53:27 +00:00
joseph.lizier 91dbd9f772 Continuing to move mixed calculators into the new directory. Moving rest of interfaces from infodynamics.measures.continuous, as well as creating packages inside infodynamics.measures.mixed for the concrete implementations to come across. 2014-04-17 06:49:03 +00:00
joseph.lizier c253313724 Starting to move mixed calculators into the new directory. Testing first with Conditional MI one 2014-04-17 06:43:43 +00:00
joseph.lizier 4d1aac411f Fixed demo of Kraskov TE on Schreiber heart-breath data to use new Kraskov TE calculator properly.
Added new demos to readme-template.
2014-04-17 06:30:48 +00:00
joseph.lizier 926f22992e Added unit tests for conditional TE continuous calculators.
Added some more tests for TE Kraskov also.
2014-04-17 06:00:54 +00:00
joseph.lizier a63e104dc6 Removing the old MutualInfo "ByMulti" Kraskov multivariate MI implementations (they're just hanging around like garbage at the moment). Kept in my sandbox 2014-04-17 05:59:49 +00:00
joseph.lizier 83f7de5472 Added interface for ConditionalTransferEntropy. Added abstract implementation ConditionalTransferEntropyCalculatorViaCondMutualInfo, and child classes for Kraskov and Gaussian implementations.
Added associated embedding method to MatrixUtils, and fixed a lot of header comments here. Minor fixes to comments and which methods are specified (e.g. setProperties) for TransferEntropy and Entropy calculators.
2014-04-17 05:58:13 +00:00
joseph.lizier ac607078d5 Updating build.xml to leave out new helper classes for unit tests for AIS kernel 2014-04-08 11:50:59 +00:00
joseph.lizier 7d95954c55 Patched bug in interface for old Kernel AIs calculator (now in unit tests) 2014-04-08 11:27:10 +00:00
joseph.lizier 9cad2737af Added unit tests for TransferEntropyCalculatorMultiVariateViaCondMutualInfo and derived classes for Kraskov and Gaussian estimators. 2014-04-08 11:21:40 +00:00
joseph.lizier 7a40b433b7 Added TransferEntropyCalculatorMultiVariateViaCondMutualInfo to facilitate estimation of multivariate TE by an underlying conditional mutual information calculator. Added linear-Gaussian TE estimator using this. Switched Kraskov multivariate TE estimator from a two MI estimator to use an underlying conditional mutual information calculator; removed old Kraskov "ByMulti" classes now. Removed some initialisation routines for TransferEntropyCalculatorViaCondMutualInfo so they tie in ok. 2014-04-08 10:41:49 +00:00
joseph.lizier b81ccccee1 Added unit tests for TransferEntropyCalculatorViaCondMutualInfo implementations: Gaussian simply tests the computeStartAndEndTimePairs; Kraskov tests against TRENTOOL. 2014-04-07 05:33:30 +00:00
joseph.lizier fd9bf116f9 Added TransferEntropyCalculatorViaCondMutualInfo to allow calculation of TE via any implementation of a conditional MI calculator. Added concrete implementations using this for Gaussian estimators (Gaussian TE estimator is equivalent to Granger causality). Replaced existing Kraskov TE calculator (which used two MI calculators) with one which uses one conditional MI estimator via this new method. Also patched TransferEntropyCommon.computeStartAndEndTimePairs 2014-04-07 05:31:52 +00:00
joseph.lizier c5402e8c48 Added ActiveInfoStorageCalculatorViaMutualInfo to allow calculation of AIS via any implementation of an MI calculator. (Forgot to add this before -- its child classes are already committed). 2014-04-04 06:02:04 +00:00
joseph.lizier 1827ec23c2 Fixed lack of initialisation of MI calculators in Kraskov MI unit tests 2014-03-26 05:09:20 +00:00
joseph.lizier 12fc61d396 Moved Kraskov mutual info calculator multivariate to inherit from the common MI multivariate class, so as to share code for adding observations, statistical tests, etc. Passed unit testing. 2014-03-26 05:08:46 +00:00
joseph.lizier 06d0ddf07d Added functions to discrete Entropy calculators for single dimensional arrays, plus local values of MI for single supplied values and statistical signficance testing for Active info storage. 2014-03-26 04:08:44 +00:00
joseph.lizier 3e017d1be4 Added unit tests for Rearchitecting Active Info Storage calculators to use a common parent class for data collection. Mainly includes testing kernel AIS calculator against the older direct implementation of this (which is now moved into the unit test area only) 2014-03-26 04:07:13 +00:00
joseph.lizier 2571c3ae9e Rearchitected Active Info Storage calculators to use a common parent class for data collection, and underlying mutual information classes for the implementation specifics. Includes adding Kraskov and Gaussian Active Info Storage calculators, and implementing embedding delay for the past history. 2014-03-26 04:05:20 +00:00
joseph.lizier c949339574 Allowing comment lines starting with % character in ArrayFileReader 2014-01-31 11:32:20 +00:00
joseph.lizier 6db8a070e1 Updated heart-breath demo with Kraskov estimation, to make it runnable in Matlab, and restrict to the same subset of samples used by Schreiber. 2014-01-29 11:03:40 +00:00
joseph.lizier cee9b3dbd3 Added Schreiber heart-breath rate example using Kraskov estimator. 2014-01-29 05:33:08 +00:00
joseph.lizier 2b8ab0e939 Adding error check to constructor of discrete MI calculator;
and making method of generating random permutations more efficient (using native library).
2013-10-22 04:08:21 +00:00
joseph.lizier 5d0934bd85 Updating unit tests to reflect changes to discrete MI calculator and method of generating random permutations. 2013-10-22 04:06:58 +00:00
joseph.lizier 6fe22e39cb Added unit tests for new method generateRandomPerturbations(int, int) in RandomGenerator, and for sortIndices(double[]) method to MatrixUtils 2013-10-18 00:45:46 +00:00
joseph.lizier b4645584fe Added new method generateRandomPerturbations(int, int) to RandomGenerator, and switched all computeSignificance methods to use this (since there's no need for checking for distinct perturbations really, and this is much faster). Required adding sortIndices(double[]) method to MatrixUtils 2013-10-18 00:42:12 +00:00
joseph.lizier 1d5ae4a176 Added unit test for bug fix to computeSignificance() of ConditionalMutualInformationCalculator, simply to make sure it doesn't throw an exception 2013-10-17 13:20:42 +00:00
joseph.lizier c7b42e38ae Bug fix to computeSignificance() of ConditionalMutualInformationCalculator 2013-10-17 13:19:58 +00:00
joseph.lizier 8991b4176c Minor changes to method header comments 2013-09-10 22:50:30 +00:00
joseph.lizier 6e06b9f6b5 Altering ant script for version 0.1.4 2013-09-10 22:48:31 +00:00