public static double informationGainRatio(String attribute,
			ArrayList<HashMap<String, String>> examples,
			HashMap<String, String[]> attributeValues, String goalAttribute) {
		double iv = intrinsicValue(attribute, examples, attributeValues);
		if (iv == 0) {
			return 1;
		}
		return informationGain(attribute, examples, attributeValues,
				goalAttribute)
				/ intrinsicValue(attribute, examples, attributeValues);
	}