Skip to main content

🧠 Metanion - Zero-Weight Symbolic Tensor Engine

PyPI version Python 3.8+ License: MIT

Metanion is a revolutionary tensor engine where weights are symbolic expressions, not numbers. It learns mathematical relationships using Genetic Programming and JIT compilation.

🎯 Why Metanion?

  • No Numerical Weights - Only operation sequences stored
  • Explainable - Outputs human-readable equations
  • Fast - JIT compiled to Python bytecode
  • Differentiable - Full symbolic differentiation
  • Lightweight - Minimal memory footprint

🚀 Quick Start

from metanion import create_model, train, predict
import numpy as np

# Create data: y = 2*x + 1 + noise
X = np.random.randn(200, 1)
y = 2 * X[:, 0] + 1 + 0.1 * np.random.randn(200)

# Create and train model
model = create_model([1, 10, 1])
train(X, y, epochs=30)

# Make predictions
predictions = predict(X)

# Get the learned equation
print(model._best_individual.get_expression())

Download files

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

Source Distribution

metanion-0.1.0.tar.gz (75.8 kB view details)

Uploaded Source

Built Distribution

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

metanion-0.1.0-py3-none-any.whl (100.0 kB view details)

Uploaded Python 3

File details

Details for the file metanion-0.1.0.tar.gz.

File metadata

  • Download URL: metanion-0.1.0.tar.gz
  • Upload date:
  • Size: 75.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for metanion-0.1.0.tar.gz
Algorithm Hash digest
SHA256 562d6dd30eb45a3f7ac53efc56b797d4a8abe07ec5e8aa59dcca39bf38db37c0
MD5 2975aae3ccda20d0d0a26ac5295808f5
BLAKE2b-256 dae98e52d02a4dcbdea52468523c223d7a92c7a640ae984261573124263d39a7

See more details on using hashes here.

File details

Details for the file metanion-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: metanion-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 100.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for metanion-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d850a312bc54e9dbd3845161b5ab5e14d68300f209d5b77410abaf6402103696
MD5 fb055375507726a083731a048dd7988c
BLAKE2b-256 23b38df645268569ff65f71ba948d3338b1cfe6ce20c04abb90dd8731d889490

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 Sentry Error logging StatusPage Status page