Skip to main content
. 2020 Jul 31;22(8):849. doi: 10.3390/e22080849
Algorithm 1 AWE pseudocode.
Input: S: new data chunk
 K: size of the ensemble
 C: ensemble of K classifiers
Output: C: ensemble of K classifiers with updated weights
 Train new classifier C with S;
 Calculate weight of C based on 1 using cross-validation on S;
for Ci in C do
  Calculate weight of wi based on 1
end for
 C ← K classifiers with highest weights from CC;
return C;