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