Dmatrix from directory

I’m trying to pass into Dmatrix a directory and found problem that amount of labels is not equal to the amount of lines in file

  • In the directory there are two files

first number - amount of labels
second - amount of lines

236062
236063
  • but in the case when I try to pass files by one file into Matrix all is ok
    I have this output
    (first number - amount of labels
    second - amount of lines)
    for each file in the directory above
train.22.txt
109819
109819
train.25.txt
126244
126244

You should upgrade to version 0.72.1. There was a bug fix related to multi-file LIBSVM/CSV: https://github.com/dmlc/dmlc-core/pull/385, https://github.com/dmlc/dmlc-core/pull/389

Thanks for you comment)))