docs: protected Pair[] getHalf(boolean bestHalf){
      	
      	Pair[] newEnsembleWeights = new Pair[getNbAdaptiveClassifiers()];
      	System.arraycopy(ensembleWeights, 0, newEnsembleWeights, 0, newEnsembleWeights.length);
      	
      	if (bestHalf)
      		Arrays.sort(newEnsembleWeights,Collections.reverseOrder());
      	else
      		Arrays.sort(newEnsembleWeights);
      		
      	Pair[] result = new Pair[(int)Math.floor(newEnsembleWeights.length/2)];
      	System.arraycopy(newEnsembleWeights, 0, result, 0, result.length);
      	
      	return result;
      }