I am planning to implement a linear regression model with mean squared error as loss function and sigmoid as activation function. My question is whether the objective function will be convex or not?
I know that mse with sigmoid is not convex for a logistic regression.I just wanted to confirm whether it is convex or non-convex for linear regression also.If it is convex,Why?
New contributor
RFW is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.