write probabilities for each potential class