Function xgboost_sys::XGDMatrixSetUIntInfo
source · pub unsafe extern "C" fn XGDMatrixSetUIntInfo(
handle: DMatrixHandle,
field: *const c_char,
array: *const c_uint,
len: bst_ulong
) -> c_int
Expand description
\brief set uint32 vector to a content in info \param handle a instance of data matrix \param field field name \param array pointer to unsigned int vector \param len length of array \return 0 when success, -1 when failure happens