Skip to main content

Solomonoff induction and AIXI for universal artificial intelligence

Project description

Universal Learning

This package contains implementations of universal learning algorithms including Solomonoff Induction, AIXI, and related methods from algorithmic information theory.

Implements optimal learning through algorithmic information theory and universal priors, providing the theoretical foundation for optimal prediction and learning in any computable environment.

Features

  • Solomonoff Induction: Optimal universal prediction algorithm
  • AIXI Framework: Universal artificial intelligence architecture
  • Modular Design: Clean separation of concerns with backward compatibility
  • Research Accurate: Based on foundational algorithmic information theory

Core Concepts

The package implements optimal learning using Solomonoff's algorithmic probability:

P(x) = Σ_{p:U(p)=x} 2^(-|p|)

where U is a universal Turing machine and |p| is program length.

Installation

pip install universal-learning

Basic Usage

from universal_learning import SolomonoffInduction

# Create Solomonoff predictor
predictor = SolomonoffInduction()

# Learn from data sequence
sequence = [1, 0, 1, 1, 0, 1, 0, 0]
predictor.learn_sequence(sequence)

# Predict next symbol
next_symbol = predictor.predict_next()

Research Foundation

Based on foundational work in universal artificial intelligence:

  • Solomonoff (1964) "A Formal Theory of Inductive Inference"
  • Hutter (2005) "Universal Artificial Intelligence"

Technical Implementation

Provides the theoretical foundation for optimal prediction and learning in any computable environment through:

  • Universal priors over program space
  • Algorithmic probability calculations
  • Optimal sequence prediction
  • Universal artificial intelligence principles

Author

Benedict Chen (benedict@benedictchen.com)

License

Custom Non-Commercial License with Donation Requirements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

universal_learning-1.3.0.tar.gz (184.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

universal_learning-1.3.0-py3-none-any.whl (212.4 kB view details)

Uploaded Python 3

File details

Details for the file universal_learning-1.3.0.tar.gz.

File metadata

  • Download URL: universal_learning-1.3.0.tar.gz
  • Upload date:
  • Size: 184.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3+

File hashes

Hashes for universal_learning-1.3.0.tar.gz
Algorithm Hash digest
SHA256 a60b31f532a1b84d4124c0f40b786b085ed8706e356d6cade1d0559ef08cc988
MD5 e86808dde51936faf8b26367b77745b5
BLAKE2b-256 c34f0d206c6fa0bea2c3790f231008bb361670a7250cf5876d4e8c81ddf9fa3c

See more details on using hashes here.

File details

Details for the file universal_learning-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for universal_learning-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 664bba961402ec882a623f52dc08cce5f1c077e65d1ead0c5f366d08a28e5427
MD5 b70d49b28f1ea301eaa3c51555a19f78
BLAKE2b-256 6ec556ac154f56244c00fcf5ad4f2ba603e78302b4019a38dd5cb9965dfde3d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page