I just wanted to know is the of squared error cost function always convex (shape of a bowl)
Or that applies only for linear regression?
- Yes, the squared-error cost function is always convex.
- We only use that cost function for linear regression.
I just wanted to know is the of squared error cost function always convex (shape of a bowl)
Or that applies only for linear regression?