Skip to main content

An implementation of the algorithm presented in arXiv:2011.13052

Project description

AlignReg

AlignReg

Alignment Regularization with Data Augmentation

Implementation of the AlignReg package associated with the following paper:

Haohan Wang, Zeyi Huang, Xindi Wu, and Eric P. Xing. 2022. Toward Learning Robust and Invariant Representations with Alignment Regular- ization and Data Augmentation. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD ’22), August 14–18, 2022, Washington, DC, USA. ACM, New York, NY, USA,

The package is organized by Hanru Yan

Installation

One can direclty install the package with

  pip install alignreg 

Or one can download the code and use it locally.

Usage Tutorial

One can use the package in simply one line of code.

Please visit the iPython example for usage instructions in both TensorFlow and PyTorch.

Replication:

This repository serves for the purpose to guide others to use our tool, if you are interested in the scripts to replicate our results in paper, please contact us and we will share the repository for replication.

Contact

Haohan Wang · Hanru Yan

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

alignreg-1.0.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

alignreg-1.0.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file alignreg-1.0.1.tar.gz.

File metadata

  • Download URL: alignreg-1.0.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for alignreg-1.0.1.tar.gz
Algorithm Hash digest
SHA256 654ebd3426fab0dfa6a07c8bf01be1e8d92c8cb0b52b374f8673630da15a2bc4
MD5 8c89280afd7f4c460561ecb30c4550f5
BLAKE2b-256 751d6ab4f6c784a0d5b5e4d5e827b0c0bc8802bc02a1176fa9106b2a6ba9afca

See more details on using hashes here.

File details

Details for the file alignreg-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: alignreg-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for alignreg-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a50ece7ad939f84569efd818266d1e6bedb765a0bf24b71e0add95fe855b9b9
MD5 bbbec5c4bf194f81ab25a3538b90d522
BLAKE2b-256 8956612e6b5fa24883596fb44dab561ed12d674008bdac44a1c07e067b39ee43

See more details on using hashes here.

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