public static double countOnes(double[] nums) {
		int count = 0;
		for (double num : nums) {
			if (num == 1.0) {
				count += 1;
			}
		}

		// Return the negation of the count so we can still choose a hypothesis
		// by the max
		return -count;
	}