Skip to main content

Supervised independent subspace principal component analysis

Project description

Supervised Independent Subspace Principal Component Analysis (sisPCA)

License

Overview

sispca is a Python package designed to learn linear representations capturing variations associated with factors of interest in high-dimensional data. It extends the Principal Component Analysis (PCA) to multiple subspaces and encourage subspace disentanglement by maximizing the Hilbert-Schmidt Independence Criterion (HSIC). The model is implemented in PyTorch and uses the Lightning framework for training. See the documentation for more details.

For more theoretical connections and applications, please refer to our paper Disentangling Interpretable Factors of Variations with Supervised Independent Subspace Principal Component Analysis.

Installation

Via GitHub (latest version):

pip install git+https://github.com/JiayuSuPKU/sispca.git#egg=sispca

Via PyPI (stable version):

pip install sispca

Getting Started

Basic usage:

from sispca import Supervision, SISPCADataset, SISPCA

Tutorials:

For additional details, please refer to the documentation.

Citation

If you find sisPCA useful in your research, please consider citing our paper:

@inproceedings{
  su2024disentangling,
  title={Disentangling Interpretable Factors of Variations with Supervised Independent Subspace Principal Component Analysis},
  author={Jiayu Su, David A. Knowles, and Raul Rabadan},
  booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
  year={2024},
  url={https://openreview.net/forum?id=AFnSMlye5K}
}

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

sispca-1.0.0.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

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

sispca-1.0.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file sispca-1.0.0.tar.gz.

File metadata

  • Download URL: sispca-1.0.0.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for sispca-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d4e75fc4937fc9e77d00fb2ab221bd755b2c3e197e01ceaccf5b53c258e06a9e
MD5 abfba1c9aeaf90b1e13c226f96b92bd7
BLAKE2b-256 4f231f37c3eb13fd52a4ae550130cc1a2273a81e34c6262eae66083c4679f80f

See more details on using hashes here.

File details

Details for the file sispca-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sispca-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for sispca-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3164898592756501602791cab4bfdf3b09fdff334a04f9288cb851ec5fcecb67
MD5 71ca97b86b7d4336d1010829706d8678
BLAKE2b-256 b5a1bcaab1e6816e758e17662058cd103253d334e314a58c9649c8cc23bf3d0f

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