Skip to main content

Torch modules and utilities of equivariant/invariant learning

Project description

Symmetric Learning

PyPI version Python Version

Lightweight python package for doing geometric deep learning using ESCNN. This package simply holds:

  • Generic equivariant torch models and modules that are not present in ESCNN.
  • Linear algebra utilities when working with symmetric vector spaces.
  • Statistics utilities for symmetric random variables.

Installation

pip install symm-learning
# or
git clone https://github.com/Danfoa/symmetric_learning
cd symmetric_learning
pip install -e .

Structure:

Linear Algebra

  • lstsq: Symmetry-aware computation of the least-squares solution to a linear system of equations with symmetric input-output data.
  • invariant_orthogonal_projector: Computes the orthogonal projection to the invariant subspace of a symmetric vector space.

Statistics

  • var_mean: Symmetry-aware computation of the variance and mean of a symmetric random variable.
  • cov: Symmetry-aware computation of the covariance / cross-covariance of two symmetric random variables.

Models

  • iMLP: Invariant MLP for learning invariant functions.
  • eMLP: Equivariant MLP for learning equivariant functions.

Torch Modules

  • Change2DisentangledBasis: Module for changing the basis of a tensor to a disentangled / isotypic basis.
  • IrrepSubspaceNormPooling: Module for extracting invariant features from a geometric tensor, giving one feature per irreducible subspace/representation.

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.1.8.tar.gz (19.1 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.1.8-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: symm_learning-0.1.8.tar.gz
  • Upload date:
  • Size: 19.1 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.1.8.tar.gz
Algorithm Hash digest
SHA256 9cfcdb5cf664bc2ef9085d5107e6e1daa963cd0d4a024ccad6f6c210d53b3009
MD5 532006d410ffc8fb2aa12ab20708aea5
BLAKE2b-256 6735275e2c4c320af95fe73d0e5633d797cc3a52f2ec7d2a1f36a16cf0dd2da1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: symm_learning-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 21.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.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c1a8ff5b465bf2fc8d5e2b0d99a5ea534a7680c20d17b5c3ee7ae51231af30
MD5 d0582d4e1c8295ec86c6d1ab37a7bc2b
BLAKE2b-256 93ccb3bc8d1c6b3230ee4b3b172f60836440c9c7d6b76d34791fe0387ac034e7

See more details on using hashes here.

Provenance

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