Logistic regression models p(C1 | x) = σ(wTx) directly. The log likelihood is concave, and Newton–Raphson turns into iterative reweighted least squares: w ← (ΦTRΦ)−1ΦTRz. If the classes are separable the likelihood has no maximum and |w| grows without bound; a Gaussian prior (the Laplace approximation to the posterior is then a Gaussian N(wMAP, SN)) keeps it finite, and integrating over it with the probit approximation gives the predictive probability σ(κ(σa2)μa), which is less confident than the MAP plug-in far from the data.
code/ch04_linear_classification.py (functions irls_logistic, probit_irls, laplace_1d, laplace_logistic, bayes_predictive; Figures 4.9, 4.13, 4.14) and the checks in code/checks_ch04.py.