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.4.5.tar.gz (84.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.4.5-py3-none-any.whl (103.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: symm_learning-0.4.5.tar.gz
  • Upload date:
  • Size: 84.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.4.5.tar.gz
Algorithm Hash digest
SHA256 9534b6885b4aa4e0ce114202cd54f9c5ee275a50c0720180ae37e44a85789ae9
MD5 b878da4a1da8c858e99e7a6b418b21e2
BLAKE2b-256 b0013efe172d31b1446c8e296df9faeef30892acf46021e59a1d06a0ea215b51

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: symm_learning-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 103.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6d31f93e665612fe84fba5addadcb56c0586109e16f5a2749c55c27d0dbb35c1
MD5 2b2e2e3d3c818c9f95d50dd5d1b1c096
BLAKE2b-256 8ad914cfa40aaff5cc036e3382fe4404abb366e897ccc1c5f11766a266703c2b

See more details on using hashes here.

Provenance

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