Symbolic optimization package for physics
Top 23.5% on sourcepulse
$\Phi$-SO is a symbolic regression package designed for physics applications, enabling the discovery of analytical physical laws from data. It targets researchers and engineers seeking to automate scientific discovery by inferring equations, leveraging physical constraints to enhance efficiency and accuracy.
How It Works
$\Phi$-SO employs deep reinforcement learning to search the space of functional forms for symbolic regression. Its key innovations include the use of physical unit constraints via dimensional analysis to prune the search space and class constraints to fit multiple datasets with a single analytical form. This approach aims to discover accurate physical laws even with noisy data.
Quick Start & Requirements
git clone https://github.com/WassimTenachi/PhySO.git
), create a conda environment (conda create -n PhySO python=3.8
), activate it (conda activate PhySO
), install dependencies (conda install --file requirements.txt
), and install the package (python -m pip install -e .
).python3 -c "import physo"
), unit tests (python -m unittest discover -p "*UnitTest.py"
).Highlighted Details
Maintenance & Community
The project is actively developed by Wassim Tenachi. Further community engagement details are not explicitly provided in the README.
Licensing & Compatibility
The repository does not explicitly state a license. The provided citation information suggests academic use. Compatibility for commercial or closed-source linking is not specified.
Limitations & Caveats
The README notes that $\Phi$-SO's performance is heavily dependent on hyperparameter tuning. While CUDA is supported, it may not improve performance and can even hinder it due to the bottleneck in free constant optimization. The project is primarily demonstrated with Python 3.8.
1 day ago
1 day