ParamRepulsor
This is the code repository for the NeurIPS 2024 paper "Navigating the Effect of Parametrization for Dimensionality Reduction".
How to install
This repository can be installed locally via pip by the following command:
git clone https://github.com/hyhuang00/ParamRepulsor.git
cd ParamRepulsor
pip install .
Note: this will not install torch, as this is highly platform-dependent.
This project provides optionals:
pip install .[cpu] # cpu-only pytorch
pip install .[cu118] # cuda 118
pip install .[cu121] # cuda 118
pip install .[cu124] # cuda 118
pip install .[mps] # arm64/aarch64 (Apple M-Series chips)
This project also supports uv (pip install uv):
echo "3.11" >> .python-version
uv sync (--extra cpu) # as appropriate for your system
How to use our algorithm
ParamPaCMAP/ParamRepulsor is fully scikit-learn compatible, meaning that it can be used as any other scikit-learn based algorithm. After the installation, you can use our algorithm by:
import parampacmap
# Initialize the reducer. Notice that by default, the stronger paramrepulsor
# algorithm will be used.
reducer = parampacmap.ParamPaCMAP()
X_low = reducer.fit_transform(X) # Substitute your data here.
Citation
If you have referred to our research in your publication, or you used the ParamRepulsor/ParamPaCMAP algorithm in this repository, please cite our paper using the following bibtex:
@inproceedings{huang2024navigating,
title={Navigating the Effect of Parametrization for Dimensionality Reduction},
author={Huang, Haiyang and Wang, Yingfan and Rudin, Cynthia},
booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
year={2024},
}```
Metadata
Release files for parampacmap 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| parampacmap-0.1.0.tar.gz | 18.6 kB | Without provenance | Details for parampacmap-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| parampacmap-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for parampacmap-0.1.0-py3-none-any.whl |
Total release size: 37.5 kB
Release files / parampacmap-0.1.0.tar.gz
| Download URL | parampacmap-0.1.0.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57d9bd3c4dce9ab181e9477966a4e0ab156abfab3dcf93c912b3600794978822
|
|
BLAKE2b-256 checksum How to use checksums |
bdc7885130c273a709df7206621c7c4a833df1a0f6ca02188b4fc111b8310453
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.7
|
Release files / parampacmap-0.1.0-py3-none-any.whl
| Download URL | parampacmap-0.1.0-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6735aa0af37e84acc7a945cd10fc0113a2289763defa79dab81f117968cfedf2
|
|
BLAKE2b-256 checksum How to use checksums |
7f4afbedb7cc52d136612108233f03e3b14189c2b66c2228c01facf03fb19d70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.7
|
Security for parampacmap 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.