A binary classifier using f (x; θ) outputs a predicted class label assignmentŷ for x asŷ (n)  An LRM is a binary classifier that uses the discriminative function f (x; θ).
in this model, the class posterior probability distribution is defined by using a logistic function: P (y = 1|x; θ) = g(f (x; θ)) and P (y = 0|x; θ) = 1 − P (y = 1|x; θ) = g(−f (x; θ)).