Skip to main content
. 2023 Jan 29;25(2):245. doi: 10.3390/e25020245
Algorithm 3: ADTree with Adaboost
Input: Training Dataset -D
  1. Process of Initialization
      1.a Set wi,t = 0 = 1/n i and Pt=1 = {true}
      1.b First DT rule r0(x): { if (true) then [if (true)α0 = 12 ln (W+(true)W(true)) else 0] else 0}
1.c Update wi,t = 1 = wi,t = 0 exp(-r0 (x(i)) y(i))
2. Do it again for boosting cycle t = 1:T
2.1 For every pre-condition C1 Pt and each condition C2C, evaluate
Z(c1, c2)=2(W+(c1c2)W(c1c2) + W+(c1¬c2)W(c1¬c2)+ W(¬c2)
    2.1 Compute αt+ and αt for the selected c1 and α1 that minimizes Z with δ = 1
 
αt+ = 12 ln (W+(c1  c2 )+δ  W(c1  c2 )+δ ), αt = 12 =l n(W+(c1 ¬c2 )+δ  W(c1 ¬c2 )+δ )
    2.2 Update Pt+1: Pt  { c1  c2, c1 ¬c2}
    2.3 Update Wi,t+1 = Wi,t exp(- rt (x(i)) y(i))
Output: F(x) = t=1Tr1(x)