Function xgboost_sys::XGBoosterDumpModel[][src]

pub unsafe extern "C" fn XGBoosterDumpModel(
    handle: BoosterHandle,
    fmap: *const c_char,
    with_stats: c_int,
    out_len: *mut bst_ulong,
    out_dump_array: *mut *mut *const c_char
) -> c_int

\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 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