dmlc / dmlc/dmlc-core

data type of label is DType? it should be real_t?

Open
#405 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
878
Forks
526
Avg merge
12d 19h
Merged PRs (30d)
1

Description

there existed some problem in source file dmlc-core/src/data/row_block.h
```
struct RowBlockContainer {
/*! \brief array[size+1], row pointer to beginning of each rows */
std::vector offset;
/*! \brief array[size] label of each instance */
std::vector label;
/*! \brief array[size] weight of each instance */
std::vector weight;
/*! \brief array[size] session-id of each instance */
std::vector qid;
/*! \brief field index */
std::vector field;
/*! \brief feature index */
std::vector index;
```
the data type of label is real_t
@eric-haibin-lin

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.