Skip to main content
. 2021 Jan 30;21(3):930. doi: 10.3390/s21030930
Algorithm 1:Exact Greedy Algorithm for Split Finding.
Input: I, instance set of the current node
Input: d, feature dimension
gain0
GiIgi,HiIhi
for k=1 to m do
GL0,HL0
for j in sorted(I,by xjk) do
                                               GLGL+gj,HLHL+hj
                                               GRGGL,HRHHL
                                 scoremax(score,GL2HL+λ+GR2HR+λG2H+λ)
end
end
Output: Split with max score