Can cost function or gradient descent be a negative value

Can cost function or gradient descent be a negative value, because it shown in a course video.

Cost cannot be negative. If you see that in one of the videos, please post a screen capture image showing the title and time mark.

I don’t understand what you mean by “can gradient descent be a negative value”.

Thank you, actually its not a squared error cost…

As I said, cost cannot be negative - by definition.

1 Like