Research Article

Dynamic Nonparametric Random Forest Using Covariance

Algorithm 4

Covariance Calculation.
(1) procedure COVCALCULATION()
(2) if == then
(3) for  all do
(4) Count either , or from the return
(5) value of Test4Classification(, );
(6) end for
(7) = /(+);
(8) = /(+);
(9) = F_Measure(, );
(10) ;
(11) else
(12) for  all do
(13) for  all do
(14) Count either , or from the return
(15) value of Test4Classification(, );
(16) end for
(17) end for
(18) = /(+);
(19) = /(+);
(20) = F_Measure(, );
(21) ;
(22) ;
(23) = cov(, );
(24) end if
(25) return
(26) end procedure