• zhangjin's avatar
    Update dataset.cpp (#927) · e66a8a3c
    zhangjin authored
    While in parallel training, when one worker have 0 data, then it will not execute ConstructHistogram.
    if so, ptr_smaller_leaf_hist_data will not be 0 but the old data. that will get the wrong Histogram, and the wrong split info.
    e66a8a3c
dataset.cpp 28.3 KB