From 437b368b1fecf14a17508b258ec9cd2761d9ea0e Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Wed, 1 Aug 2018 15:15:40 -0700 Subject: [PATCH] Update dmlc-core submodule (#3546) This bring many goodies, including: * Ability to specify delimiter and weight_column for CSV files: ```python dtrain = xgboost.DMatrix('train.csv?format=csv&label_column=0&weight_column=1&delimiter= ') ``` * Ability to choose between 0-based and 1-based indexing for LIBSVM/LIBFM files: ```python dtrain = xgboost.DMatrix('train.libsvm?indexing_mode=1') # use 1-based indexing dtest = xgboost.DMatrix('test.libsvm') # use 0-based indexing (default) dtest2 = xgboost.DMatrix('test2.libsvm?indexing_mode=-1') # use heuristic to detect 0-based / 1-based ``` * Fix a bug in float parsing (issue dmlc/dmlc-core#440) --- dmlc-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmlc-core b/dmlc-core index 459ab734d..f2afdc778 160000 --- a/dmlc-core +++ b/dmlc-core @@ -1 +1 @@ -Subproject commit 459ab734d15acd68fd437abf845c7c1730b5a38f +Subproject commit f2afdc7788ee8ed6fd06cc095b6838d4ce61bb5a