Representative trees from ensembles