[−][src]Function lightgbm_sys::LGBM_BoosterRefit
pub unsafe extern "C" fn LGBM_BoosterRefit(
handle: BoosterHandle,
leaf_preds: *const i32,
nrow: i32,
ncol: i32
) -> c_int
\brief Refit the tree model using the new data (online learning).
\param handle Handle of booster
\param leaf_preds Pointer to predicted leaf indices
\param nrow Number of rows of leaf_preds
\param ncol Number of columns of leaf_preds
\return 0 when succeed, -1 when failure happens