| Algorithm 2 AUE pseudocode. |
| Input: S: new data chunk |
| K: size of the ensemble |
| C: ensemble of K classifiers |
| Output: C: ensemble of K updated classifiers with updated weights |
| Train new classifier on S; |
| Estimate the weight of based on 4 using cross-validation on S; |
| for do |
| Calculate weight based on 4; |
| end for |
| C ← K classifiers with the highest weights from ; |
| for in C do |
| if and then |
| update with S |
| end if |
| end for |