No intercept should be included unless the ordering of the two teams has an external meaning such as home advantage. If
then reversing the teams gives , so the logistic model automatically gives
An intercept would not change sign when the teams are swapped and would violate this required symmetry. Thus an intercept does not make sense in the stated model.
For word-count vector , the fitted logistic model is
Holding other counts fixed, one additional occurrence of "dollar" multiplies the fitted spam odds by .
The logistic classifier is
The coefficients maximize the Bernoulli logistic-regression model likelihood over the training emails.