Closed Liu-Delin closed 3 years ago
This fix is a following change of https://github.com/ShifuML/shifu/pull/739.
We cannot calculate non-segment column amount by below expression. Because we don't have any segment column in config when we do shifu init.
shifu init
nonSegmentColumnAmount = columnAmountInConfig / (1+segmentSize)
Therefore, I add a new field in column config to mark the column as segment or not.
I manually tested init, stats, norm and train.
init
stats
norm
train
Description
This fix is a following change of https://github.com/ShifuML/shifu/pull/739.
We cannot calculate non-segment column amount by below expression. Because we don't have any segment column in config when we do
shifu init
.Therefore, I add a new field in column config to mark the column as segment or not.
Tests
I manually tested
init
,stats
,norm
andtrain
.