diff options
| author | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-01 20:37:33 +0200 |
|---|---|---|
| committer | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-01 20:37:33 +0200 |
| commit | 8d075b9f0046d6eeb669fe67e2e44d50c72002d6 (patch) | |
| tree | 857bac30934087b96e09b57425e7f1fa4e602c60 | |
| parent | 6abff020798d2bf0377a6f024abb3b63bfe9ea02 (diff) | |
machine-learning: Add agrum.
* guix-science/packages/machine-learning.scm (agrum): New variable.
| -rw-r--r-- | guix-science/packages/machine-learning.scm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/guix-science/packages/machine-learning.scm b/guix-science/packages/machine-learning.scm index a12c53b..729e032 100644 --- a/guix-science/packages/machine-learning.scm +++ b/guix-science/packages/machine-learning.scm | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #:use-module (gnu packages digest) | 15 | #:use-module (gnu packages digest) |
| 16 | #:use-module (gnu packages docker) | 16 | #:use-module (gnu packages docker) |
| 17 | #:use-module (gnu packages gcc) | 17 | #:use-module (gnu packages gcc) |
| 18 | #:use-module (gnu packages graphviz) | ||
| 18 | #:use-module (gnu packages guile) | 19 | #:use-module (gnu packages guile) |
| 19 | #:use-module (gnu packages image) | 20 | #:use-module (gnu packages image) |
| 20 | #:use-module (gnu packages image-processing) | 21 | #:use-module (gnu packages image-processing) |
| @@ -39,6 +40,7 @@ | |||
| 39 | #:use-module (gnu packages rpc) | 40 | #:use-module (gnu packages rpc) |
| 40 | #:use-module (gnu packages sphinx) | 41 | #:use-module (gnu packages sphinx) |
| 41 | #:use-module (gnu packages statistics) | 42 | #:use-module (gnu packages statistics) |
| 43 | #:use-module (gnu packages swig) | ||
| 42 | #:use-module (gnu packages time) | 44 | #:use-module (gnu packages time) |
| 43 | #:use-module (gnu packages tls) | 45 | #:use-module (gnu packages tls) |
| 44 | #:use-module (gnu packages web) | 46 | #:use-module (gnu packages web) |
| @@ -60,6 +62,48 @@ | |||
| 60 | #:use-module (guix-science packages statistics) | 62 | #:use-module (guix-science packages statistics) |
| 61 | #:use-module ((srfi srfi-1) #:select (alist-delete))) | 63 | #:use-module ((srfi srfi-1) #:select (alist-delete))) |
| 62 | 64 | ||
| 65 | (define-public agrum | ||
| 66 | (package | ||
| 67 | (name "agrum") | ||
| 68 | (version "3.0.0") | ||
| 69 | (source | ||
| 70 | (origin | ||
| 71 | (method git-fetch) | ||
| 72 | (uri (git-reference | ||
| 73 | (url "https://gitlab.com/agrumery/aGrUM.git") | ||
| 74 | (commit version))) | ||
| 75 | (file-name (git-file-name name version)) | ||
| 76 | (sha256 | ||
| 77 | (base32 "16ag9ypvz0xjq7dzdvwxcvn4bsmbhhxilfxfc0iw58ggimdcgibc")))) | ||
| 78 | (build-system cmake-build-system) | ||
| 79 | (arguments | ||
| 80 | (list | ||
| 81 | #:test-exclude "gumTest" | ||
| 82 | #:configure-flags | ||
| 83 | #~(list "-DBUILD_PYTHON:BOOL=ON"))) | ||
| 84 | (propagated-inputs (list python-matplotlib python-matplotlib-inline | ||
| 85 | python-numpy python-pydot python-scikit-learn)) | ||
| 86 | (native-inputs (list python python-ipython swig-4.4)) | ||
| 87 | (home-page "https://pyagrum.gitlab.io/") | ||
| 88 | (synopsis "C++ Library for Probabilistic Graphical Models") | ||
| 89 | (description | ||
| 90 | "@code{aGrUM} is a C++ library for graphical models. It is designed for | ||
| 91 | easily building applications using graphical models such as Bayesian networks, | ||
| 92 | influence diagrams, credal networks, Markov random fields, decision trees, GAI | ||
| 93 | networks, (Factored) Markov decision processes, etc. | ||
| 94 | |||
| 95 | Features: | ||
| 96 | |||
| 97 | @itemize | ||
| 98 | @item Dedicated data structures | ||
| 99 | @item Lightweight directed/undirected graphs | ||
| 100 | @item Extensible multidimensional matrix | ||
| 101 | @item Bayesian Network algorithms | ||
| 102 | @item Research tools (random generation, introspection) | ||
| 103 | @item Integration tools (listeners, multiple formats) | ||
| 104 | @end itemize") | ||
| 105 | (license (list license:lgpl3+ license:expat)))) | ||
| 106 | |||
| 63 | (define-public python-accelerate | 107 | (define-public python-accelerate |
| 64 | (package | 108 | (package |
| 65 | (name "python-accelerate") | 109 | (name "python-accelerate") |
