Skip to main content

Library of torch modules and utilities of equivariant/invariant learning

Project description

Symmetric Learning logo

PyPI version GitHub repository Python Version Docs


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:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

symm_learning-0.7.2.tar.gz (108.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

symm_learning-0.7.2-py3-none-any.whl (128.7 kB view details)

Uploaded Python 3

File details

Details for the file symm_learning-0.7.2.tar.gz.

File metadata

  • Download URL: symm_learning-0.7.2.tar.gz
  • Upload date:
  • Size: 108.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for symm_learning-0.7.2.tar.gz
Algorithm Hash digest
SHA256 12f39bbf71509c12d3a72de69c9aa214d75b063642ca1fcfcd3e477621af1a0c
MD5 bba596901d53631ba84495dcb01e9f0b
BLAKE2b-256 8546ebf8862ad5a7af3f2a979c07dd7ece872a2b65fa01ae5b45c74be36811ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for symm_learning-0.7.2.tar.gz:

Publisher: publish2pypi.yaml on Danfoa/symmetric_learning

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file symm_learning-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: symm_learning-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 128.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for symm_learning-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dda9ee20e59cf7fe93bf85f1317b57ffdb2a2f5b1e28f0ac42736572c745f056
MD5 5f92faca97cf4fc4fe09d15113794ff0
BLAKE2b-256 9c7b22c223016fdd1c0a8fde76f1478adcc99f5ac961c6bd66b69255daf30d28

See more details on using hashes here.

Provenance

The following attestation bundles were made for symm_learning-0.7.2-py3-none-any.whl:

Publisher: publish2pypi.yaml on Danfoa/symmetric_learning

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page