guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66322] [PATCH] gnu: Add python-mapie.


From: Vinicius Monego
Subject: [bug#66322] [PATCH] gnu: Add python-mapie.
Date: Tue, 3 Oct 2023 13:03:38 +0000

* gnu/packages/statistics.scm (python-mapie): New variable.
---
 gnu/packages/statistics.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index a2f5d564f1..f742702679 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2330,6 +2330,30 @@ (define-public python-patsy
     ;; and is covered by the PSFL.
     (license (list license:bsd-2 license:psfl))))
 
+(define-public python-mapie
+  (package
+    (name "python-mapie")
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "MAPIE" version))
+              (sha256
+               (base32
+                "1nvi547avvwrck1n7rf5jh7d0ml6jaqjs2p59iwcq2a5xjmdsmsc"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pandas python-pytest))
+    (propagated-inputs (list python-numpy python-scikit-learn))
+    (home-page "https://github.com/scikit-learn-contrib/MAPIE";)
+    (synopsis "Module for estimating prediction intervals")
+    (description "MAPIE allows you to easily estimate prediction intervals
+(or prediction sets) using your favourite scikit-learn-compatible model for
+single-output regression or multi-class classification settings.
+
+Prediction intervals output by MAPIE encompass both aleatoric and epistemic
+uncertainties and are backed by strong theoretical guarantees thanks to
+conformal prediction methods intervals.")
+    (license license:bsd-3)))
+
 (define-public python-statsmodels
   (package
     (name "python-statsmodels")

base-commit: 789a8538d647ec50713698c5cdce522ce3415452
-- 
2.39.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]