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.6.tar.gz (105.9 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.6-py3-none-any.whl (127.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: symm_learning-0.7.6.tar.gz
  • Upload date:
  • Size: 105.9 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.6.tar.gz
Algorithm Hash digest
SHA256 cb89326e16fa87387ac467dd74ab133f433241d92d9f804105b9adc0bf0bba3d
MD5 2a5fe717d51dec61ce6fbc68d6112a84
BLAKE2b-256 95ef61072f8638bf7575bb3e7cd6e413e69f7ac22ea1c725122ad9cc1df84824

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: symm_learning-0.7.6-py3-none-any.whl
  • Upload date:
  • Size: 127.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.7.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3b101e0272c9c9b641bdee09dcd3d59494d3879a38e16d7c8da78c1f74c3f695
MD5 692bcb334210bc4e13a2cb7f6e63ec23
BLAKE2b-256 bc42024dfbb5a7732dbbe7c9c148fdfb6fc9cee1927825c652fcf1743c8b15d2

See more details on using hashes here.

Provenance

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