Skip to main content

Library of torch modules and utilities of equivariant/invariant learning

Project description

Symmetric Learning

PyPI version 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.4.1.tar.gz (83.0 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.4.1-py3-none-any.whl (101.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: symm_learning-0.4.1.tar.gz
  • Upload date:
  • Size: 83.0 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.4.1.tar.gz
Algorithm Hash digest
SHA256 39be5ace7af8946b44072ab639be3ecd8adf3df9a9e736ba5a718f817d50fb0b
MD5 bbb01086c2eaff47883760f077785123
BLAKE2b-256 028210fad30f89d62a5601d3cb1afeac129971ba2c7597c107d6cb6665d73425

See more details on using hashes here.

Provenance

The following attestation bundles were made for symm_learning-0.4.1.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.4.1-py3-none-any.whl.

File metadata

  • Download URL: symm_learning-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 101.3 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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f92fa42f6a59fe478990e56236f1de531ce425411fda5c4a8a71fbe4219c884a
MD5 f358f873af0fa68f2d97f17f5a734f9e
BLAKE2b-256 dd41f1ad29dec111468d14eb11869448d9c04a8c3f2ae5e95956b2286cd77da6

See more details on using hashes here.

Provenance

The following attestation bundles were made for symm_learning-0.4.1-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