Function xgboost_sys::XGDMatrixCreateFromDataIter
source · pub unsafe extern "C" fn XGDMatrixCreateFromDataIter(
data_handle: DataIterHandle,
callback: XGBCallbackDataIterNext,
cache_info: *const c_char,
out: *mut DMatrixHandle
) -> c_int
Expand description
\brief Create a DMatrix from a data iterator. \param data_handle The handle to the data. \param callback The callback to get the data. \param cache_info Additional information about cache file, can be null. \param out The created DMatrix \return 0 when success, -1 when failure happens.