Gradient Descent, Machine Learning.
negative class as y = 0, while others describe it as y = −1. In this article, I will treat the negative class as y = −1 to be consistent with the lecture notes. We will start by considering just a single sample xᵢ. If this is a positive sample, we want the prediction that it is a positive class to