Machine Learning, Data Science, Artificial Intelligence, Mathematics, Theory.
regression Now, we know that this is a binary classification problem. So, there can be only two possible values for Yi (0 or 1). Step — 1: The value of cost function when Yi=0. Figure — 32: Mean Squared Error for logistic regression when Y=0 Step — 2: The value of the cost function when Yi=1.