From patchwork Thu Oct 3 12:11:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15597 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 7A659174C5; Thu, 3 Oct 2019 13:13:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 38636174A6 for ; Thu, 3 Oct 2019 13:13:11 +0100 (BST) Received: from localhost ([::1]:35680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFzyo-0000nq-Oi for patchwork@mira.cbaines.net; Thu, 03 Oct 2019 08:13:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41961) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFzyi-0000nc-8r for guix-patches@gnu.org; Thu, 03 Oct 2019 08:13:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFzyh-0006rw-6l for guix-patches@gnu.org; Thu, 03 Oct 2019 08:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58271) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFzyg-0006rk-Pw for guix-patches@gnu.org; Thu, 03 Oct 2019 08:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFzyg-0001A2-Ia for guix-patches@gnu.org; Thu, 03 Oct 2019 08:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37597] [PATCH 1/4] gnu: Add cl-store. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Oct 2019 12:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37597 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37597@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 37597-submit@debbugs.gnu.org id=B37597.15701047714419 (code B ref 37597); Thu, 03 Oct 2019 12:13:02 +0000 Received: (at 37597) by debbugs.gnu.org; 3 Oct 2019 12:12:51 +0000 Received: from localhost ([127.0.0.1]:38851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFzyV-00019C-K9 for submit@debbugs.gnu.org; Thu, 03 Oct 2019 08:12:51 -0400 Received: from mout01.posteo.de ([185.67.36.65]:52472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFzyT-00018v-V7 for 37597@debbugs.gnu.org; Thu, 03 Oct 2019 08:12:50 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id EA3F7160091 for <37597@debbugs.gnu.org>; Thu, 3 Oct 2019 14:12:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1570104732; bh=cimwCVG6G5ybzeTNdZXuq2BPhwvTRRR0EK04BO13rZE=; h=From:To:Cc:Subject:Date:From; b=RYw4apQ01BFrWnm9QuYjeOVOIMSV72e0RpV/rpVyyCrcCTOFhcikbUd1pPSwhSNP6 F0WWb3ua+RP10qZkWg29UmFAm2Om7L2YFph90jFu2jz3KJyTaGtbKpFemmK03xVqHX b/YxLMBgQaKjZdk0AGioV8WGY1hdmLjeGKKbe7VIm3KwBc5q91OcU2NnWVp1ipj/L+ suR6C54SvvGO10td38GBNIwYKjoPBp6lzv8A7hzAw4QmTfMPb+at+CKcmIB+rKMXGh 3nF68mtZNThE1nehZOu3uKmzMCBZMP1d/Ny1+dBGYtAAvoXFJe74Z/6ESnNW/l8UK2 xuYcZLyEYhuZQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46kX1S3wn9z6tm8; Thu, 3 Oct 2019 14:11:56 +0200 (CEST) From: Guillaume Le Vaillant Date: Thu, 3 Oct 2019 14:11:28 +0200 Message-Id: <20191003121131.20803-1-glv@posteo.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/lisp.scm (sbcl-cl-store, cl-store, ecl-cl-store): New variables. --- gnu/packages/lisp.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index ba009bb7a6..17d037c264 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -7360,3 +7360,35 @@ compression/decompression using bindings to the lzlib C library.") (define-public ecl-lzlib (sbcl-package->ecl-package sbcl-lzlib)) + +(define-public sbcl-cl-store + (let ((commit "cd01f2610d3360dc01ab972bd9317407aaea7745") + (revision "0")) + (package + (name "sbcl-cl-store") + (version (git-version "0.8.11" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/skypher/cl-store.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05b7kh5af2ax7vlmphpac4vbqr84j5ivppj96qzb64fxpjpqglm4")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("rt" ,sbcl-rt))) + (synopsis "Common Lisp library to serialize data") + (description + "CL-STORE is a portable serialization package which should give you the +ability to store all Common Lisp data types into streams.") + (home-page "http://www.common-lisp.net/project/cl-store/") + (license license:expat)))) + +(define-public cl-store + (sbcl-package->cl-source-package sbcl-cl-store)) + +(define-public ecl-cl-store + (sbcl-package->ecl-package sbcl-cl-store)) From patchwork Thu Oct 3 12:11:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15601 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 3CBE6174C5; Thu, 3 Oct 2019 13:14:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A8C12174C0 for ; Thu, 3 Oct 2019 13:14:15 +0100 (BST) Received: from localhost ([::1]:35688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFzzr-0001Ak-7M for patchwork@mira.cbaines.net; Thu, 03 Oct 2019 08:14:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42156) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFzzg-00013h-Kq for guix-patches@gnu.org; Thu, 03 Oct 2019 08:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFzzf-0007Kq-DF for guix-patches@gnu.org; Thu, 03 Oct 2019 08:14:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFzzf-0007Kk-AC for guix-patches@gnu.org; Thu, 03 Oct 2019 08:14:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFzzf-0001Cb-4S for guix-patches@gnu.org; Thu, 03 Oct 2019 08:14:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37597] [PATCH 2/4] gnu: Add cl-libsvm-format. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Oct 2019 12:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37597 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37597@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 37597-submit@debbugs.gnu.org id=B37597.15701047844495 (code B ref 37597); Thu, 03 Oct 2019 12:14:03 +0000 Received: (at 37597) by debbugs.gnu.org; 3 Oct 2019 12:13:04 +0000 Received: from localhost ([127.0.0.1]:38858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFzye-00019n-9B for submit@debbugs.gnu.org; Thu, 03 Oct 2019 08:13:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]:44484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFzyZ-00019B-VK for 37597@debbugs.gnu.org; Thu, 03 Oct 2019 08:12:59 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 96D861600AC for <37597@debbugs.gnu.org>; Thu, 3 Oct 2019 14:12:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1570104738; bh=4UEWGAPpv890fJngGn+EYfOssDeF5oNYjBdmXsZPPJk=; h=From:To:Cc:Subject:Date:From; b=GAjUFITJ97HcMtzgkx1a6GlAaHajKaay0dhttIeIbLwV5uARb3fEp39KG36eJPvaY 8ArQZpUJo8Xjv2oj80/9alHOOBABJmO9GxZkLjgFWJs9y+9hyTVZ5R7ejz+mUKN+Wb rUVUFP9+mzA4Y4ktNuWOrMytgCTjddeRH7XQx/ElRaQrzAQQcWxbtnBT+X+hxmrlf0 5EHY9ytacT0ALxJPcoybLbZfIBB0VDZYQu7i5Nfl/2f31RtXi8Uf+Akf8QAWHGI3BZ iUD8EeNOMOgdCBFM13v6XTtDzRvV97AheciJAvY+rj1keehz65gfphFvVJVyz+GsWL ZVr0FpjgVSrDw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46kX1n2dcfz6tmD; Thu, 3 Oct 2019 14:12:13 +0200 (CEST) From: Guillaume Le Vaillant Date: Thu, 3 Oct 2019 14:11:29 +0200 Message-Id: <20191003121131.20803-2-glv@posteo.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003121131.20803-1-glv@posteo.net> References: <20191003121131.20803-1-glv@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/machine-learning.scm (sbcl-cl-libsvm-format, cl-libsvm-format, ecl-cl-libsvm-format): New variables. --- 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 e48c91a2cf..a5b86b8010 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2018 Julien Lepiller ;;; Copyright © 2018 Björn Höfling ;;; Copyright © 2019 Nicolas Goaziou +;;; Copyright © 2019 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,7 @@ #:use-module (guix utils) #:use-module (guix download) #:use-module (guix svn-download) + #:use-module (guix build-system asdf) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system ocaml) @@ -58,6 +60,7 @@ #:use-module (gnu packages gstreamer) #:use-module (gnu packages image) #:use-module (gnu packages linux) + #:use-module (gnu packages lisp) #:use-module (gnu packages maths) #:use-module (gnu packages mpi) #:use-module (gnu packages ocaml) @@ -1918,3 +1921,38 @@ that: @item Runs seamlessly on CPU and GPU. @end itemize\n") (license license:expat))) + +(define-public sbcl-cl-libsvm-format + (let ((commit "3300f84fd8d9f5beafc114f543f9d83417c742fb") + (revision "0")) + (package + (name "sbcl-cl-libsvm-format") + (version (git-version "0.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/masatoi/cl-libsvm-format.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0284aj84xszhkhlivaigf9qj855fxad3mzmv3zfr0qzb5k0nzwrg")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("prove" ,sbcl-prove) + ("prove-asdf" ,sbcl-prove-asdf))) + (inputs + `(("alexandria" ,sbcl-alexandria))) + (synopsis "LibSVM data format reader for Common Lisp") + (description + "This Common Lisp library provides a fast reader for data in LibSVM +format.") + (home-page "https://github.com/masatoi/cl-libsvm-format") + (license license:expat)))) + +(define-public cl-libsvm-format + (sbcl-package->cl-source-package sbcl-cl-libsvm-format)) + +(define-public ecl-cl-libsvm-format + (sbcl-package->ecl-package sbcl-cl-libsvm-format)) From patchwork Thu Oct 3 12:11:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15598 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 CBBD4174C5; Thu, 3 Oct 2019 13:13:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8C2A1174A6 for ; Thu, 3 Oct 2019 13:13:11 +0100 (BST) Received: from localhost ([::1]:35682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFzyp-0000oF-2V for patchwork@mira.cbaines.net; Thu, 03 Oct 2019 08:13:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41967) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFzyi-0000nd-Ng for guix-patches@gnu.org; Thu, 03 Oct 2019 08:13:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFzyh-0006s6-BN for guix-patches@gnu.org; Thu, 03 Oct 2019 08:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58272) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFzyh-0006s0-8A for guix-patches@gnu.org; Thu, 03 Oct 2019 08:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFzyh-0001A9-2e for guix-patches@gnu.org; Thu, 03 Oct 2019 08:13:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37597] [PATCH 3/4] gnu: Add cl-online-learning. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Oct 2019 12:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37597 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37597@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 37597-submit@debbugs.gnu.org id=B37597.15701047784441 (code B ref 37597); Thu, 03 Oct 2019 12:13:03 +0000 Received: (at 37597) by debbugs.gnu.org; 3 Oct 2019 12:12:58 +0000 Received: from localhost ([127.0.0.1]:38856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFzyb-00019Z-TQ for submit@debbugs.gnu.org; Thu, 03 Oct 2019 08:12:58 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFzyZ-000194-OQ for 37597@debbugs.gnu.org; Thu, 03 Oct 2019 08:12:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 351601600B8 for <37597@debbugs.gnu.org>; Thu, 3 Oct 2019 14:12:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1570104755; bh=gBUlfP6tRgn/dRr5a0HNMQaNqFirOcLSl6r9ILATvsg=; h=From:To:Cc:Subject:Date:From; b=olDOP1noY9D9wGwg0u1qcJBcPHP90YFWaQPZPi1fVu4q71MWfNhJS3sgLO3vZxMDz 58q+hZO9ta7jWIm3pghfun7KcvXszvMzavDvnWFqxf/UnbBTiEEQWFErfEzDVXSFtg Ztps6phYSUNO8/3cokprNMpV7duQAWuDJ4E0f4LGfN2VmniGeyL0Rq7FXuZ+cTrmr8 oy2W1kw22SOZsPww9bQaa7I5oVt7Basgg4twAoWbT/OOCLczt2lBxnW/uOwetgTIx1 9IF1uuhtonc+welBxtd4mWZnDLpeztjRoSX/DRJ3+WZgM6V92RlKJeS+i0DH0PYIFU y0hoVUbYOa22w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46kX2B3wyLz6tmN; Thu, 3 Oct 2019 14:12:34 +0200 (CEST) From: Guillaume Le Vaillant Date: Thu, 3 Oct 2019 14:11:30 +0200 Message-Id: <20191003121131.20803-3-glv@posteo.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003121131.20803-1-glv@posteo.net> References: <20191003121131.20803-1-glv@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/machine-learning.scm (sbcl-cl-online-learning, cl-online-learning, ecl-cl-online-learning): New variables. --- gnu/packages/machine-learning.scm | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index a5b86b8010..2b46148095 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1956,3 +1956,42 @@ format.") (define-public ecl-cl-libsvm-format (sbcl-package->ecl-package sbcl-cl-libsvm-format)) + +(define-public sbcl-cl-online-learning + (let ((commit "fc7a34f4f161cd1c7dd747d2ed8f698947781423") + (revision "0")) + (package + (name "sbcl-cl-online-learning") + (version (git-version "0.5" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/masatoi/cl-online-learning.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14x95rlg80ay5hv645ki57pqvy12v28hz4k1w0f6bsfi2rmpxchq")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("prove" ,sbcl-prove) + ("prove-asdf" ,sbcl-prove-asdf))) + (inputs + `(("cl-libsvm-format" ,sbcl-cl-libsvm-format) + ("cl-store" ,sbcl-cl-store))) + (arguments + `(;; FIXME: Tests pass but then the check phase crashes + #:tests? #f)) + (synopsis "Online Machine Learning for Common Lisp") + (description + "This library contains a collection of machine learning algorithms for +online linear classification written in Common Lisp.") + (home-page "https://github.com/masatoi/cl-online-learning") + (license license:expat)))) + +(define-public cl-online-learning + (sbcl-package->cl-source-package sbcl-cl-online-learning)) + +(define-public ecl-cl-online-learning + (sbcl-package->ecl-package sbcl-cl-online-learning)) From patchwork Thu Oct 3 12:11:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15600 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 3F730174C7; Thu, 3 Oct 2019 13:14:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id F0D0E174C0 for ; Thu, 3 Oct 2019 13:14:12 +0100 (BST) Received: from localhost ([::1]:35686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFzzo-00016X-FZ for patchwork@mira.cbaines.net; Thu, 03 Oct 2019 08:14:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42163) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFzzh-00013n-7W for guix-patches@gnu.org; Thu, 03 Oct 2019 08:14:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFzzf-0007LE-Tb for guix-patches@gnu.org; Thu, 03 Oct 2019 08:14:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFzzf-0007LA-QG for guix-patches@gnu.org; Thu, 03 Oct 2019 08:14:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFzzf-0001Cj-JC for guix-patches@gnu.org; Thu, 03 Oct 2019 08:14:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37597] [PATCH 4/4] gnu: Add cl-random-forest. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Oct 2019 12:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37597 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37597@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 37597-submit@debbugs.gnu.org id=B37597.15701047844502 (code B ref 37597); Thu, 03 Oct 2019 12:14:03 +0000 Received: (at 37597) by debbugs.gnu.org; 3 Oct 2019 12:13:04 +0000 Received: from localhost ([127.0.0.1]:38863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFzyi-0001AS-6K for submit@debbugs.gnu.org; Thu, 03 Oct 2019 08:13:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFzye-00019Q-Kr for 37597@debbugs.gnu.org; Thu, 03 Oct 2019 08:13:01 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2DD27160073 for <37597@debbugs.gnu.org>; Thu, 3 Oct 2019 14:12:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1570104773; bh=DLM0r9kE7cYHkIScGqL0NRAsxVlBpTexwNItgbWF0zE=; h=From:To:Cc:Subject:Date:From; b=oj8E1UnNm7nsoeaBRFPSQCtNZlLEDD08bCLl1dZ/erhmIcDSgfSqODjlRp8+10BqD wXpk48YEzlJgk5HXBW2Cdi32GCEz/05B47TiYHF/rfPatlVDJ5YUwQaJzMT2KSodCl +vNG6jVA6hkEHYkRGFDYIFVR4tey+YDno0tG+MvepiDixfi5WxpZmPGy9ed6cyX1Di a3K4J1YXf00EtecjgW4QJdnGtD9mLlAzIDDvcne0s5KwMCVlfkNZBQYKTqXV+eMkmU 6pvKRt9BaTwETCFIOSTArekdU7Ztg2PSPCWJHLrBauj51fd8SeuylN4X/dbBwOX61s k9Cdj31IP9/rw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46kX2V5HwRz6tmN; Thu, 3 Oct 2019 14:12:50 +0200 (CEST) From: Guillaume Le Vaillant Date: Thu, 3 Oct 2019 14:11:31 +0200 Message-Id: <20191003121131.20803-4-glv@posteo.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003121131.20803-1-glv@posteo.net> References: <20191003121131.20803-1-glv@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/machine-learning.scm (sbcl-cl-random-forest, cl-random-forest, ecl-cl-random-forest): New variables. --- gnu/packages/machine-learning.scm | 53 +++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 2b46148095..0189e64467 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1995,3 +1995,56 @@ online linear classification written in Common Lisp.") (define-public ecl-cl-online-learning (sbcl-package->ecl-package sbcl-cl-online-learning)) + +(define-public sbcl-cl-random-forest + (let ((commit "85fbdd4596d40e824f70f1b7cf239cf544e49d51") + (revision "0")) + (package + (name "sbcl-cl-random-forest") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/masatoi/cl-random-forest.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "097xv60i1ndz68sg9p4pc7c5gvyp9i1xgw966b4wwfq3x6hbz421")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("prove" ,sbcl-prove) + ("prove-asdf" ,sbcl-prove-asdf) + ("trivial-garbage" ,sbcl-trivial-garbage))) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("cl-libsvm-format" ,sbcl-cl-libsvm-format) + ("cl-online-learning" ,sbcl-cl-online-learning) + ("lparallel" ,sbcl-lparallel))) + (arguments + `(;; The tests download data from the Internet + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'add-sb-cltl2-dependency + (lambda _ + ;; sb-cltl2 is required by lparallel when using sbcl, but it is + ;; not loaded automatically. + (substitute* "cl-random-forest.asd" + (("\\(in-package :cl-user\\)") + "(in-package :cl-user) #+sbcl (require :sb-cltl2)")) + #t))))) + (synopsis "Random Forest and Global Refinement for Common Lisp") + (description + "Cl-random-forest is an implementation of Random Forest for multiclass +classification and univariate regression written in Common Lisp. It also +includes an implementation of Global Refinement of Random Forest.") + (home-page "https://github.com/masatoi/cl-random-forest") + (license license:expat)))) + +(define-public cl-random-forest + (sbcl-package->cl-source-package sbcl-cl-random-forest)) + +(define-public ecl-cl-random-forest + (sbcl-package->ecl-package sbcl-cl-random-forest))