Research Article
Constructing Better Classifier Ensemble Based on Weighted Accuracy and Diversity Measure
Pseudocode 1
The pseudocode to compute the WAD score.
Input: | (1) Original ensemble with m classifiers: | (2) Validation dataset: | Define: | (1) Classifier predictions: Preds | (2) Ensemble accuracy: Acc | (3) Ensemble diversity: Div | (4) The weight parameters: and | Output: | (1) WAD: ensemble quality score | Begin | (1) For each in ensemble E: | for each invalidation dataset D: | get the jth classifier ’s prediction on and put it in Preds | end for | End For | (2) Compute accuracy Acc of E according to Notation 2 | (3) Compute diversity Div of E according to Notation 4 | (4) Estimate and according to Lemma 2 | (5) Compute the score by | | End; |
|