Overfitting Underfitting, High Brass, Addressing Overfitting, Logistic Regression.
over fitting comes when if we have too many features, then to learn hypothesis may fit the training side very well. So, your cost function may actually be very close to zero or may be even zero exactly, but you may then end up with a curve like this that, you know tries too hard to fit the training