summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-01 20:25:57 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-11-30 15:10:41 +0000
commitedd17d92ff63decf206588a8f9e4b6fca8d9e5ab (patch)
treeb8a4d548271039771abd7ff24137b213491fa3be /gnu/packages
parent09da0d3f0b8212afb76cb2c34226deadec9c44e4 (diff)
gnu: Add python-kalepy.
* gnu/packages/statistics.scm (python-kalepy): New variable. Change-Id: I1bdaedd07f6149eeffe115eb30c17035a0ed75fd
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/statistics.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 7089030fcc..2f48598f87 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -22,6 +22,7 @@
;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2385,6 +2386,37 @@ building design matrices.")
;; and is covered by the PSFL.
(license (list license:bsd-2 license:psfl))))
+(define-public python-kalepy
+ (package
+ (name "python-kalepy")
+ (version "1.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "kalepy" version))
+ (sha256
+ (base32 "1a1d98vjkjs8zwx4hdss3gv67jyf25mmsrdc5qi8hpxminkizb6w"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-matplotlib
+ python-numba
+ python-numpy
+ python-scipy
+ python-six))
+ (home-page "https://github.com/lzkelley/kalepy")
+ (synopsis "Kernel Density Estimation (KDE) and sampling")
+ (description
+ "This package performs KDE operations on multidimensional data to
+calculate estimated PDFs (probability distribution functions), and resample
+new data from those PDFs.")
+ ;; MIT - setup.py
+ ;; GPL3+ - LICENSE
+ (license (list license:gpl3+ license:expat))))
+
(define-public python-lifelines
(package
(name "python-lifelines")