Git Product home page Git Product logo

nis_for_causal_emergence's Introduction

NIS_for_Causal_Emergence

======Neural Information Squeezer for Causal Emergence======

1.models.py

Models of Neural Information Squeezer (NIS) for causal emergence

figure1

2.EI_calculation.py

Approximated calculation program for various EI (Dimensionally averaged EI, Eff, and EI) and related 
Quantities on Gaussian neural network
input variables:
input_size: the dimension of input to the func (neural network) (x_dim)
output_size: the dimension of the output of the func (neural network) (y_dim)
sigma_matrix: the inverse of the covariance matrix of the gaussian distribution on Y: dim: y_dim * y_dim
func: any function, can be a neural network
L the linear size of the box of x on one side (-L,L)
num_samples: the number of samples of the monte carlo integration on x

output variables:
d_EI: dimensionally averaged EI
eff: EI coefficient (EI/H_max)
EI: EI, effective information (common)
term1: - Shannon Entropy
term2: EI+Shannon Entropy (determinant of Jacobian)
-np.log(rho): - ln(\rho), where \rho=(2L)^{-output_size} is the density of uniform distribution

3.EI_calculation.py

Code for calculating mutual information

c24b9a60-0ff0-46c9-a67b-4498540822dc

4.Simple_Mass_Spring_Dynamics.ipynb

Experimental code for Spring Oscillator with measurement noise

5.BooleanNetwork.ipynb

Experimental code for NIS work on Boolean Network, a networked system on which each node follows a discrete micro mechanism

6.Simple_Markov.ipynb

Experimental code for NIS work on discrete markov chain

7.Dataplot.ipynb

The experimental data of three groups of models, of which the vector diagram can be viewed in the folder 'plot'
The vector maps can correspond to the figures in the paper

nis_for_causal_emergence's People

Contributors

jakezj 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.