Update the C API comments (#6457)
Signed-off-by: Hao Ziyu <haoziyu@qiyi.com> Co-authored-by: Hao Ziyu <haoziyu@qiyi.com>
This commit is contained in:
@@ -98,7 +98,7 @@ XGB_DLL int XGDMatrixCreateFromFile(const char *fname,
|
|||||||
* \param data fvalue
|
* \param data fvalue
|
||||||
* \param nindptr number of rows in the matrix + 1
|
* \param nindptr number of rows in the matrix + 1
|
||||||
* \param nelem number of nonzero elements in the matrix
|
* \param nelem number of nonzero elements in the matrix
|
||||||
* \param num_col number of columns; when it's set to 0, then guess from data
|
* \param num_col number of columns; when it's set to kAdapterUnknownSize, then guess from data
|
||||||
* \param out created dmatrix
|
* \param out created dmatrix
|
||||||
* \return 0 when success, -1 when failure happens
|
* \return 0 when success, -1 when failure happens
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user