The physical symbolic regression ( physo
is a symbolic regression package that fully leverages physical units constraints. For more details see: [Tenachi et al 2023].
The package has been tested on Unix and OSX. To install the package it is recommend to first create a conda virtual environment:
conda create -n PhySO python=3.8
And activate it:
conda activate PhySO
From the repository root:
Installing essential dependencies :
conda install --file requirements.txt
Installing optional dependencies (for advanced debugging in tree representation) :
conda install --file requirements_display1.txt
pip install -r requirements_display2.txt
Installing physo
(from the repository root):
pip install -e .
python3
>>> import physo
This should result in physo
being successfully imported.
From the repository root:
python -m unittest discover -p "*UnitTest.py"
This should result in all tests being successfully passed (except for program_display_UnitTest tests if optional dependencies were not installed).
[Coming soon] In the meantime you can have a look at our demo folder ! :)
[Coming soon]
[Coming soon]
[Coming soon]
[Coming soon]
Uninstalling the package.
conda deactivate
conda env remove -n PhySO
@ARTICLE{2023arXiv230303192T,
author = {{Tenachi}, Wassim and {Ibata}, Rodrigo and {Diakogiannis}, Foivos I.},
title = "{Deep symbolic regression for physics guided by units constraints: toward the automated discovery of physical laws}",
journal = {arXiv e-prints},
keywords = {Astrophysics - Instrumentation and Methods for Astrophysics, Computer Science - Machine Learning, Physics - Computational Physics},
year = 2023,
month = mar,
eid = {arXiv:2303.03192},
pages = {arXiv:2303.03192},
doi = {10.48550/arXiv.2303.03192},
archivePrefix = {arXiv},
eprint = {2303.03192},
primaryClass = {astro-ph.IM},
adsurl = {https://ui.adsabs.harvard.edu/abs/2023arXiv230303192T},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}