A modification of umap that incorporates local scale into the embedding.
Project description
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}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scalemap-0.1.2.tar.gz.
File metadata
- Download URL: scalemap-0.1.2.tar.gz
- Upload date:
- Size: 110.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24e79f50bec48084c2d34c40c04672237f3b04851a1d42f54fcdb18e83e9f426
|
|
| MD5 |
b17a64da2e13032bd13dc6ee9f921776
|
|
| BLAKE2b-256 |
a2a08324930e3774357ad06036eb78944a53ed9e43611357e3781469e2ab4e0a
|
File details
Details for the file scalemap-0.1.2-py3-none-any.whl.
File metadata
- Download URL: scalemap-0.1.2-py3-none-any.whl
- Upload date:
- Size: 113.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb9315b34d3526c41f4139f9a75e8681b9523f8d265dc364c8a470888f5dc0ae
|
|
| MD5 |
5b1b930e2cb00f70a17a1fe5ccd48b09
|
|
| BLAKE2b-256 |
ebae14c1857da42bfb1097524d5117542ad7f88e4cdd61b4326d1662a6bbc757
|