Concepts
Cost function: It is used to measure the accuracy of a predictive
model. It takes an average difference of all the results predicted by the model
with inputs from x's (features or explanatory variables) and the actual output
y's. (Week 1 of Andrew Ng’s class)
Regularization: It is added in the cost function to put some
penalty on parameters of a model. It is used to prevent overfitting. (Week 3)
Gradient descent: It is a method to find the local minimum of a
function with respect to some parameters. It is used in machine learning to
find the best parameters in the model. (Week 1)
