show that $f(w) = \sum_{i=1}^N (\frac{1}{1+e^{-w^Tx_i}} - t_i)$ is not convex

35 Views Asked by At

I am studying logistic regression and in my book it says that using Hessian we can show that $f(w) = \sum_{i=1}^N (\frac{1}{1+e^{-w^Tx_i}} - t_i)$ is not convex. Both $x$ and $t$ are N-Vectors, and $t_i \in \{0,1 \}$. But I dont know how can I show that $min f(w)$ is not a convex optimization problem.