Function xgboost_sys::XGBoosterCreate
source · pub unsafe extern "C" fn XGBoosterCreate(
dmats: *const DMatrixHandle,
len: bst_ulong,
out: *mut BoosterHandle
) -> c_int
Expand description
\brief create xgboost learner \param dmats matrices that are set to be cached \param len length of dmats \param out handle to the result booster \return 0 when success, -1 when failure happens