The intuition is that, when the ensemble is not certain of the correct answer, it should not assign a large cost to implausible attachments.
hamming cost would assign a cost of 1 (column labeled "hamming") in all incorrect cases.