unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 48388@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#48388] [PATCH 1/3] gnu: Add dmlc-core.
Date: Wed, 12 May 2021 23:58:42 +0000	[thread overview]
Message-ID: <20210512235844.516970-1-monego@posteo.net> (raw)
In-Reply-To: <20210512235649.516594-1-monego@posteo.net>

* gnu/packages/machine-learning.scm (dmlc-core): New variable.
---
 gnu/packages/machine-learning.scm | 32 +++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 837ebbba67..9d6c5505f7 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1927,6 +1927,38 @@ together building blocks and a subclassing API with an imperative style for
 advanced research.")
     (license license:asl2.0)))
 
+(define-public dmlc-core
+  ;; Version 0.4 is too old for xgboost.
+  (let ((version "0.5")
+        (commit "f00e3ec7abc9f293a1b7061157b0a4e22a735cf5")
+        (revision "0"))
+    (package
+      (name "dmlc-core")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/dmlc/dmlc-core")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1x4ad1jhn84fywlk031fmv1kxyiscclmrqn9hhj8gz0mh7z9vcrh"))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:configure-flags
+         (list "-DGOOGLE_TEST=ON")))
+      (native-inputs
+       `(("googletest" ,googletest)
+         ("python" ,python-wrapper)))
+      (home-page "https://github.com/dmlc/dmlc-core")
+      (synopsis "Common bricks library for machine learning")
+      (description
+       "DMLC-Core is the backbone library to support all DMLC projects,
+offers the bricks to build efficient and scalable distributed machine
+learning libraries.")
+      (license license:asl2.0))))
+
 (define-public python-iml
   (package
     (name "python-iml")
-- 
2.31.1





  reply	other threads:[~2021-05-13  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-12 23:56 [bug#48388] [PATCH 0/3] Add xgboost Vinicius Monego
2021-05-12 23:58 ` Vinicius Monego [this message]
2021-05-12 23:58   ` [bug#48388] [PATCH 2/3] gnu: " Vinicius Monego
2021-05-12 23:58   ` [bug#48388] [PATCH 3/3] gnu: Add python-xgboost Vinicius Monego
2021-05-13 15:29 ` [bug#48388] [PATCH v2 2/3] gnu: Add xgboost Vinicius Monego
2021-05-13 15:29   ` [bug#48388] [PATCH v2 3/3] gnu: Add python-xgboost Vinicius Monego
2021-06-27 17:30 ` [bug#48388] [PATCH v3 1/3] gnu: Add dmlc-core Vinicius Monego
2021-06-27 17:30   ` [bug#48388] [PATCH v3 2/3] gnu: Add xgboost Vinicius Monego
2021-06-27 17:30   ` [bug#48388] [PATCH v3 3/3] gnu: Add python-xgboost Vinicius Monego
2021-06-27 23:11 ` [bug#48388] [PATCH v4 " Vinicius Monego
2021-09-25 19:36 ` [bug#48388] [PATCH v5 1/3] gnu: Add dmlc-core Vinicius Monego
2021-09-25 19:36   ` [bug#48388] [PATCH v5 2/3] gnu: Add xgboost Vinicius Monego
2021-09-25 19:36   ` [bug#48388] [PATCH v5 3/3] gnu: Add python-xgboost Vinicius Monego
2021-09-25 20:14   ` bug#48388: [PATCH v5 1/3] gnu: Add dmlc-core Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210512235844.516970-1-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=48388@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).