This corresponds to the assumption, that the probability of
each class is \(p(c|\mathbf {w}) = \mathop {\mathrm {Ber}}\nolimits (c|\mathop {\mathrm {sigm}}\nolimits (\mathbf {w}\cdot \mathbf {x}))\) 
and can easily be extended to incorporate some prior on \(\mathbf {w}\) ,
\(p(c|\mathbf {w}) = \mathop {\mathrm {Ber}}\nolimits (c|\mathop {\mathrm {sigm}}\nolimits (\mathbf {w}\cdot \mathbf {x}))\, p(w)\)  [1]}.
