Get label set and iterate it to compute CHI value.