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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page