h(x) = 1, y = 0. What is the cost (h(x), y)?
h(x) = 1, y = 0. What is the cost (h(x), y)? Correct Answer infinite
The cost function determines the similarity between the actual output and the calculated output. The lesser the similarity, the higher is the cost function. It is maximum (infinite) when h(x) and y are the exact opposite.