Why is logistic regression a linear classifier? Since we are using the logistic function to transform a linear combination of the input into a non-linear output, how can logistic regression be considered a linear classifier?
Linear regression is just like a neural network without the hidden layer, so why are neural networks considered non-linear classifiers and logistic regression is linear?
 A: Logistic regression is linear in the sense that the predictions can be written as
$$ \hat{p} = \frac{1}{1 + e^{-\hat{\mu}}}, \text{ where } \hat{\mu} = \hat{\theta} \cdot x. $$
Thus, the prediction can be written in terms of $\hat{\mu}$, which is a linear function of $x$. (More precisely, the predicted log-odds is a linear function of $x$.)
Conversely, there is no way to summarize the output of a neural network in terms of a linear function of $x$, and that is why neural networks are called non-linear.
Also, for logistic regression, the decision boundary $\{x:\hat{p} = 0.5\}$ is linear: it's the solution to $\hat{\theta} \cdot x = 0$. The decision boundary of a neural network is in general not linear.
A: It we have two classes, $C_{0}$ and $C_{1}$, then we can express the conditional probability as,
$$
P(C_{0}|x) = \frac{P(x|C_{0})P(C_{0})}{P(x)}
$$
applying the Bayes' theorem,
$$
P(C_{0}|x) = \frac{P(x|C_{0})P(C_{0})}{P(x|C_{0})P(C_{0})+P(x|C_{1})P(C_{1})}
= \frac{1}{1+ \exp\left(-\log\frac{P(x|C_{0})}{P(x|C_{1})}-\log \frac{P(C_{0})}{P(C_{1})}\right)}
$$
the denominator is expressed as $1+e^{\omega x}$.
Under which conditions reduces the first expression to a linear term?.
If you consider the exponential family (a canonical form for the exponential distributions like Gauß or Poisson),
$$
P(x|C_{i}) = \exp \left(\frac{\theta_{i} x -b(\theta_{i})}{a(\phi)}+c(x,\phi)\right)
$$
then you end up having a linear form,
$$
\log\frac{P(x|C_{0})}{P(x|C_{1})} = \left[ (\theta_{0}-\theta_{1})x - b(\theta_{0})+b(\theta_{1}) \right]/a(\phi)
$$
Notice that we assume that both distributions belong to the same family and have the same dispersion parameters. But, under that assumption, the logistic regression can model the probabilities for the whole family of exponential distributions.
A: As Stefan Wagner notes, the decision boundary for a logistic classifier is linear.  (The classifier needs the inputs to be linearly separable.)  I wanted to expand on the math for this in case it's not obvious.  
The decision boundary is the set of x such that
$${1 \over {1 + e^{-{\theta \cdot x}}}} = 0.5$$
A little bit of algebra shows that this is equivalent to
$${1 = e^{-{\theta \cdot x}}}$$ 
and, taking the natural log of both sides,
$$0 = -\theta \cdot x = -\sum\limits_{i=0}^{n} \theta_i x_i$$
so the decision boundary is linear.
The reason the decision boundary for a neural network is not linear is because there are two layers of sigmoid functions in the neural network: one in each of the output nodes plus an additional sigmoid function to combine and threshold the results of each output node.
