Skip to content

Add PIR (Physics Intermediate Representation) symbolic regression method#210

Open
Qazi-pk wants to merge 9 commits into
cavalab:masterfrom
Qazi-pk:master
Open

Add PIR (Physics Intermediate Representation) symbolic regression method#210
Qazi-pk wants to merge 9 commits into
cavalab:masterfrom
Qazi-pk:master

Conversation

@Qazi-pk

@Qazi-pk Qazi-pk commented Jun 17, 2026

Copy link
Copy Markdown

PIR — Physics Intermediate Representation

Classical symbolic regression engine for automated physical law discovery from data.

Method

  • Monomial-basis search with log-linearization gate for power-law detection
  • Pairwise structure decomposition, RANSAC, sparse regression
  • Iterative residual refinement with Occam complexity penalty
  • No neural components — pure classical pipeline

Blind Feynman Tier A results

  • 13/44 stable (29.5%) across 5 seeds, v3.4
  • Previous baseline: 7/44 (v3.3)

Files

  • algorithms/PIR/regressor.py — sklearn-compatible wrapper
  • algorithms/PIR/install.sh — installs from public repo (MIT license)
  • algorithms/PIR/metadata.yml — method metadata
  • algorithms/PIR/requirements.txt — POT (Python Optimal Transport)

Links

Targeting master per @gAldeia's guidance in #203.

Qazi-pk added 9 commits June 17, 2026 16:39
Added metadata for the Physics Intermediate Representation (PIR) project, including authors, paper title, and description.
Implement PIRClassicRegressor and model function for SRBench.
Added metadata for the Physics Intermediate Representation (PIR) including authors, paper title, and description.
This file implements a classical PIR regressor for SRBench, including configuration and model handling.
@Qazi-pk

Qazi-pk commented Jun 18, 2026

Copy link
Copy Markdown
Author

CI build-and-test for pir fails with ModuleNotFoundError: No module named 'methods.pir'
the same algorithms/methods/ mapping issue that appears to affect other methods as well
(brush, eql, pysr, sklearn also failing). The PIR algorithm files are in algorithms/pir/ per
the submission format. Happy to adjust if a different layout is needed.

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