From 670dcc8e4c56413d646c034d0c382bd6977992eb Mon Sep 17 00:00:00 2001 From: Marco Baggio Date: Mon, 29 Apr 2024 14:09:41 +0200 Subject: gnu: Add python-fastcluster. * gnu/packages/python-science.scm (python-fastcluster): New variable. Co-authored-by: Ricardo Wurmus Change-Id: Ifc5229a4d00f581eb358a1f41fc3479fd1c33c2e --- gnu/packages/python-science.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index b485a2ecd8..190dca5d06 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2022 jgart ;;; Copyright © 2023, 2024 Troy Figiel ;;; Copyright © 2024 Sharlatan Hellseher +;;; Copyright © 2024 Marco Baggio ;;; ;;; This file is part of GNU Guix. ;;; @@ -1230,6 +1231,26 @@ region of practical equivalence (rope), or that the second classifier has higher scores.") (license license:expat))) +(define-public python-fastcluster + (package + (name "python-fastcluster") + (version "1.2.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fastcluster" version)) + (sha256 + (base32 "19labbgnq85p4r4jbli2p045lgh57larhi2g2anagfxnlzpqdf5a")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-numpy)) + (native-inputs (list python-scipy)) + (home-page "https://danifold.net/fastcluster.html") + (synopsis "Fast hierarchical clustering routines for R and Python") + (description "The fastcluster package implements seven common hierarchical +clustering schemes efficiently. The package is made with two interfaces to +standard software: R and Python.") + (license license:bsd-2))) + (define-public python-fbpca (package (name "python-fbpca") -- cgit v1.2.3