guix-commits
[Top][All Lists]
Advanced

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

37/47: gnu: Add r-acebayes.


From: guix-commits
Subject: 37/47: gnu: Add r-acebayes.
Date: Fri, 13 Dec 2019 16:42:21 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 1442ca73402ba7904830204e59aa2d76bd85af46
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Dec 13 18:53:16 2019 +0100

    gnu: Add r-acebayes.
    
    * gnu/packages/cran.scm (r-acebayes): New variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1a09342..91f842e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -16965,3 +16965,34 @@ See e.g. Gentle (2003) @url{doi:10.1007/b97336}.")
      "This package provides a number of methods for creating and augmenting
 Latin Hypercube Samples.")
     (license license:gpl3)))
+
+(define-public r-acebayes
+  (package
+    (name "r-acebayes")
+    (version "1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "acebayes" version))
+       (sha256
+        (base32
+         "1xm6bw0qm2vlcrk274x0bawzb2lnacb1wsmzba5mg3i75a55pqln"))))
+    (properties `((upstream-name . "acebayes")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-compare" ,r-compare)
+       ("r-lhs" ,r-lhs)
+       ("r-randtoolbox" ,r-randtoolbox)
+       ("r-rcpp" ,r-rcpp)
+       ("r-rcpparmadillo" ,r-rcpparmadillo)))
+    (home-page "https://cran.r-project.org/web/packages/acebayes/";)
+    (synopsis "Optimal Bayesian experimental design using the ACE algorithm")
+    (description
+     "Finding an optimal Bayesian experimental design involves maximizing an
+objective function given by the expectation of some appropriately chosen
+utility function with respect to the joint distribution of unknown
+quantities (including responses).  This objective function is usually not
+available in closed form and the design space can be continuous and of high
+dimensionality.  This package uses @dfn{Approximate Coordinate Exchange} (ACE)
+to maximise an approximation to the expectation of the utility function.")
+    (license license:gpl2)))



reply via email to

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