Skip to main content
. 2016 Aug 23;6(3):36. doi: 10.3390/brainsci6030036
Begin: set Y0={0}
   L1: while x+=argmaxx+Yk[J(Yk+x+)] —select the next best feature
     If J(Yk+x+)>J(Yk)
   Yk+1=Yk+x+;k=k+1
     End if
   L2: while x=argmaxxYk[J(Ykx)] —remove the worst feature
     If J(Ykx)>J(Yk)
   Yk+1=Ykx;k=k+1
     End if
End