Computing prior probability and including that in batch label propagation.