[−][src]Function lightgbm_sys::LGBM_BoosterGetLeafValue
pub unsafe extern "C" fn LGBM_BoosterGetLeafValue(
handle: BoosterHandle,
tree_idx: c_int,
leaf_idx: c_int,
out_val: *mut f64
) -> c_int
\brief Get leaf value. \param handle Handle of booster \param tree_idx Index of tree \param leaf_idx Index of leaf \param[out] out_val Output result from the specified leaf \return 0 when succeed, -1 when failure happens