From patchwork Sat Oct 2 03:39:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 354 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 74E7427BBE3; Sat, 2 Oct 2021 04:40:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2D25027BBE1 for ; Sat, 2 Oct 2021 04:40:40 +0100 (BST) Received: from localhost ([::1]:44530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWVt9-0002hj-5i for patchwork@mira.cbaines.net; Fri, 01 Oct 2021 23:40:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWVsY-0002hb-FL for guix-patches@gnu.org; Fri, 01 Oct 2021 23:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWVsY-0007ox-2W for guix-patches@gnu.org; Fri, 01 Oct 2021 23:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWVsX-0003GF-QM for guix-patches@gnu.org; Fri, 01 Oct 2021 23:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50956] [PATCH 0/3] Add Optuna. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Oct 2021 03:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50956@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163314597912493 (code B ref -1); Sat, 02 Oct 2021 03:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2021 03:39:39 +0000 Received: from localhost ([127.0.0.1]:57670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWVsB-0003FR-MG for submit@debbugs.gnu.org; Fri, 01 Oct 2021 23:39:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:47938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWVs7-0003FH-J4 for submit@debbugs.gnu.org; Fri, 01 Oct 2021 23:39:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWVs7-0002g4-3e for guix-patches@gnu.org; Fri, 01 Oct 2021 23:39:35 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWVs4-0007Mj-7G for guix-patches@gnu.org; Fri, 01 Oct 2021 23:39:34 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 80D34240026 for ; Sat, 2 Oct 2021 05:39:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1633145967; bh=uLK9Q2FvVSvDB8fCEyyYzQaMNflEY5fERxAOCtcS3UU=; h=From:To:Cc:Subject:Date:From; b=j1kCLU5Vc04XE4CyOvJXv9PWlzDE+9tzTj2VYNf+i+jndAxskBXjrwevyzdB/f3bt 3V8A9tvISWGeAccJnjpKGZ/jul3sotrR85CwdJ7Vvdl7cjW1+3jcp0T7/bvKWJBo8Y BI2MzS9ZgwVDChnQVRPytYX1/QZ9tR41hhXTQrDxOJ6fIhsd0zo9BpkvmudKspQUKk /2qWejh9zonW2rGcgKDGYXDMm7gQt6PGiB2wPfzUSJ6eLvlDNu097gz2u2YRKOKe+R FTCDgdDV/GiCj1HwipEXrExymp6Flbq323O0qviWYotkMTLDT8VxJaRH1b58ct5AP+ Wks3G0Gf6RELg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HLt5B2hrBz6tm5; Sat, 2 Oct 2021 05:39:26 +0200 (CEST) From: Vinicius Monego Date: Sat, 2 Oct 2021 03:39:16 +0000 Message-Id: <20211002033916.64690-1-monego@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This patchset adds the Optuna hyperparameter optimization framework. Optuna requires a number of ML frameworks for the whole test suite. I deleted some test files and added comments on missing packages. I packaged Skorch in the series but it's an optional dependency that is only used in the integration tests, which are completely disabled. The latest version of scikit-optimize (0.8.1), another optional dependency, is incompatible with the scikit-learn version in Guix (0.24.x). I am waiting for the next release to package it. The other dependencies are trickier. The executable in bin/ throws an error coming from pygobject, which I couldn't update. While there is a CLI, Optuna is mainly used as a library, that is why I prefix it with python-. Vinicius Monego (3): gnu: Add python-cma. gnu: Add python-skorch. gnu: Add python-optuna. gnu/packages/machine-learning.scm | 166 ++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+)