y = 1. How does cost(h(x), y) change with h(x)?
y = 1. How does cost(h(x), y) change with h(x)? Correct Answer cost(h(x), y) = 0 when h(x) = 1
Since, the actual output is 1, the calculated output tending toward 1 will reduce the cost function. Thus cost function is 0 when h(x) is 1 and it is infinite when h(x) = 0.
মোঃ আরিফুল ইসলাম
Feb 20, 2025