From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oNsrCGzVV2ENegEAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 05:43:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WJPUA2zVV2EwDQAAB5/wlQ (envelope-from ) for ; Sat, 02 Oct 2021 03:43:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DCCEC29ECF for ; Sat, 2 Oct 2021 05:43:39 +0200 (CEST) Received: from localhost ([::1]:45546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWVw3-0003Zg-2a for larch@yhetil.org; Fri, 01 Oct 2021 23:43:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWVvS-0003VX-T1 for guix-patches@gnu.org; Fri, 01 Oct 2021 23:43:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWVvS-00021B-LF for guix-patches@gnu.org; Fri, 01 Oct 2021 23:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWVvS-0003Lo-Gr for guix-patches@gnu.org; Fri, 01 Oct 2021 23:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50956] [PATCH 1/3] gnu: Add python-cma. References: <20211002033916.64690-1-monego@posteo.net> In-Reply-To: <20211002033916.64690-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Oct 2021 03:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50956@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50956-submit@debbugs.gnu.org id=B50956.163314616212824 (code B ref 50956); Sat, 02 Oct 2021 03:43:02 +0000 Received: (at 50956) by debbugs.gnu.org; 2 Oct 2021 03:42:42 +0000 Received: from localhost ([127.0.0.1]:57675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWVv8-0003Km-4T for submit@debbugs.gnu.org; Fri, 01 Oct 2021 23:42:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWVv5-0003KT-Po for 50956@debbugs.gnu.org; Fri, 01 Oct 2021 23:42:40 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3336A240026 for <50956@debbugs.gnu.org>; Sat, 2 Oct 2021 05:42:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1633146154; bh=y29X890m8/++sqAC3IwRGKk1CiYMnc2QNpHBmgU7Kes=; h=From:To:Cc:Subject:Date:From; b=cIpNG03B53XvHXzPSpaXKJm81aQx3KwEUYiuJJn1ICFvGV7ECeQ2b172SHYd3O8CK OX/i7pHlGU1YbpavcJq3zQCOXNAlYr2A9YTRQaf+3Z/bbksY7Cujdoxym2MvtAiNIo MoSh7JWwF0hHQ8ljefjLippJCUmyPRHaQdA/hYh79EoTNLn45ludyvS5rL2qAe23eG s/xU2sgqrGdMA4RKkzH4Ti2kvoD6OpdM4v0RxZ0XqQGPoOeVfy1PjyhOfuT49JxO+P /lm8UqOtUAwhQlniNQMM5K4m99Z1mriqVN21t/aox6FCt2/j+medfvECZIyVaR1QGv EUZCiSTtxluZQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HLt8n0rYgz9rxK; Sat, 2 Oct 2021 05:42:32 +0200 (CEST) From: Vinicius Monego Date: Sat, 2 Oct 2021 03:41:15 +0000 Message-Id: <20211002034117.64876-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633146219; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=L+ERTlvGCbPctr7oTgunorfE1ocJxgBxgvYu/TJWziI=; b=QxD3LqtlwGi2TmwQESexiH2uXms0XLeiWu3N95Xz9orYd66fMiQZ+Q/fCPxVQcZ3E1CLtu Pr7125lBtiZJVMEAEG+AGj63pZzjed5C5FQXoM8fvOYY5HUZy8JxYnODNw0HDh83pAg9jB 724xrkejfTa2zTSUzJ4+3n2GvIi2MbEuIUvKqBOv72/GbnHemDDPRGqyRbFyBHQEKMBMtA ehMm4b1LiYGfHqW/qfgmzMiUmE2qZXY4FBcknOHPBLi3YmDPNWITXI91SZPs+48SwCnX30 /ch0LwtO+nFOG0WOAf+y8SaORjqO7W3KJsO5/iYMdLCuRa4Jj4LsZco+5FLXTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633146219; a=rsa-sha256; cv=none; b=NqkrhpjF7Q4BS1A165F/uC2syLkbgsSHsj5RDPwKB0qekYAUtJp0+wQkhzyOdMC98JYs3Z Sb8ug+L5mWFblJD8aW52jbpHqS0Tb7iJYLiDDK5vm5mXMnQ+vMVbmUNLeZ3V5VIJmLwj/n yCobbFY/MKD1szhPJQqCcUhgLaIa5W5EpeVDnDLB8mDYwsObwQhzD88cXBZBD708rPP16U PQuhgkHEJG1ZA2O8pEWgMcrY/1Jqqi9IZq5wrbQvp0+hut9odDVqHijylA8IlObc7ZRv09 FdWjvV371/u7M5TRIY7O0JYJmZHuX0A3j+Zx2cw/VrGtgIefkIsQVjrBeKtx4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=cIpNG03B; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=cIpNG03B; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DCCEC29ECF X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: XqKi6lWxRh+w * gnu/packages/machine-learning.scm (python-cma): New variable. --- gnu/packages/machine-learning.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index e34de5df43..281c88d6f8 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1150,6 +1150,33 @@ good at identifying feature interactions that are normally overlooked by standard feature selection algorithms.") (license license:expat))) +(define-public python-cma + (package + (name "python-cma") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cma" version)) + (sha256 + (base32 "1ip32lnilbhmv1fyvmmdn5rcf084c0ps4q9dr3cf2ax5wdzhg0rv")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "cma.test"))))))) + (propagated-inputs + `(("python-numpy" ,python-numpy))) + (home-page "https://github.com/CMA-ES/pycma") + (synopsis "Python implementation of CMA-ES") + (description "@code{pycma} is a Python implementation of CMA-ES and a few +related numerical optimization tools.") + (license license:bsd-3))) + (define-public python-cmaes (package (name "python-cmaes") -- 2.30.2