summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-09-09 05:05:49 -0400
committerGitHub <noreply@github.com>2022-09-09 03:05:49 -0600
commit59602f790ea1e9e0bdbf58ade59f61ea0a409c13 (patch)
tree55f0808f3bfeabff668a21ff8a98eb6b34b89a79
parent0d18c32bca8398e2daa736a940154caa235cbacc (diff)
downloadspack-59602f790ea1e9e0bdbf58ade59f61ea0a409c13.tar.gz
spack-59602f790ea1e9e0bdbf58ade59f61ea0a409c13.tar.bz2
spack-59602f790ea1e9e0bdbf58ade59f61ea0a409c13.tar.xz
spack-59602f790ea1e9e0bdbf58ade59f61ea0a409c13.zip
py-umap-learn: add new package (#32562)
Co-authored-by: James A Zilberman <jazrc@rit.edu> Co-authored-by: qwertos <qwertos@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/py-umap-learn/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-umap-learn/package.py b/var/spack/repos/builtin/packages/py-umap-learn/package.py
new file mode 100644
index 0000000000..b2026c2fbe
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-umap-learn/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class PyUmapLearn(PythonPackage):
+ """Uniform Manifold Approximation and Projection (UMAP) is a dimension
+ reduction technique that can be used for visualisation similarly to t-SNE,
+ but also for general non-linear dimension reduction."""
+
+ homepage = "https://github.com/lmcinnes/umap"
+ pypi = "umap-learn/umap-learn-0.5.3.tar.gz"
+
+ version("0.5.3", sha256="dbd57cb181c2b66d238acb5635697526bf24c798082daed0cf9b87f6a3a6c0c7")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-numpy@1.17:", type=("build", "run"))
+ depends_on("py-scikit-learn@0.22:", type=("build", "run"))
+ depends_on("py-scipy@1.0:", type=("build", "run"))
+ depends_on("py-numba@0.49:", type=("build", "run"))
+ depends_on("py-pynndescent@0.5:", type=("build", "run"))
+ depends_on("py-tqdm", type=("build", "run"))