Skip to main content

Autonomous Dimensionless Physical Law Discovery and PINN Engine via Buckingham Pi

Project description

TIMUR XAI (v1.0.0)

Dimensionless Physics-Informed Symbolic Regression Engine

TIMUR is an advanced, autonomous Explainable AI (XAI) architecture that bridges the gap between raw data, universal physical constants, and deep learning.

Unlike standard machine learning models that blindly fit curves, TIMUR utilizes the Buckingham Pi Theorem to autonomously project variables into a dimensionless space. It then leverages evolutionary genetic algorithms (PySR) to discover the underlying fundamental physics equation, which is seamlessly integrated into a neural network as a Physics-Informed Neural Network (PINN) loss function.

Features

  • Autonomous Dimensional Analysis: Pass your features, target, and SI constants. TIMUR handles the Null Space matrix operations and transforms the space into dimensionless Pi groups.
  • Evolutionary Symbolic Discovery: Escapes polynomial approximations. Finds complex fractional, exponential, and trigonometric truths underlying the data.
  • PINN Integration: Converts the discovered physical law into a fully differentiable PyTorch tensor space without string-parsing overhead.
  • The Gatekeeper: Analyzes data non-linearity to autonomously route between Ridge/Lasso, Polynomial, or Genetic Evolutionary engines.

Installation

pip install timur-xai
python -c "import pysr; pysr.install()"

## Quick Start
```python
from timur import TIMURModel
import scipy.constants as const

# Initialize the engine with dimensional awareness
model = TIMURModel(
    feature_names=["wavelength", "temperature"],
    feature_dims=[{"m": 1}, {"K": 1}],
    target_dim={"kg": 1, "m": -1, "s": -3},
    constants={
        "h":  (const.h, {"kg": 1, "m": 2, "s": -1}),
        "c":  (const.c, {"m": 1, "s": -1}),
        "kB": (const.k, {"kg": 1, "m": 2, "s": -2, "K": -1})
    },
    linear_threshold=0.15,
    pysr_threshold=0.20,
    verbose=True
)

# TIMUR will autonomously discover the dimensionless Pi law and train the PINN
model.fit(X, y)
print(model.get_xai_report())




Licensing & Commercial Use
Dual-License Strategy

TIMUR XAI is released under the GNU General Public License v3.0 (GPLv3).

Academic & Open Source: Free to use, modify, and distribute for non-commercial, open-source academic research.

Commercial / Enterprise: If you intend to use TIMUR XAI within a closed-source, proprietary, or commercial product, a Commercial License is strictly required. Contact the author directly.

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

timur_xai-1.1.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

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

timur_xai-1.1.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file timur_xai-1.1.0.tar.gz.

File metadata

  • Download URL: timur_xai-1.1.0.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for timur_xai-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4523d2fa25cf2f1d8a412b392b28140d02bf1d5ad4d2c5103b9b5ab0bbf180e7
MD5 cddc90bab4107dc4c6ba9d3e0a3d92ae
BLAKE2b-256 c89f55dcfc87c09a6a1888d4cfabf55fda3067be560fee8cca7906447e0b9cf7

See more details on using hashes here.

File details

Details for the file timur_xai-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: timur_xai-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for timur_xai-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e33899cf4ca7c739d4cc13aedb0a62e4df6751fe3b6bdb0e12aeb6abac4c8b8
MD5 dbee7c45e6ecfe67fcc9b16e5b2d2d5b
BLAKE2b-256 7c0065892419bbbbb7cfa2c280d2804607b349f2aca1857889a0438400333152

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