From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#37597] [PATCH 3/4] gnu: Add cl-online-learning. Resent-Message-ID: From: Guillaume Le Vaillant Date: Thu, 3 Oct 2019 14:11:30 +0200 Message-Id: <20191003121131.20803-3-glv@posteo.net> In-Reply-To: <20191003121131.20803-1-glv@posteo.net> References: <20191003121131.20803-1-glv@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37597@debbugs.gnu.org Cc: Guillaume Le Vaillant * 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)) -- 2.23.0