Reasoning Symbolic Regressor
LLM-enhanced symbolic regression: A reasoning-driven AI that refines equations using structured feedback and adaptive learning.
🚀 Overview
ReasoningSymbolicRegressor integrates symbolic regression with LLM-powered reasoning, allowing AI to not only search for equations but also self-correct and refine them through structured feedback.
📦 Installation
You can install this package via PyPI:
pip install reasoning-symbolic-regressor
🔧 Usage
Note: Make sure your OPENAI_API_KEY is set.
from reasoning_symbolic_regressor import ReasoningSymbolicRegressor
# Initialize the AI reasoning-driven symbolic regressor
regressor = ReasoningSymbolicRegressor(debug=True)
# Fit the model to data
regressor.fit(X, y)
✨ Features
✅ LLM-Guided Exploration: Dynamically adjusts search parameters using AI reasoning.
✅ Self-Repairing Feedback: Detects errors in PySR configurations and prompts LLM to correct them.
✅ Iterative Refinement: Improves equations over multiple guided cycles.
✅ Early Stopping: Terminates when the LLM determines the correct equation has been found.
🛠️ Development
To contribute or modify the project, clone the repository and install dependencies:
git clone https://github.com/sidu/ReasoningSymbolicRegressor.git
cd ReasoningSymbolicRegressor
pip install -r requirements.txt
🧪 Testing
To run the tests, use the following command:
pip install -e .
python tests/test_gravitation.py
📜 License
This project is licensed under the MIT License.
🌟 Acknowledgments
Inspired by symbolic regression, LLM reasoning, and adaptive AI systems.
Metadata
Release files for reasoning-symbolic-regressor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reasoning_symbolic_regressor-0.1.0.tar.gz | 7.7 kB | Without provenance | Details for reasoning_symbolic_regressor-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reasoning_symbolic_regressor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for reasoning_symbolic_regressor-0.1.0-py3-none-any.whl |
Total release size: 15.3 kB
Release files / reasoning_symbolic_regressor-0.1.0.tar.gz
| Download URL | reasoning_symbolic_regressor-0.1.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1475ca73ad1a4ebbd56a1f7444f4d41ecddecbb66fcc56c40b1a24733b42fe1e
|
|
BLAKE2b-256 checksum How to use checksums |
a80a11f01f56c1d5ac89fd1d6c4ca8a880466e8da24fa20f666999b1e0f40c34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / reasoning_symbolic_regressor-0.1.0-py3-none-any.whl
| Download URL | reasoning_symbolic_regressor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
975765a2273e9b41aa7922e7889de43038d67e0fbc7173dc2c9b8d76b867886a
|
|
BLAKE2b-256 checksum How to use checksums |
54a67af7933cebe9048f7ab6009e53016e20badfb1ef803cfcdb401f742bae5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for reasoning-symbolic-regressor 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.