Code Monkey home page Code Monkey logo

landauer's Introduction

Data Compression == AI

The Task: Losslessly compress the 1GB file enwik9 to less than 114MB. (Current Benchmark)

This compression contest (Hutter Prize) is motivated by the fact that being able to compress well is closely related to acting intelligently, thus reducing the slippery concept of intelligence to hard file size numbers.

Landauer's principle

Landauer's principle is a physical principle pertaining to the lower theoretical limit of energy consumption of computation. It holds that an irreversible change in information stored in a computer, such as merging two computational paths, dissipates a minimum amount of heat to its surroundings.

Landauer's principle states that the minimum energy needed to erase one bit of information is proportional to the temperature at which the system is operating. More specifically, the energy needed for this computational task is given by

$E \geq k_B T \ln 2$

where $k_B$ is the Boltzmann constant. At room temperature, the Landauer limit represents an energy of approximately $0.018 eV$ ($2.9 \times 10โˆ’21 J$). Modern computers use about a billion times as much energy per operation.

How close is the brain? And what is the opposite of the Landauer limit? And therefore, the limit of intelligence? How far off are we as the human species?

Program

# configs
#
# -a <algorithm> Options: 'huffman'
# -d <input file>
python boiler.py -d data/enwik4 -a huffman

Testing

Within and after development, there is a test script for evaluating the correctness of the different algorithms.

python -m unittest

Additional Information

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.