Symmetric Learning is a torch-based machine learning library tailored to optimization problems featuring symmetry priors. It provides equivariant neural network modules, models, and utilities for leveraging group symmetries in data.
Package Structure
- Neural Networks (nn): Equivariant neural network layers including linear, convolutional, normalization, and attention modules.
- Models (models): Ready-to-use equivarint architectures such as equivariant MLPs, Transformers, and CNN encoders.
- Linear Algebra (linalg): Linear algebra utilities for symmetric vector spaces, including equivariant least squares solutions, projections to invariant subspaces, and more.
- Symmetry-aware Statistics (stats): Mean, variance, and covariance for symmetric random variables.
- Representation Theory (representation_theory): Representation theory utils, enabling de isotypic decomposition of group representations, intuitive management of the degrees of freedom of equivariant linear maps, orthogonal projections to the space of equivariant linear maps, and more.
Installation
pip install symm-learning
# or
git clone https://github.com/Danfoa/symmetric_learning
cd symmetric_learning
pip install -e .
Documentation
Documentation is published per branch:
main(stable): https://danfoa.github.io/symmetric_learning/devel: https://danfoa.github.io/symmetric_learning/devel/
Local Development
Install the dev extras and serve the docs with live-reload:
pip install -e ".[dev]"
sphinx-autobuild docs docs/_build/html
Then open http://127.0.0.1:8000 — the page rebuilds and refreshes automatically as you edit files under docs/.
Citation
If you use symm-learning in research, please cite:
@software{ordonez_apraez_symmetric_learning,
author = {Ordonez Apraez, Daniel Felipe},
title = {Symmetric Learning},
year = {2026},
url = {https://github.com/Danfoa/symmetric_learning}
}
License
This project is released under the MIT License. See LICENSE.
Release files for symm-learning 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| symm_learning-0.8.1.tar.gz | 106.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| symm_learning-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 233.9 kB
Release files / symm_learning-0.8.1.tar.gz
| Download URL | symm_learning-0.8.1.tar.gz |
|---|---|
| Size | 106.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81b0b4e06d91cc21f3b9725da604d9317f240c0a47463fd8cdc8c5aa568ea4ad
|
|
BLAKE2b-256 checksum How to use checksums |
6ba6e7c1a1825adb053e75789508a4698376a251f02b8bdcdb8ddf4918e4eaf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / symm_learning-0.8.1-py3-none-any.whl
| Download URL | symm_learning-0.8.1-py3-none-any.whl |
|---|---|
| Size | 127.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d67918bde12b5777c40b1cbfaa68c01e395290ea74522ecf4ea7fad7001a2da7
|
|
BLAKE2b-256 checksum How to use checksums |
021e6fdf2eaf7ee8da8c7da8771b5e19b6215f8c5c586c6dfe0729588d27eefb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log