Skip to content

Add Pantara v7d — physics law discovery system#211

Open
Yapock22 wants to merge 2 commits into
cavalab:masterfrom
Yapock22:add-pantara
Open

Add Pantara v7d — physics law discovery system#211
Yapock22 wants to merge 2 commits into
cavalab:masterfrom
Yapock22:add-pantara

Conversation

@Yapock22

@Yapock22 Yapock22 commented Jul 1, 2026

Copy link
Copy Markdown

Pantara is a physics law discovery system that identifies
mathematical structure from raw sensor data using statistical
signature detection, analytical power-law regression (lstsq
in log space), and a specialized trigonometric estimator.

Evaluated on 132 Feynman/Strogatz datasets from SRBench:

  • R² ≥ 0.90 on 86/132 datasets (65%)
  • Mean R²: 0.641 (median: 0.970 — bimodal distribution)
  • Mean execution time: 1.3s on CPU (Apple M5 Pro), no GPU
  • 35 datasets solved at R²=1.000 (power-law equations)

Best on multiplicative/power-law equations. Does not cover
Gaussian distributions, Euclidean distances, or differential
equations.

Code: github.com/Yapock22/pantara

Yapock22 and others added 2 commits July 1, 2026 22:24
Pantara is a matching-pursuit symbolic regression system for physical
laws combining a neural oracle with analytical regression.

Key properties:
- Analytical power-law detection in O(N) via log-log least-squares
- 8 function families × 6 transformation spaces
- Pre-trained SetEncoder oracle (15k synthetic episodes)
- Scikit-learn fit/predict interface; eval_kwargs disables scaling
  so that positive-domain log-log detection works correctly

SRBench results (code frozen, no post-hoc tuning):
  132/133 Feynman+Strogatz datasets evaluated
  R²≥0.90 on 86/132 datasets (65%)
  R²=1.000 on 37 datasets (pure power laws, <0.2 s each)
  Mean R²=0.641, median R²=0.970

Source: https://github.com/Yapock22/pantara
Install: pip install git+https://github.com/Yapock22/pantara.git

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant