From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KIlHGzA+ZmGBfgEAgWs5BA (envelope-from ) for ; Wed, 13 Oct 2021 04:02:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SFXOFjA+ZmGCBQAAbx9fmQ (envelope-from ) for ; Wed, 13 Oct 2021 02:02:24 +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 1A7E0A32 for ; Wed, 13 Oct 2021 04:02:24 +0200 (CEST) Received: from localhost ([::1]:54686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maTb5-000819-9E for larch@yhetil.org; Tue, 12 Oct 2021 22:02:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maTak-0007mL-LL for guix-patches@gnu.org; Tue, 12 Oct 2021 22:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maTak-0004pA-C8 for guix-patches@gnu.org; Tue, 12 Oct 2021 22:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maTak-0007VJ-7Z for guix-patches@gnu.org; Tue, 12 Oct 2021 22:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50956] [PATCH v2 2/4] gnu: Add python-cma. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Oct 2021 02:02: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.163409046528751 (code B ref 50956); Wed, 13 Oct 2021 02:02:02 +0000 Received: (at 50956) by debbugs.gnu.org; 13 Oct 2021 02:01:05 +0000 Received: from localhost ([127.0.0.1]:56703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maTZp-0007Tf-HZ for submit@debbugs.gnu.org; Tue, 12 Oct 2021 22:01:05 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maTZn-0007Sh-6Y for 50956@debbugs.gnu.org; Tue, 12 Oct 2021 22:01:04 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 99947240101 for <50956@debbugs.gnu.org>; Wed, 13 Oct 2021 04:00:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634090456; bh=24fNlFoVpculwpel8TS/ttJnVY/dZLcgtIOFf5Nd7WU=; h=From:To:Cc:Subject:Date:From; b=btvqmdUTiWnEHDSJn1FZZxMGEkxTp9se2AAyl6MudqJcNPwIoyDNkwx3A8s1RCkGX CTsGqRT7SrCroxGAOKAZ5uToIEJbkCAonLP8cuZQdM21WvmtX4ue7QAWoXkWylN8rG xgGFZrXp300EepL7TujLPrpCBcTcrrEn//YwYeae6PrkcI40Hh5Uuf5IG2JOgtocRy gOzqkmW1HylVO5xS1KU8zqIftQr9ekZdOOJANgLq2PyalJIau1O5f9yK5BKu2HR0D1 MlvGt9/ZfPvP4gik6McUW7znw9tznYFH7mRVBtKDYBugu08AFnetPYA2XvlHOkIRMe 3Z/1g7dJ7aDtw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HTbNR3SxVz6tm5; Wed, 13 Oct 2021 04:00:54 +0200 (CEST) From: Vinicius Monego Date: Wed, 13 Oct 2021 02:00:33 +0000 Message-Id: <20211013020035.53000-2-monego@posteo.net> In-Reply-To: <20211013020035.53000-1-monego@posteo.net> References: <20211013020035.53000-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=1634090544; 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=dGl67+AAvROdWHi6IvbMXygM2lkiN/bbJurQB+tOHAo=; b=d2AgSfZq4fYymvM0LirJcS0JJRB2B8BbBAWDBOntgsTtpsnE0qUbq17a95rFIg0CJi2U3W ncRtsddy56RZsJhoJwdURlHcz5AONbvmjx7Gu37yHTD02ZdmdMlLnFgWIq0LYuap8TQy7v HP/7etllKyhX1BFesG/rubeBXXwHDnJh+eiIrJLwO4WtL6fdeMsNU+lth0ygn6HCA81/R+ LznhkEIzNe3++gUvCEiFeV2xJH0k/O1AHVfInUH5Zdv92Zevm1W4fhaqy3CohCWq3QvsBV Y3a+P8Bl7U5K9DzGgZRGlYh+EGtwEkg47e18d3GOW2bdkk1wNxRGmFnuLvYMdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634090544; a=rsa-sha256; cv=none; b=sKaE31GW4nsxoG8p9kkR5fYU+pnAkx/Hl0GB0nJrSzGetd6BtuY6bV9fR/ihFMm5wV4orH iEogXjwQqfXuqu3nFmTECHIw1G68f8RETN7x6OdhyemY0UEc0e4WKQ4G3DxkSKB1Nnu+Zv Vh79IiqXt+feW0geAuMOM26eXrCaiGbQrlvLJmGgoyLe8clWr0/BAxTZ9+n7WOT2cFlye+ 7S5c4/t4vtI2oELBdOoec641jydzEW6H9Szae6BUiiAej3A24TPLWvL95yOwrYlpsCaEke Rqlgr0csSFvI1mB0NMEAo74hnGCSUaUgDHKMaIPvD1afHIe8fkDKdsDmX3sxFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=btvqmdUT; 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-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=btvqmdUT; 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: 1A7E0A32 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: RTPawH5IDeAG * 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 478e9548e9..6b7736702a 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