-
Notifications
You must be signed in to change notification settings - Fork 73
Installation
How to install and start using the toolkit
Here we describe how to install and start using the toolkit (it's pretty simple!)
Download the latest distribution; either (note: these distributions are suitable for all platforms):
- git repository -- by taking a
git clone
of this repo. This is the bleeding edge to stay right up to date. See https://github.com/jlizier/jidt for repo details, and AntScripts for build instructions as you will have to build it yourself from the repo; or - v1.6.1 full distribution -- this is recommended for users preferring not to use git (includes jar file, javadocs, demonstrations, unit tests and build scripts).
See all distributions and brief descriptions at Downloads.
None! You don't need any other downloads to start using this code in general.
There are only dependencies if:
- You don't have java installed - download the Java SE / JDK. It's better to install the JDK (development kit) instead of JRE (runtime environment), since this will allow you to make Java code changes instead of only running the java code;
- You wish to (re-)build the project (if you're changing the source files or using a git checkout instead of downloading the zip) using the
build.xml
script - this requires ant. See AntScripts for build instructions; - You wish to run the JUnit test cases - this requires JUnit - for how to run JUnit with our ant script see JUnitTestCases and AntScripts;
- You wish to use the GPU estimators - this requires a CUDA-enabled GPU card, and CUDA toolkit installed; see the GPU page for details.
- Additional preparation may be required to use JIDT in GNU Octave or Python; see UseInOctaveMatlab or UseInPython respectively.
If you have one of the distributions:
- Unzip the distribution to a location of your choice, and/or move the
infodynamics.jar
file to a relevant location. Note:- try to ensure the location does not have a space in the full path name as I've had reports of this not functioning properly (but have not tracked the source of error yet).
- if you are on a Mac, try to avoid unzipping underneath the Downloads or Documents folders, this can cause problems for smooth running of the AutoAnalyser (more details on that wiki page).
- ensure that
infodynamics.jar
is on the Java classpath when your code attempts to access it (see e.g. SimpleJavaExamples). This is down automatically for you by code generated with the AutoAnalyser.
- To update to a new version, simply copy the new distribution over the top of the previous one.
Otherwise, if you are running with the source code via git, see AntScripts regarding running ant
to generate infodynamics.jar
.
Also, if you wish to use the GPU estimators you will need to build these via ant
- see the GPU page.
That's it.
See Documentation and Demos for some guided examples on getting started and using the code.
JIDT -- Java Information Dynamics Toolkit -- Joseph Lizier et al.
- Home
- Getting started
- ImplementedMeasures
- Demos
- Course (long)
- Tutorial (short)
- Non-Java environments
- FAQs
- Miscellaneous
- For serious developers!
- Publications resulting