Function xgboost_sys::XGBoosterDumpModelEx
source · pub unsafe extern "C" fn XGBoosterDumpModelEx(
handle: BoosterHandle,
fmap: *const c_char,
with_stats: c_int,
format: *const c_char,
out_len: *mut bst_ulong,
out_dump_array: *mut *mut *const c_char
) -> c_int
Expand description
\brief dump model, return array of strings representing model dump \param handle handle \param fmap name to fmap can be empty string \param with_stats whether to dump with statistics \param format the format to dump the model in \param out_len length of output array \param out_dump_array pointer to hold representing dump of each model \return 0 when success, -1 when failure happens