There are different types of cost functions like Cross-entropy, absolute error, mean squared error.
When can we expect the cost function to be non-convex? Does this depend upon the type of cost function we choose? Or does this depend upon the Model we choose like when we have higher order polynomial Model?