@Override
	public Label predict(Instance instance) {
		// TODO Auto-generated method stub
		
		int feaIndex =0;
		int result = -1;
		double minDistance = Double.MAX_VALUE;
		for (Cluster cluster : clusters) {
			double dis = MathUtilities.SquaredL2Distance(cluster.getFeatureVector(), instance);
			if (dis < minDistance) {
				minDistance = dis;
				result = feaIndex;
			}
			feaIndex ++;
		}
		return new ClassificationLabel(result);	}