ScaleMAP
ScaleMAP is a modification of UMAP that incorporates local scale into the embedding.
This package is currently a quick release. It is derived from umap-learn and keeps the same scikit-learn-style estimator interface.
Installation
pip install scalemap
Usage
import scaleMAP
mapper = scaleMAP.UMAP(scalemap=True, scale_lambda=1.0)
embedding = mapper.fit_transform(data)
The distribution name on PyPI is scalemap; the import package is scaleMAP.
If you don't set scalemap=True, it will behave just like UMAP.
scale_lambda=1.0 sets the scaleMAP behavior to be fully on. You can interpolate between fully on and fully off by setting values between 0.0 and 1.0.
Attribution
ScaleMAP is derived from umap-learn by Leland McInnes and contributors. The upstream project is available at:
https://github.com/lmcinnes/umap
The upstream UMAP package is BSD 3-Clause licensed. ScaleMAP is distributed under the same license. See LICENSE and NOTICE.md.
If you use this package in scientific work, cite the original UMAP work as appropriate:
@article{mcinnes2018umap-software,
title={UMAP: Uniform Manifold Approximation and Projection},
author={McInnes, Leland and Healy, John and Saul, Nathaniel and Grossberger, Lukas},
journal={The Journal of Open Source Software},
volume={3},
number={29},
pages={861},
year={2018}
}
Metadata
Release files for scalemap 0.1.2
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 |
|---|---|---|---|---|
| scalemap-0.1.2.tar.gz | 110.0 kB | Without provenance | Details for scalemap-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scalemap-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for scalemap-0.1.2-py3-none-any.whl |
Total release size: 223.8 kB
Release files / scalemap-0.1.2.tar.gz
| Download URL | scalemap-0.1.2.tar.gz |
|---|---|
| Size | 110.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24e79f50bec48084c2d34c40c04672237f3b04851a1d42f54fcdb18e83e9f426
|
|
BLAKE2b-256 checksum How to use checksums |
a2a08324930e3774357ad06036eb78944a53ed9e43611357e3781469e2ab4e0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.9
|
Release files / scalemap-0.1.2-py3-none-any.whl
| Download URL | scalemap-0.1.2-py3-none-any.whl |
|---|---|
| Size | 113.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb9315b34d3526c41f4139f9a75e8681b9523f8d265dc364c8a470888f5dc0ae
|
|
BLAKE2b-256 checksum How to use checksums |
ebae14c1857da42bfb1097524d5117542ad7f88e4cdd61b4326d1662a6bbc757
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.9
|
Security for scalemap 0.1.2
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.