add confidence to classification