private void updateCenter(int classid, HashSparseVector vector) {
int count = classCount.get(classid);
classCount.set(classid, count+1);
HashSparseVector vectorcenter = classCenter.get(classid);
updateBaseDist(classid, vector);
vectorcenter.plus(vector);
// vectorcenter.scaleDivide((float)count / (float)(count+1));
}
private void updateBaseDist(int classid, HashSparseVector vector) {
float base = baseDistList.get(classid);