From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GOrGCfs9ZmGBfgEAgWs5BA (envelope-from ) for ; Wed, 13 Oct 2021 04:01:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0LKBBfs9ZmFMawAA1q6Kng (envelope-from ) for ; Wed, 13 Oct 2021 02:01:31 +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 1079C1622E for ; Wed, 13 Oct 2021 04:01:29 +0200 (CEST) Received: from localhost ([::1]:54062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maTaC-0007YH-6s for larch@yhetil.org; Tue, 12 Oct 2021 22:01:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maTZm-0007Y4-4Y for guix-patches@gnu.org; Tue, 12 Oct 2021 22:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maTZl-00041m-OX for guix-patches@gnu.org; Tue, 12 Oct 2021 22:01:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maTZl-0007TE-Nk for guix-patches@gnu.org; Tue, 12 Oct 2021 22:01:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50956] [PATCH v2 1/4] gnu: Add python-scikit-optimize. 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: Wed, 13 Oct 2021 02:01:01 +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.163409045928699 (code B ref 50956); Wed, 13 Oct 2021 02:01:01 +0000 Received: (at 50956) by debbugs.gnu.org; 13 Oct 2021 02:00:59 +0000 Received: from localhost ([127.0.0.1]:56698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maTZj-0007So-7y for submit@debbugs.gnu.org; Tue, 12 Oct 2021 22:00:59 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maTZh-0007Sa-P7 for 50956@debbugs.gnu.org; Tue, 12 Oct 2021 22:00:58 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6E744240027 for <50956@debbugs.gnu.org>; Wed, 13 Oct 2021 04:00:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634090451; bh=JH8sakxZTK0wQ8Oy0C8anuvzIF6Ga+2mU7ye15XFGKo=; h=From:To:Cc:Subject:Date:From; b=Ri2i8PTuNukZo5zvoi0mQNIJ8NgFHcgGnfN8+5Hwe6a5U4jcoadIvkYwcbeC+iWaF rHiFrtWv353L5eGO65/okWSb3tHss1GyZ9N4zsyhvUPk2UcY9PgLHin8j/2RWoGEwI rmFDZWB/DSSlGbm6dzV+lsDQv2aoIX/8/xC947oAcWHUPsRlbgY/MoO3RJbSesqyQe aLpo2YrAiuglhPAVKSgn7OgHzhJPqnUPp4m64PRAkQNkJdOu7e6pI0p5ee3DGfnP6r JwzbBkBhkbm044EqDMJYdoT0WDJF3wQQee3y6tl21ZuT+rViVd5mOZjgIYPf9zFZ5r VJA2C2/PBKSsw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HTbNL361dz9rxM; Wed, 13 Oct 2021 04:00:49 +0200 (CEST) From: Vinicius Monego Date: Wed, 13 Oct 2021 02:00:32 +0000 Message-Id: <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=1634090490; 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=pOurAIbSjOyK9l8ftoGEKfML/bGxntNIkxwgopqJ5cM=; b=X/fHjOt18lF9BMj/dgJw/q/Y1wx/ktqsMwyyEhuXZewwx7lt/tDHA2rX/untuWh4jSpT7G Qvmmj/Ie+G2fGzvf9ZnpD04hvR/sBVqSrsiYYnebUqx14dly2HIdzS/jKLHwJOJP+eB5HB VVAy14S+QiYQdE3k0w6Hu40JlRlGimhy4uqGTpGrM7TYBVYgpMgfxc8e3/1W8ov/LiEqjU v0vE6fC+rPWt+PPJI5VG9TD5DdXiQ2tFqf1pQG/seU2WBvHu57RRksjJJmVLqpi1NOI3Vh blfTI2HbtMF8WZCOywJT+jHkNgXO8Ww7Sow/a20KD9Ap5+k7e4Kqx1JPZlc5xw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634090490; a=rsa-sha256; cv=none; b=J5lILwa/eO33E/MoskzGAhZAvmulxDho/lWK4LYmF+gj+CQpGLPOdJwnnZMOcxTSr5T717 KgvaJwuB/9Fp41fvRHvJu3Y1eWE64iSZwsIHdeDw7LDOukqe3sw6YfPGo/3ijf1XcYlcCc a18uI0/3dS3XmYqzl6ivDc7V650hZzYlNklYcL7yY+H2fvde27p9JxrCS5gWCVSqWQ5wbX Ai8SSTSV46wsnwkmnEXB4JdlhOX4imHg6+cpueK/0A7vIowVUCcMWq8VxJgLW1mDzckcoE Ub0YhqUebcX2Sed2VApK1q2AIhU3eB+xwOF8J14ldgwSfoF1/Qa7fL54Bt89JQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Ri2i8PTu; 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=Ri2i8PTu; 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: 1079C1622E X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: to3IgO6R7GhN * gnu/packages/machine-learning.scm (python-scikit-optimize): New variable. --- scikit-optimize 0.9.0 was released today, added it as a patch in the series. gnu/packages/machine-learning.scm | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 029422677a..478e9548e9 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1218,6 +1218,44 @@ main intended application of Autograd is gradient-based optimization.") (define-public python2-autograd (package-with-python2 python-autograd)) +(define-public python-scikit-optimize + (package + (name "python-scikit-optimize") + (version "0.9.0") + (source + (origin + (method git-fetch) ; no tests in PyPI tarball + (uri (git-reference + (url "https://github.com/scikit-optimize/scikit-optimize") + (commit (string-append "v" version)))) + (sha256 + (base32 "0hsq6pmryimxc275yrcy4bv217bx7ma6rz0q6m4138bv4zgq18d1")) + (file-name (git-file-name name version)))) + (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"))))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-joblib" ,python-joblib) + ("python-numpy" ,python-numpy) + ("python-pyaml" ,python-pyaml) + ("python-scikit-learn" ,python-scikit-learn) + ("python-scipy" ,python-scipy))) + (home-page "https://scikit-optimize.github.io/") + (synopsis "Sequential model-based optimization") + (description + "Scikit-Optimize, or @code{skopt}, is a library to minimize (very) +expensive and noisy black-box functions. It implements several methods +for sequential model-based optimization.") + (license license:bsd-3))) + (define-public lightgbm (package (name "lightgbm") -- 2.30.2