Subject: [bug#31432] [PATCH 2/2] gnu: Add vowpal-wabbit.

From: Fis Trivial <[email-masked]>
Date: Sat, 12 May 2018 15:22:01 +0000

* gnu/packages/machine-learning.scm (vowpal-wabbit): New variable.
---
 gnu/packages/machine-learning.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index ac4fa8129..57e308e66 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -780,3 +780,33 @@ the following advantages:
 @item Capable of handling large-scale data
 @end itemize\n")
     (license license:expat)))
+
+(define-public vowpal-wabbit
+  ;; Language bindings not included.
+  (package
+    (name "vowpal-wabbit")
+    (version "8.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/JohnLangford/vowpal_wabbit/archive/"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "0clp2kb7rk5sckhllxjr5a651awf4s8dgzg4659yh4hf5cqnf0gr"))
+              (file-name (string-append name "-" version ".tar.gz"))))
+    (inputs
+     `(("boost" ,boost)
+       ("zlib" ,zlib)))
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-boost="
+                            (assoc-ref %build-inputs "boost")))))
+    (build-system gnu-build-system)
+    (home-page "https://github.com/JohnLangford/vowpal_wabbit")
+    (synopsis "Machine learning system which pushes the frontier of machine
+learning")
+    (description "Vowpal Wabbit is a machine learning system which pushes the
+frontier of machine learning with techniques such as online, hashing,
+allreduce, reductions, learning2search, active, and interactive learning. ")
+    (license license:bsd-3)))
-- 
2.14.3