Skip to main content
. 2017 Sep 14;17(9):2113. doi: 10.3390/s17092113
Algorithm 2 Dichotomy mapped forest—Test
Input:  Z (test set), model, Selnodesfeat, map
Output:  Ypre
  • 1:

    for Each node in logic three according to the dichotomy in Figure 3 do

  • 2:

        Znodesel ← select Selnodefeat features in Znode

  • 3:

        mappedZ ← map input Znodesel with map(node)

  • 4:

        [Ynodepre,Cnodes] ← test mappedZ in model(node)

  • 5:

    end for

  • 6:

    [Ypre,Cnodesnorm] ← apply Dichotomy (predictions = Ynodespre, confidence = Cnodes) as Figure 3 & Equation (7)

  • 7:

    boundnodes ← get confidence bound using Cnodesnorm as Equation (9)

  • 8:

    if Cnodenorm < boundnode then

  • 9:

        Ypre ← check logic filter as in (11)

  • 10:

    end if