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