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 YCjpJAyO52BnRAAAgWs5BA (envelope-from ) for ; Fri, 09 Jul 2021 01:45:16 +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 GA60IAyO52ALaQAAB5/wlQ (envelope-from ) for ; Thu, 08 Jul 2021 23:45:16 +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 C6C9916DDE for ; Fri, 9 Jul 2021 01:45:15 +0200 (CEST) Received: from localhost ([::1]:38210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1dhi-0005ot-LE for larch@yhetil.org; Thu, 08 Jul 2021 19:45:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1dhW-0005ok-Nj for guix-patches@gnu.org; Thu, 08 Jul 2021 19:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1dhW-0004F7-Fh for guix-patches@gnu.org; Thu, 08 Jul 2021 19:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1dhW-0002rc-Ah for guix-patches@gnu.org; Thu, 08 Jul 2021 19:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49473] [PATCH] gnu: Add python-hyperopt. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jul 2021 23:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49473 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49473@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162578786710938 (code B ref -1); Thu, 08 Jul 2021 23:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jul 2021 23:44:27 +0000 Received: from localhost ([127.0.0.1]:57873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1dgx-0002qM-HV for submit@debbugs.gnu.org; Thu, 08 Jul 2021 19:44:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:53940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1dgt-0002q9-66 for submit@debbugs.gnu.org; Thu, 08 Jul 2021 19:44:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1dgs-0005nc-LA for guix-patches@gnu.org; Thu, 08 Jul 2021 19:44:22 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1dgq-00043M-4z for guix-patches@gnu.org; Thu, 08 Jul 2021 19:44:22 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E017D240026 for ; Fri, 9 Jul 2021 01:44:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1625787855; bh=P6V60+b2ill4KqLl4URn8fg0kBx+kUgm1wc8TQw6aMQ=; h=From:To:Cc:Subject:Date:From; b=MEZmYY4tkV3llEwDDREPvT9NtpJoZ8D+Mmzskkj4pMXOr6w+fSx7fqB5efOktwIlZ 4QHlVHPpbsV77Ct+qYHvcbGTEWTciD52lZxLGYPgKe4vbbnRTqw0WP7MfHO8F/fyhV kTjEYIIUlE9WXQx1FVEc4eplrmOzFxJHFbPKxfgFlEqs9lyukyvYdbiKvcX6MAJPVi voe1ugDAOcfUOliW5sXkSrqnCjoQ2CWxJibYGJV4V7HMgFwZm/9SgvOuUOBCxc94Rz 2UvF7HiWCbP64/7vjKF6jGdDxPzwciA1qUzpM92KpoG4dPJmw3LEbq54Wld2q4p6GV Mzh9tIXRv41QQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GLXv23QTWz6tm9; Fri, 9 Jul 2021 01:44:14 +0200 (CEST) From: Vinicius Monego Date: Thu, 8 Jul 2021 23:20:57 +0000 Message-Id: <20210708232057.20492-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1625787916; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uJ7jHBgdsXS9xAM/Ve0RBwzbCoXzqoFAZVD8jF+SYvk=; b=F+Icq0gnr3Se4JqjhyePvyMfc6ytmUl+9MkOHyL6UKa7A+V7yYwLvKzbmBQU+wc4FFXtOB BSt40UibTxXA4DCq4JQGEwMnkJkFy1wH/h+mYKlt40MUjnoZAy6U0GtIamRQ62SkgIj7qK rvL8MZn8AhtAMpwV8QchFP0ypOr2Yudzrz1le07r/cLxegkpVwLRDOHmWXLm3w2yMNdR/P 5ab6KBh0WqCXE/B19oi6O/O660sdo1sUpsI1+F5XZJ9+ooSafHASRVVDBVjNCVRMBwbHcz M2nfm6b0JWsMGzAFD5vZEKrZcWyKZXye9DVGcYI463qaxxWiW0+CbUq8sj71Mw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625787916; a=rsa-sha256; cv=none; b=L55NCPx8YlX7x4TxWfjRT/0zivFnCZn21MSsj1rP5ac1asCkxFGfVd6e3nlyyDxMa08JtM MGlCnTKnAdNFot09rDSi8UDdTZUDbqylX2OpTume3beu1JFhzRYuuJyOOtKEnbI7Mvf0kp cSMSUyDrH3dg0xK9+FEjsFs1ffwQlsSQUr7tY/GVhMAUQhrNDYWf4+hRH15y9MNCZO067v PNaOw/9bq8kRRWjux5RXvAYfmvHyz34IAr3Oth2Vyo1OKRhPvBox1TGaDFR3BTEGtJPMO6 qjySHGC8xpalOqhCohjUQfTSQ/JoIYgD2FMIV/LzMVPrlXPAwmjVbdjK3bHNgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MEZmYY4t; 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=MEZmYY4t; 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: C6C9916DDE X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: HbR7RPdx8iGx * gnu/packages/machine-learning.scm (python-hyperopt): New variable. --- gnu/packages/machine-learning.scm | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index fbe7734bd1..e6f94eb594 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1268,6 +1268,57 @@ Models, is a program for performing both single-SNP and SNP-set genome-wide association studies (GWAS) on extremely large data sets.") (license license:asl2.0))) +(define-public python-hyperopt + (package + (name "python-hyperopt") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hyperopt" version)) + (sha256 + (base32 "1k4ma8ci0bxghw7g4ms944zak1pi83yv2d6bxd7fcslm1zalfq5w")))) + (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" "pytest" "--ignore" + ;; Needs python-pyspark. + "hyperopt/tests/test_spark.py" + ;; Needs both python-scikit-learn and python-lightgbm. + "--ignore" "hyperopt/tests/test_atpe_basic.py" + ;; The tests below need python-lightgbm. + "-k" (string-append "not test_branin" + " and not test_distractor" + " and not test_q1lognormal" + " and not test_quadratic1" + " and not test_twoarms")))))))) + (propagated-inputs + `(("python-cloudpickle" ,python-cloudpickle) + ("python-future" ,python-future) + ("python-networkx" ,python-networkx) + ("python-numpy" ,python-numpy) + ("python-scipy" ,python-scipy) + ("python-six" ,python-six) + ("python-tqdm" ,python-tqdm))) + (native-inputs + `(("python-black" ,python-black) + ("python-ipython" ,python-ipython) + ("python-ipyparallel" ,python-ipyparallel) + ("python-nose" ,python-nose) + ("python-pymongo" ,python-pymongo) + ("python-pytest" ,python-pytest))) + (home-page "https://hyperopt.github.io/hyperopt/") + (synopsis "Library for hyperparameter optimization") + (description "Hyperopt is a Python library for serial and parallel +optimization over awkward search spaces, which may include real-valued, +discrete, and conditional dimensions.") + (license license:bsd-3))) + ;; There have been no proper releases yet. (define-public kaldi (let ((commit "d4791c0f3fc1a09c042dac365e120899ee2ad21e") -- 2.32.0