Ensemble reduction using cluster analysis