if (bComptuteMeanDist){
int cpt = 0;
for (int i=0; i < files.size(); i++ ){
for (int j = i + 1; j < files.size(); j++ ){
distmean += gaussKernel.distChi2(bow.get(i).get(0), bow.get(j).get(0));
cpt++;
}
}
distmean = distmean / ((double)cpt);
if (distmean < Double.MIN_VALUE)