Hello All,

When we do the prediction on glm model we get the probabilities, suppose for first record I got the probability of 0.7 and my class labels are: spam and no-spam.

How would I know that this predicted probability 0.7 belong to which class.

does it mean 70% chances of being spam or no-spam, and why ?

which class does it predict by default ?