sharlatan pushed a commit to branch master
in repository guix.

commit edd17d92ff63decf206588a8f9e4b6fca8d9e5ab
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Nov 1 20:25:57 2024 +0000

    gnu: Add python-kalepy.
    
    * gnu/packages/statistics.scm (python-kalepy): New variable.
    
    Change-Id: I1bdaedd07f6149eeffe115eb30c17035a0ed75fd
---
 gnu/packages/statistics.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

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 <[email protected]>
 ;;; Copyright © 2024 Vinicius Monego <[email protected]>
 ;;; Copyright © 2024 Nicolas Graves <[email protected]>
+;;; Copyright © 2024 Sharlatan Hellseher <[email protected]>
 ;;;
 ;;; 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")

Reply via email to