|
Algorithm 3 Pseudocode of imbalanced metric-driven models based on AWE. |
|
Input: S: new data chunk |
| C: ensemble of classifiers |
| K: size of the ensemble |
|
Output: C: ensemble of classifiers with updated weights |
| X ← sampled S |
| Train new classifier on X; |
| Estimate weight of with cross-validation on S based on (5), (6) or (7); |
| for
in C do
|
| Calculate weight of on S based on (5), (6) or (7); |
| end for
|
| C ← K classifiers with the highest weights from ; |
| for
in C do
|
|
|
| end for
|
| return C; |