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-2.0.0.tar.gz (76.6 kB view details)

Uploaded Source

Built Distribution

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

metanion-2.0.0-py3-none-any.whl (101.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for metanion-2.0.0.tar.gz
Algorithm Hash digest
SHA256 87d6e0e11597e23dfb4508b441b5b699a95818229d70de0baf3ed261f4fc1f40
MD5 6b2a0d545db7d32d51e7ca0ed5627dd8
BLAKE2b-256 c391d785993603c8577ae7c312e40404a847e442a702075119e1408a153c4e41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metanion-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 101.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-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45da898cbf0635d6f12408fcbc1fa40c21c1a27b4eb4aac820bc06434ac327d8
MD5 504f9bf4271e519479d41c3c5eb9ce93
BLAKE2b-256 149c2756725d991356b34d44e44168fa8bb48146ffed067ea39ce6b5f7846d97

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