Git Product home page Git Product logo

dnner's People

Contributors

amanoel avatar krzakala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dnner's Issues

Getting the max entropy in n bits

Could this library be used to get the maximum entropy of a network in a certain amount of bits knowing just the input and output sizes?

From my first read it seems that it requires a list of activation methods, however in my case the actual structure of the network is unknown. Would there be a specific set of activation methods which would maximize the entropy anyway?

Essentially my goal is to calculate the entropy of a given neural network, and the max entropy of a neural network in a given amount of memory.

DNNER/demo: How can be Mutual Information negative?

Hi...
This is in regard to replication of Fig2 of your paper.

We know the identity for mutual information (MI)
I(X,Y)=H(Y)-H(Y|X) ; H=entropy
which for a deterministic system gives
I(X,Y)=H(Y) as H(Y|X)=0

Fig2 in paper plots H(Y) for such a system (neural net with random but fixed weights). While entropy can be negative, MI can not. And for deterministic mapping, H(Y) or MI should not be negative too?

Can you please explain this? or I am misinterpreting your experimental setup.

add Binary (0/1) prior

Implement iter_v, eval_i and eval_rho for a binary prior, $P_0 (x) = \rho \delta(x) + (1 - \rho) \delta(x - 1)$.

have "inform" and "random" as choices for v0

Right now specific numerical values need to be given. This is not ideal since in the multi-layer case we actually don't know a priori what is the maximum value $\rho$ it assumes for each layer.

port Probit activation to Cython

Right now the ReLU and hard-tanh activations are implemented in Cython and integrals are computed quite fast. The Probit however is implemented in pure Python and leads to a quite slow iteration.

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.