Function xgboost_sys::XGDMatrixGetFloatInfo
source · pub unsafe extern "C" fn XGDMatrixGetFloatInfo(
handle: DMatrixHandle,
field: *const c_char,
out_len: *mut bst_ulong,
out_dptr: *mut *const f32
) -> c_int
Expand description
\brief get float info vector from matrix \param handle a instance of data matrix \param field field name \param out_len used to set result length \param out_dptr pointer to the result \return 0 when success, -1 when failure happens