[][src]Function lightgbm_sys::LGBM_DatasetCreateByReference

pub unsafe extern "C" fn LGBM_DatasetCreateByReference(
    reference: DatasetHandle,
    num_total_row: i64,
    out: *mut DatasetHandle
) -> c_int

\brief Allocate the space for dataset and bucket feature bins according to reference dataset. \param reference Used to align bin mapper with other dataset \param num_total_row Number of total rows \param[out] out Created dataset \return 0 when succeed, -1 when failure happens