* [bug#49303] [PATCH] gnu: Add python-cmaes.
@ 2021-06-30 21:40 Vinicius Monego
2021-07-08 14:50 ` bug#49303: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Monego @ 2021-06-30 21:40 UTC (permalink / raw)
To: 49303; +Cc: Vinicius Monego
* gnu/packages/machine-learning.scm (python-cmaes): New variable.
---
gnu/packages/machine-learning.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 837ebbba67..504cabc11d 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1012,6 +1012,31 @@ good at identifying feature interactions that are normally overlooked by
standard feature selection algorithms.")
(license license:expat)))
+(define-public python-cmaes
+ (package
+ (name "python-cmaes")
+ (version "0.8.2")
+ (source
+ (origin
+ (method git-fetch) ;no tests in PyPI
+ (uri (git-reference
+ (url "https://github.com/CyberAgent/cmaes")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "1jyckaifir528dz6m95nvky8hvqmz5gz6dlp65baahhbca0danzb"))
+ (file-name (git-file-name name version))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools) ;build fails without this
+ ("python-wheel" ,python-wheel)))
+ (propagated-inputs
+ `(("python-numpy" ,python-numpy)))
+ (home-page "https://github.com/CyberAgent/cmaes")
+ (synopsis "CMA-ES implementation for Python")
+ (description "This package provides provides an implementation of the
+Covariance Matrix Adaptation Evolution Strategy (CMA-ES) for Python.")
+ (license license:expat)))
+
(define-public python-autograd
(let* ((commit "442205dfefe407beffb33550846434baa90c4de7")
(revision "0")
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#49303: [PATCH] gnu: Add python-cmaes.
2021-06-30 21:40 [bug#49303] [PATCH] gnu: Add python-cmaes Vinicius Monego
@ 2021-07-08 14:50 ` Mathieu Othacehe
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2021-07-08 14:50 UTC (permalink / raw)
To: Vinicius Monego; +Cc: 49303-done
Hey,
> * gnu/packages/machine-learning.scm (python-cmaes): New variable.
Pushed as 57a747e15a9071e7e41bb1871a8f2d1938b03889.
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-08 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 21:40 [bug#49303] [PATCH] gnu: Add python-cmaes Vinicius Monego
2021-07-08 14:50 ` bug#49303: " Mathieu Othacehe
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.