Giter Site home page Giter Site logo

jpid's Introduction

JPID - The Java Partial Information Decomposition Toolkit

A Java software toolkit for computing partial information decomposition (PID) - both on average and on a local scale.

This document describes the usage for this toolkit. It is included in the distribution as readme.md.

Copyright (C) 2012 Joseph Lizier (joseph.lizier at gmail.com) and Benjamin Flecker (btflecker at gmail.com)

License

Licensed under GNU General Public License v3 or any later version - see license-gplv3.txt included in the distribution.

Dependencies

JUnit 3 - main toolkit code does not require this, but you will need it to run unit tests.

Referencing/Acknowledgement

You are asked to reference your use of this toolkit in any resulting publications to the following:

  • Joseph T. Lizier and Benjamin Flecker, "Java Partial Information Decomposition toolkit", 2012;

You should also reference the underlying PID method to the original paper:

  • Paul L. Williams and Randall D. Beer, "Nonnegative Decomposition of Multivariate Information", arXiv:1004.2515, 2010.

Download

Download the most recent distribution of the toolkit from github.

Usage

Structure: The distribution is structured as follows:

  1. java/source - source files for the toolkit.
  2. java/javadocs - Javadocs for the toolkit.
  3. java/unittests - JUnit tests for the toolkit.
  4. python - code to run demonstration applications calling the java toolkit.
  5. readme.html - this html file.
  6. license-gplv3 - GNU General Public License v3.

Using the toolkit: main use of the toolkit is via the class partialinfodecomp.discrete.PartialInfoDecomposer. One would typically call its methods in the following order:

  1. Construct, e.g.:

         PartialInfoDecomposer pid = new PartialInfoDecomposer(int, int[])
    
  2. Provide observations (these can be accumulated, i.e. added multiple times):

         pid.addObservations(int[], int[][])
         pid.addObservation(int, int[])
    
  3. Compute required Imin and PI entities (all returned in bits):

         pid.Imin(NodeOfElements)
         pid.PI(NodeOfElements)
    
  4. Re-initialise (then start adding observations again):

         pid.initialise()
    

Sample code

Simple examples can be seen in the unittests/partialinfodecomp/discrete/PartialInfoDecomposerTester.java unit test.

A more detailed sample application of the code is provided in the python directory (to be added at a later date)

Contact

[Joe Lizier](mailto:lizier at mis dot mpg dot de) and [Ben Flecker](mailto:btflecker at gmail dot com)

Last updated 10/05/2012.

jpid's People

Contributors

btf avatar jlizier avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.