Skip to main content

Dimensionless Physics-Informed Symbolic Regression & Neural Network Engine

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.
  • Light-Speed 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.0.0.tar.gz (20.1 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.0.0-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timur_xai-1.0.0.tar.gz
  • Upload date:
  • Size: 20.1 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.0.0.tar.gz
Algorithm Hash digest
SHA256 1b18f60f94a0541d6a7dd49dffe29cbef702d5cd56aecd355a7b00592c1b2b7e
MD5 d2190de6f8403754bb8ce1c426ddeb6d
BLAKE2b-256 8dac3f73c53bf02490861ff027270b5a22db41f03a3f346e5abe5ea62b25b8a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: timur_xai-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b55c7829b275bf99925662d43d04d9a48c7aae453de1a7eb028ec65f74ea8dbe
MD5 f7008e493333631a83a5ab47e69e664f
BLAKE2b-256 ff3d5478fe8afabeab4baf8e8ca44c57d66ffef7f71e76418289b001011e0216

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