[][src]Function lightgbm_sys::LGBM_BoosterGetCurrentIteration

pub unsafe extern "C" fn LGBM_BoosterGetCurrentIteration(
    handle: BoosterHandle,
    out_iteration: *mut c_int
) -> c_int

\brief Get index of the current boosting iteration. \param handle Handle of booster \param[out] out_iteration Index of the current boosting iteration \return 0 when succeed, -1 when failure happens